Questions tagged [virtualenvwrapper]

virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool.

virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.

Features

  • Organizes all of your virtual environments in one place.
  • Wrappers for managing your virtual environments (create, delete, copy).
  • Use a single command to switch between environments.
  • Tab completion for commands that take a virtual environment as argument.
  • User-configurable hooks for all operations (see Per-User Customization).
  • Plugin system for more creating sharable extensions (see Extending Virtualenvwrapper).

Source:Redhat Docs

34 questions
25
votes
5 answers

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: /usr/local/bin/python2.7: No such file or…
10
votes
3 answers

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 board (mostly virtualenvwrapper and vscode for…
icezyclon
  • 501
8
votes
2 answers

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 (most recent call last): File "", line 1,…
7
votes
1 answer

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 pip install virtualenvwrapper I proceeded to add this to my…
user229566
5
votes
1 answer

"/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 the following screenshot): /usr/bin/python: No…
3
votes
0 answers

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. What I've done now is this. Selected the Screen…
gertvdijk
  • 69,427
3
votes
1 answer

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 from a package than to pollute the global…
Mat
  • 151
2
votes
2 answers

"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 installed it and it gave me a few errors regarding…
DTek
  • 171
  • 1
  • 6
2
votes
1 answer

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 : ERROR: virtualenvwrapper could not find…
2
votes
0 answers

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 the .bashrc file and had to recover it from…
Nrzonline
  • 121
2
votes
1 answer

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 all over the internet to figure out what's wrong, I…
JREAM
  • 319
2
votes
1 answer

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, Precise…
Vivek Sharma
  • 1,220
2
votes
0 answers

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 virtual environments those I have already created,…
2
votes
1 answer

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 Successfully installed pandas-0.24.2. I am on Ubuntu…
anjanesh
  • 703
2
votes
1 answer

Editting Bash Profile Ubuntu 18.04 LTS

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 bash_profile previously. I'm not sure which profile…
Maverick32
  • 197
  • 1
  • 3
  • 11
1
2 3