Over the past few days, some users have informed us that the mkvirtualenv command could not be found.
Approved: Fortect
Since I was just flirting, I will try to create posts that have an answer that I would have liked a few hours ago. This is for people who don’t just want a copy and paste solution
First of all, ask yourself why copying and pasting sidewalksworks for some people but not for others? ** The main reason for different solutions is different versions of Python, 2.x or 3.x. Because of virtualenv and virtualenvwrapper, there are actually different versions that sometimes work with Python 2 or 3. If you are still using Python 2, do this:
sudo pip buy virutalenvsudo pip install virtualenvwrapper
If you plan on using Python, install the latest 3 linked versions of Python 3
sudo pip Install third virtual envsudo pipInstall 3 virtualenvwrapper
You have successfully set the options for your version of Python and are almost done, right? Well, try it. Enter workon
into the terminal. Your terminal should not be able to find the admin ( workon
is a command from virtualenvwrapper). Of course there is no education. Is workon
an executable, which is apparently only available if you download / upload the virtualenvwrapper.sh
file, right? Just open your .And bash_profile and paste the following, this is only in the documentation:
$ sudo pip upload virtualenvwrapper.Now create a directory to back up your virtual environment.Now,To do this, first copy the line written in the next few paragraphs, then run $ nano .bashrc. Now paste them at the end in the direction of the script.Now runFinally trot to reload the .bashrc,
Export WORKON_HOME = $ HOME / .virtualenvsexport PROJECT_HOME = $ HOME / Expandsource /usr/local/bin/virtualenvwrapper.sh
Specialbut it is useful to get source /usr/local/bin/virtualenvwrapper.sh
as the command line seems to load the desired content which contains virtualenvwrapper.sh
all the commands you want to work like workon
and mkvirtualenv
. But no, no. If you follow the authorized installation guide, you will most likely receive the following first item error: Command mkvirtualenv: not found
. Even so, no command can be found and you get frustrated all the time. So what’s the problem here? The problem is that virtualenvwrapper that.sh is wrong. A little reminder … Here you are looking for / usr / local / bin / virtualenvwrapper:
source.sh
But there is a fairly easy way to find the file you want in the future. Just type
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
your virtual envwrapper
on the terminal. This will force your company to look for the