Questions tagged [virtualenvwrapper]
virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool.
34
questions
25
votes
5
answers
41k
views
Python virtualenvwrapper problem running the initialization hooks
On a fresh install of 16.04, I am trying to install virtualenvwrapper by following this great answer by Gerhard Burger.
after configuring the .bashrc, whenever opening the terminal displays
bash: /...
10
votes
3
answers
6k
views
Virtualenv installs envs into local/bin instead of bin
Problem:
The bin directory of my virtual environment produced with virtualenvwrapper (which uses virtualenv under the hood) is located in the subfolderlocal instead which leads to breakage across the ...
8
votes
2
answers
17k
views
Clean uninstall of virtualenv and virtualenvwrapper
Since I do not use them at this time I tried to uninstall virtualenv and virtualenvwrapper via the Ubuntu Software Center. Now whenever I open a console I get the following error message:
Traceback (...
7
votes
1
answer
9k
views
Virtualenv permission denied
After a lot of struggle with virtualenv/virtualenvwrapper I decided to remove all virtualenvs and re-install the packages.
root> su myuser
myuser> sudo pip install virtualenv
myuser> sudo ...
4
votes
1
answer
5k
views
"/usr/bin/python: No module named virtualenvwrapper" error when opening terminal
I'm using Ubuntu 20.04 (clean installation, I did not upgrade from a previous one) and when I open a new terminal (simply by Ctrl+Alt+T), it always starts with the output shown below (also shown in ...
3
votes
1
answer
275
views
Why does bash-completion not load virtualenvwrapper?
Ubuntu 19.10 seems to have what feels like a somewhat non-standard virtualenvwrapper package which is causing me issues. But it does seem more sensible to install pip, virtualenv and virtualenvwrapper ...
3
votes
0
answers
1k
views
How do I 'workon' a Python virtualenv in Byobu windows configuration?
I'm trying to configure Byobu that it will start with a few windows ready in my Python virtualenvwrapper project directory. The only thing that needs to be run is the command workon myvirtualenvname.
...
2
votes
1
answer
698
views
pandas 0.24.2 not getting installed in virtual environment without sudo
cat requirements.txt
requests==2.22.0
pandas==0.24.2
I was getting a whole lot of errors. This was permission problem.
When I did sudo pip3 install -r requirements.txt there were no errors and ...
2
votes
1
answer
7k
views
Installation issues for Virtualenv and VirtualenvWrapper in 13.04
Ubuntu Server in VirtualBox. I am trying to install VirtualEnv to start learning Flask and bottle.
Some details of my setup.
vks@UbSrVb:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="12.04.2 LTS, ...
2
votes
1
answer
5k
views
Editting Bash Profile Ubuntu 18.04 LTS [duplicate]
I've been trying to work out how to edit the bash profile for the login shell in Ubuntu 18.04. Being new to linux and the forum being my friend, i found that it is located in .profile as oppose to ...
2
votes
2
answers
3k
views
"Python could not import the module virtualenvwrapper.hook_loader"
I've been trying to use OpenCV and following this tutorial where they decided to use virtualenvs but this isn't working out for me, and other similar questions aren't helping. Using 16.04 LTS
I ...
2
votes
1
answer
8k
views
Python Pip Permissions
I deleted Python on 14.04, woops! It was 4am and I can't remember why I was doing this. So I re-installed it and all and it works, except for some of that good old virtualenvwrapper.
I've searched ...
2
votes
0
answers
1k
views
Python virtualenv problem after Ubuntu 20.04 upgrade
I updated my system to Ubuntu 20.04
I already had Python 3.6.7 running with virtualenv and virtualenvwrapper for my python virtual environment.
After the update
I am able to check get the list of ...
2
votes
0
answers
4k
views
mkvirtualenv command is not found on Ubuntu 18.04 [duplicate]
My Ubuntu 'Bionic Beaver' installation does not recognize the mkvirtualenv sandboxing command. Although my approach was similar to the "shell startup file" approach highlighted here in the ...
2
votes
0
answers
374
views
virtualenvwrapper creates envs in ~/.virtualenvs? (with questionmark) -> leads to issues
I have installed Ubuntu 14.04 a few weeks ago, and start and learn Python/Django. At the beginning I installed virtualenv and virtualenvwrapper via pip, and worked like a train. Yesterday I messed up ...
1
vote
1
answer
2k
views
"check that virtualenvwrapper has been installed for VIRTUALENVWRAPPER_PYTHON" when opening the terminal
/home/isaac/anaconda3/bin/python: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper')
virtualenvwrapper.sh: There ...
1
vote
4
answers
5k
views
Unable to use virtualenv and virtuenvwrapper on Ubuntu 20
I am using Python3.7 and following the virtualenv and virtualenvwrapper installation as mentioned on this FreeCodeCamp article.
The changes to my .bashrc file look as follows:
# ~/.bashrc: executed by ...
1
vote
1
answer
2k
views
bash: WORKON_HOME=~/.virtualenvs: No such file or directory
I installed python virtualenv and virtualenvwrapper on ubuntu 15.10 following the answer at How to set up and use a virtual python environment in Ubuntu?. The installation was successful, i.e. I can ...
1
vote
1
answer
3k
views
Cannot create Python 3.5 virtualenv ImportError: No module named 'gdbm'
I'm experiencing the same issue as this individual but unfortunately switching back to Python 3.4 is not an option for me, I need to be running 3.5.
I've broken command not found?
Here is what I'...
1
vote
1
answer
275
views
do-release-upgrade broke python's virtual environment and pip
I did a release upgrade, followed by apt upgrade no problem, everything went smooth. Except, now virtual environments don't work at all. I have various one set up for various django projects I'm ...
1
vote
0
answers
2k
views
How to rectify error WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available?
Whenever I use pip3 for eg I did pip3 install virtualenvwrapper-win
I get WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Also for ...
1
vote
0
answers
3k
views
How to resolve ERROR: virtualenvwrapper could not find virtualenv in your path
Other such posts didn't solve my error.
I followed this post to install virtualenv and virtualenvwrapper .
Now when try running mkvirtualenv Addon-Tests in my project's root directory, I get an error :...
0
votes
3
answers
6k
views
virtualenvwrapper + python3: invalid syntax
On Ubuntu 14.04 I run
mkvirtualenv -p /usr/bin/python3 myvenv
And I get
Running virtualenv with interpreter /usr/bin/python3
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-...
0
votes
1
answer
2k
views
source .bashrc does nothing
after installing virtualenvwrapper I edited .bash_profile and added those lines (it was blank actually)
export WORKON_HOME="$HOME/.virtualenvs"
source /usr/local/bin/virtualenvwrapper.sh
then I ...
0
votes
2
answers
353
views
Python3.5 claiming pip installations in virtualenv and its uninstallation causing errors
nmj@pc-nm:~$ sudo apt remove python3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you ...
0
votes
1
answer
3k
views
Using 'sudo' with `virtualenv`
I am working on a virtual environment: sk, which I made this way:
$ mkvirtualenv sk -p python3
I use workon sk to activate this environment and work in it. When I try to run some functionality of ...
0
votes
1
answer
14k
views
pip install ... Failed with error code 1
I'm trying to configure my new system with Ubuntu 13.10 but pip won't let me install anything. No matter what package I try to install I always get the error:
...failed with error code 1 in /tmp/...
0
votes
1
answer
1k
views
Auto mounted disk not allowing to create virtualenv
I have a auto mounted rive which is allowed to access by two users. These are the rules in my /etc/fstab
#user1
UUID=123FSDF345233 /media/user1/Disk ntfs uid=1000,gid=1000,umask=000,sync,auto,rw 0 0
...
0
votes
1
answer
72
views
Run jupyter notebook within virtualenvwrapper
I'm trying to set up an environment for multiple jupyter notebooks. I made a virtual environment installed a module a need (pandas) but jupyter notebook returns
ModuleNoteFoundError: No module named ...
0
votes
1
answer
314
views
Updating path for virtualenvwrapper 19.10
I'm installing virtualenvwrapper on my machine so that I can start managing environments in python more carefully. I have virtualenvwrapper.sh in its default location but following this guide I'm ...
0
votes
1
answer
66
views
Unsure which command to install Virtualwrapper with Python 3.7
I'm trying to install virtualwrapper and Django.
But I end up coming across these cmds:
sudo apt-get install python3 virtualenvwrapper
or
sudo apt install virtualenvwrapper
I'm not sure which cmd ...
0
votes
2
answers
6k
views
Mkvirtualenv: command not found 19.04
Trying to install Django Framework. This when I am trying to activate an virtual environment for the very first time:
mkvirtualenv test
mkvirtualenv: command not found
Location of the ...
0
votes
0
answers
767
views
pip2 insists on using local python path
Earlier I installed pyenv and installed python2.7 and python3.4 but I deactivated it from .bashrc
I tried to install virtualenv in the following way
# Install virtual environment
sudo pip2 install ...
0
votes
1
answer
2k
views
Can't uninstall virtualenv and virtualenvwrapper
So I installed virtualenv and virtualenvwrapper with sudo pip, and I have problems. At first I was getting correct behavior, with packages from the virtual environment being separate from packages ...