Mac Pro Terminal - problem with access to the HD resources.

I've just successfully installed Virtualenv (for Python) on my Mac Pro Terminal (sudo pip3.6 install virtualenv). Trying to open it I am receiving the following system answer: zsh: command not found: virtualenv. Trying to localize it on the HD I used 'whereis' command (mars@MacBook-Pro-Marek ~ % whereis virtualenv) but unfortunately the system response is...null: mars@MacBook-Pro-Marek ~ % . I found virtualenv on HD with the Finder ( the path: /Library/Frameworks/Python.framework/Versions/3.6/bin/virtualenv) but can't open it on Terminal. I am a beginner on Mac OS. Can anybody help me?

Posted on Dec 20, 2019 11:13 AM

Reply

Similar questions

2 replies

Dec 21, 2019 1:55 PM in response to Zopoth

Since no one has responded yet I will offer a little bit of guidance since I'm not sure how this should be handled with macOS. Catalina is using a different default shell (zsh) compared to previous versions of macOS (bash). I'm guessing the software may not have been updated for Catalina. You probably just need to update the PATH variable, but I'm not sure if this is all that is needed. In the mean time you can try using the complete path to "virtualenv" to launch the software. You may want to contact the developer of Virtualenv for support or check out their website for installation troubleshooting and advice.


As an after thought, does this software require administrator privileges to launch?

Dec 21, 2019 2:13 PM in response to Zopoth

zsh: command not found: virtualenv



You can always change shells, to see if that makes a difference


To change shells, for ex. bash:

chsh -s /bin/bash




Maybe there is more to be found, support Virtualenv — virtualenv 16.7.9 documentation


https://www.andreagrandi.it/2018/12/19/installing-python-and-virtualenv-on-osx/


Where do I find Python? https://discussions.apple.com/thread/8363465

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mac Pro Terminal - problem with access to the HD resources.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.