Questions tagged [virtualenvwrapper]

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.

virtualenvwrapper is a set of extensions to Ian Bicking’s 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: https://virtualenvwrapper.readthedocs.io/en/latest/

665 questions
0
votes
1 answer

Manage python version in different virtualenv with pythonbrew

My main system python version is 2.7.3. I'm trying to create a virtualenv that uses version 3.3.0. I installed pythonbrew, virtualenv and virtualenvwrapper. I followed this tutorial:…
darksky
  • 20,411
  • 61
  • 165
  • 254
0
votes
1 answer

Python3.3 can't find libpython3.3m.so in OS X virtualenv

I have IPython with qtconsole installed in my system, but I'd like to build an independent venv with virtualenv and virtualenvwrapper as a sandbox in which to experiment before adding more stuff to my system, plus I wanted to experiment with…
0
votes
1 answer

GAE can't import Web.py module in virtualenv

I'm trying to set up a Web.py (0.37) project in a virtualenv to run on Google App Engine (1.7.2) but I'm getting a ImportError: No module named web from the appserver. I've installed web.py using python setup.py install from inside my virtualenv and…
sw00
  • 980
  • 2
  • 16
  • 29
0
votes
1 answer

Installing virtualenvwrapper

I am trying to install virtualenvwrapper and facing some problems.. Error: error: /Library/Python/2.7/site-packages/virtualenvwrapper: Permission denied Command /usr/bin/python -c "import…
lakshmen
  • 28,346
  • 66
  • 178
  • 276
0
votes
2 answers

pip-python not found within virtual environment

I've installed python-virtualenv and python-virtualenvwrapper, and created a virtual environment by using mkvirtualenv NAME, and then activated it through workon NAME. By looking in ~/.virtualenvs/NAME/bin I see that pip is installed there. However,…
lightstrike
  • 954
  • 2
  • 15
  • 31
0
votes
1 answer

Why can't I pip install packages in my main Python installation folder? Virtualenv getting in the way?

I installed virtualenv and virtualenvwrapper-win. Now when I have 3 locations for Python albeit one of them is a .bat. See? C:\>where python C:\Python27\python.exe C:\env\Scripts\python.bat C:\env\Scripts\python.exe Also, when I try installing new…
user883807
-1
votes
1 answer

python virtualenvwrapper refuses to work after upgrade to python3.10

Keep getting this error when my bashrc is sourced: /usr/bin/python: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper') virtualenvwrapper.sh: There was a problem…
Dave
  • 727
  • 1
  • 9
  • 20
-1
votes
1 answer

Scrappy crawl error in virtual environment

Tried the Scrapy tutorial, but cannot run the crawling script: scrapy crawl quotes The error I get: -bash: /home/szendrei/.virtualenvs/scrapy-projects/bin/scrapy: No such file or directory I'm under a virtual environment (created with…
-1
votes
1 answer

Creating Virtual Environment

I have completed a project in Django on my Windows PC without creating a virtual env. Now, I feel I should have a virtual env. Please, do explain to me in steps to create a virtualenvwrapper and put my project into the same. Thank you in advance.
-1
votes
1 answer

Getting "`mkvirtualenv: command not found`" after installing virtualenvwrapper on Ubuntu 20.04

On Ubuntu v20.04, I have just installed virtualenv and virtualenvwrapper using apt with the commands: sudo apt install virtualenv sudo apt install virtualenvwrapper I did not get any errors or warnings. When I try to run mkvirtualenv, which is…
-1
votes
3 answers

I am unable to create a virtualenv in command window to run django projects

Could anyone please help me with how to fix the virtuaenv issue on windows 10 - 64-bit pc. I repeatedly keep getting this error while I try to create a virtual env using windows Powershell/Command windows to install Django projects Error message…
Akbar
  • 1
  • 2
-1
votes
1 answer

Is there a venv-specific equivalent of virtualenvwrapper's 'postactivate'

After starting my virtualenv, I would like to run a script that depends on some specifics of the environment (e.g. bash completions for some tools installed there). Is there a way to do this on a per-venv basis — effectively a local version of…
orome
  • 45,163
  • 57
  • 202
  • 418
-1
votes
2 answers

Why I am getting this warning/error message each time I open terminal?How should I fix this?

-bash: /usr/local/bin/python3: No such file or directory virtualenvwrapper.sh: There was a problem running the initialization hooks. If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenvwrapper has been installed…
Jasch
  • 19
  • 1
  • 6
-1
votes
1 answer

Virtualenv have multiple possible locations

A colleague of mine implement a shell script with the following line output="$(venv/bin/python manage.py has_missing_migrations --quiet --settings=project.tests_settings 2>&1)" Here is the full code : # Check missing migrations …
dave
  • 93
  • 2
  • 10
-1
votes
1 answer

SyntaxError in virtual environment with Python 2.7

I have pip installed the virtualenvwrapper in my Ubuntu 14.04 and when I make a new virtual environment, regardless of the version of python I think I pick, I get Python 3 in the virtualenv. For example, if I: mkvirtualenv -p /usr/bin/python2.7…
1 2 3
44
45