

er_scripts creating /Users/rishi/.virtualenvs/premkproject The following messages were generated, and now I seem to be good, I can use the workon command for example. I copied the file from Anandonda to the main folder as explained above, and then ran this. Or please simply let me know the steps I should follow as I don't want to mess anything up, if I haven't already!
#Usr/local/bin/virtualenvwrapper.sh no such file or directory how to
Or if I should install again using sudo then please let me know how to uninstall virtualenvwrapper (that I just installed) so I can re-install it,.just copying the Anaconda virtualenvwrapper.sh file as suggested?.I'm super confused - I never was good with server/installing stuff so I'd really appreciate guidance on how/what to install correctly in order to get my virtual environment working, and then hopefully I can use Django. should I have run the following? sudo pip install virtualenvwrapper It also seems like I should have done this with sudo - i.e. Searching online, one person recommended to copy the virtualenvwrapper.sh from the one directory to the /usr/local/bin/ directory. Note I have Anaconda installed for some (previous) learning. Users/rishi/anaconda3/bin/virtualenvwrapper.sh bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directoryĪfter searching online, a forum post recommended that I run: Once I run $ source ~/.bash_profile on terminal, I am presented with this error: Source /usr/local/bin/virtualenvwrapper.sh I then had to follow the "shell startup" guidelines which mentioned adding these lines to be shell startup file: export WORKON_HOME=$HOME/.virtualenvs Successfully installed pbr-4.0.2 stevedore-1.28.0 virtualenv-15.2.0 virtualenv-clone-0.3.0 virtualenvwrapper-4.8.2 Installing collected packages: virtualenv-clone, pbr, stevedore, virtualenv, virtualenvwrapper Requirement already satisfied: six>=1.10.0 in /Users/rishi/anaconda3/lib/python3.6/site-packages (from stevedore->virtualenvwrapper) I first ran pip install virtualenvwrapper A video I am watching recommends installing virtualenvwrapper so I just tried this, following these instructions: I want to install Django but it first recommends a virtualenv / virtualenvwrapper. Non-judicious use of root risks destroying your system with ordinary human typographic mistakes.which newer users make frequently.I'm a bit of a newbie to Python and definitely to virtual environments and Django. Run away from any instructions for new users to use root in Ubuntu. One more thing: Since the first command worked, that seems to indicate that you are using root instead of sudo. Exactly what the command does, and exactly what each element of the command does.

It's wise to avoid magic shell incantations until you understand: Since this is outside your /home directory, you must prepend sudo.

Use mv to restore your php: mv /usr/bin/php.old /usr/bin/php. You were supposed to change that to reflect the REAL path to php. There is no such path as '/path/to/php/'. The other three commands did nothing because you entered nonsense. That's why the system cannot find 'php' anymore - it's called something else now. The first one simply renamed 'php' to 'php.old'.
