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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

pyenv-virtualenvwrapper not working: wont use pyenv shell or pyenv local settings

I am unable to get pyenv-virtualenvwrapper plugin to work on my Ubuntu host. I have pyenv, virtualenvwrapper, and pyenv-virtualenvwrapper plugin installed (and in correct plugin directory). I tried ...
Dave's user avatar
  • 824
0 votes
1 answer
61 views

Unable to solve the error after installing virtualenv

My computer system is mac OS ventura 13.4. After I install virtualenv and virtualenvwrapper using pip3, a large error message pops up every time I open the terminal enter image description here Can ...
TIANXfafe's user avatar
0 votes
2 answers
62 views

ModuleNotFoundError: No module named 'virtualenvwrapper'

I'm trying to get virtualenvwrapper working in zsh (for Python 3, MacOS Apple Silicon) and haven't find a solution in other posts. I'm running pip3 install virtualenvwrapper which appears successful. ...
K--'s user avatar
  • 604
0 votes
0 answers
19 views

PermissionError when creating mkvirtualenv for cuckoo

I am trying to setup Venv for cuckoo sandbox but when I run this command $ mkvirtualenv -p python2.7 cuckoo-test i get that error PS: I am using Ubuntu 18.04.4enter image description here i tried to ...
Wiam Askri's user avatar
0 votes
0 answers
27 views

Firefox not launching after installing virtualenvwrapper

I attempted installing virtualenvwrapper yesterday. Part of the install process required me to install virtualenvwrapper by using sudo pip install ... regardless of the warning the system gives. This ...
GrowYourCrypto Enzo's user avatar
1 vote
0 answers
97 views

Error installing virtualenvwrapper on MacOS - installation directory and permission issues

I'm following the installation guides for AutoGPT and it suggests installing Virtualenvwrapper but I seem to always run into walls when working on the terminal of this Mac. Either it's a permission or ...
Enzo's user avatar
  • 11
0 votes
1 answer
26 views

Where does virtualenvwrapper's activate script live on Ubuntu?

I installed python2 and virtualenvwrapper on my ubuntu machine in order to run a very old set of scripts I've saved for an obscure task. I run the following: sudo apt-get install python2 cd ~/path/to/...
Mayor of the Plattenbaus's user avatar
0 votes
0 answers
26 views

How to move Virtualenvwrapper.sh to it's appropriate location?

I am working a new project where it requires me to create a virtual environment since I'm working with Django framework. I been having trouble working creating `mkvirtualenvì and its been kicking my ...
Arpan Bhomia's user avatar
0 votes
0 answers
141 views

Virtualenvwrapper: "no such file or directory" on Mac OS M1 Ventura

I can't get virtualenvwrapper to install on Mac M1 OS Ventura, I've tried several instructions, the latest being this guide here. The guide recommends sudo -H pip3 install virtualenvwrapper which ...
Climate Tech Handbook's user avatar
0 votes
1 answer
35 views

How to call cdvirtualenv from a bash script?

The virtualenv package is set up from .bashrc by sourcing /usr/share.../virtualenvwrapper.sh. This file defines a number of functions, among those cdvirtualenv: function cdvirtualenv { ...
thebjorn's user avatar
  • 26.6k
2 votes
0 answers
209 views

How can I improve my python environment setup on windows 10?

This is my current python environment setup on Windows 10: For the remainder of this post I will assume you have chocolatey installed. Also I'm using the bash as admin terminal from cmder. Install ...
ChristianOConnor's user avatar
0 votes
0 answers
83 views

zsh doesn't find workon from virtualenvwrapper

hi i have installed virtualenv python library to manage my env doing all the setup but when i use the following command to open my env that happen francesco@AirdiFrancesco ~ % workon zsh: ...
drMAIN's user avatar
  • 76
-1 votes
1 answer
230 views

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 '...
Dave's user avatar
  • 824
1 vote
1 answer
487 views

After "deactivate" from virtualvenv, prompt has "if defined _OLD_VIRTUAL_PYTHONPATH (set "PYTHONPATH=" ) "

I have a python (3.11) virtual env named "Test". Using VSC, Command "Workon Test" puts me in the Test virtual env. However, when I "deactivate", the command prompt has ...
Mojorizing's user avatar
-1 votes
1 answer
51 views

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 ...
Dóra Szendrei's user avatar
0 votes
1 answer
75 views

setting up virtualenvwrapper on windows

I'm using virtualenv wrapper on my mac, and I like it a lot. I'm trying to get the equivalent program to work on my windows box. The main question I have is how to do the equivalent of export ...
Brian Postow's user avatar
  • 11.8k
0 votes
1 answer
656 views

What is the best way to upgrade python in a virtual environment using virtualenvwrapper?

I created an environment using virtualenvwrapper while my machine was running Python 3.8.3. Naturally, this made the environment with Python 3.8.3 as well. Later, I updated Python on my main machine ...
dv151's user avatar
  • 75
4 votes
3 answers
4k views

Virtualenvwrapper_run_hook:12: permission denied error when running Environment

I've installed Virtualenvwrapper, and it seems to be running fine, but anytime I activate an env or run workon venv I get the following: virtualenvwrapper_run_hook:12: permission denied: ...
Jesse's user avatar
  • 151
0 votes
1 answer
152 views

Virtualenvwrapper can't find my envs folder below my home directory in my path (even though it is in there)

There are a number of SO and other online posts where people had an issue that virtualenvwrapper can't find 'virtualenv', but in my case, it can't find my local envs folder (/home/myuser/Envs). I don'...
DaveB's user avatar
  • 302
0 votes
2 answers
696 views

Created a virtual environment 'test' in my windows command prompt, but workon test not working in visual studio code? How to fix?

Error: PS C:\Users\ARYAN\projects\project1> workon test workon : The term 'workon' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the ...
Aryan Mehta's user avatar
1 vote
0 answers
1k views

virtualenvwrapper.sh: There was a problem running the initialization hooks

I'm trying to install virtualenvwrapper. I need to use specific python version: 3.6.10 So I set VIRTUALENVWRAPPER_PYTHON to /usr/local/bin/python3.6 When I run virtualenvwrapper.sh I get an error: If ...
Marcin Gemra's user avatar
0 votes
1 answer
875 views

AttributeError: 'AtariEnv' object has no attribute '_get_ram'

I am trying to return a dataset of RAM values within the emulation of the Atari 2600. This is Minimum Viable code for the issue: envs = [ supersuit.frame_stack_v1(gym.wrappers....
Jayant Kalyan's user avatar
0 votes
0 answers
379 views

Python: How to determine which folders belong to which virtualenv manager?

Python has at least three ways to manage virtual environments: module venv virtualenvwrapper Classic virtualenv See What is the difference between venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, ...
SRobertJames's user avatar
  • 8,611
0 votes
1 answer
37 views

pipenv under pyenv fails to upgrade its instance under pyenv

After brew upgrading pipenv in MacOS ==> Installing pipenv ==> Pouring pipenv--2022.1.8.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/pipenv/2022.1.8: 1,767 files, 28MB I see that the version of ...
Andrew Ward's user avatar
0 votes
0 answers
58 views

virtualenvwrapper-win error: "No project directory found for current virtualenv"

What was done: Created a folder on Google drive copied my project files folder to the 1st folder copied the virtual environment from my Envs folder to the 1st folder put the folders from 2 & 3 in ...
ProsperousHeart's user avatar
1 vote
1 answer
1k views

FileExistsError: [Errno 17] File exists: '/usr/bin/python' -> '/home/had2000/.virtualenvs/cv/bin/python'

When i have python 3.5 and python 3.6 on ubuntu .I entered some alternate commands to use python 3.5 only (when I type python -V and python3 -V the same output is 3.5.2) And then i install virtualenv ...
Dũng Hoàng's user avatar
1 vote
0 answers
577 views

Issue in virtualenv for Mac OS (M1 chip)

I have installed the virtualenv in my macOS M1 chip using the command pip install virtualenv But when I type the virtualenv in my zsh shell is shows me the error like: RuntimeError: No virtualenv ...
Shubham Bansal's user avatar
0 votes
0 answers
353 views

source usr/local/bin/virtualenvwrapper.sh never works

I've tried many recipes to install virtualenvwrapper (no idea what I'm doing btw) and nothing seems to be working. I uninstalled and reinstalled virtualenv and virtualenv wrapper, unset all the ...
Ejaz's user avatar
  • 109
0 votes
1 answer
203 views

Python Virtual Environment Organization & Management

I work on several projects and tech stacks and Python and ML is just one of them. I have an organization based on the domain that I'm working on. For example., all ML-Prpjects are organized in a ...
joesan's user avatar
  • 14.3k
2 votes
0 answers
620 views

Using virtualenvwrapper on M1 mac, how to manage arm64e and x86_64 dependant python packages

I have been struggling with this for a few days so hopefully someone can offer some advice. I have recently migrated to an M1 mac after working with intel based macs for 7+ years. I have set up two ...
user avatar
0 votes
1 answer
501 views

use specific python version in virtualenv (virtualenvwrapper) after creating the virtual environment

I would like to know if it is possible to specify the python version in a virtual environment (created with virtualenv and virtualenvwrapper) after the environment is created. If I create a virtualenv ...
desmond13's user avatar
  • 2,953
0 votes
2 answers
3k views

how to make mkvirtualenv work with current directory?

I'm trying to use mkvirtualenv . to create a virtualenv in the current directory, but with no success: ~/repos/foo$ mkvirtualenv . created virtual environment CPython3.9.5.final.0-64 in 284ms ...
mdval's user avatar
  • 11
1 vote
0 answers
891 views

mkvirtualenv returns zsh: command not found: mkvirtualenv

I installed virtualenv and virtualenvwrapper. However, when entering mkvirtualenv followed by the name of the environment I'm looking to create, I'm getting the following error: @Laura-Macbook ~ % ...
Laura Kebab's user avatar
4 votes
1 answer
564 views

WARNING: `pyenv init -` no longer sets PATH. MacOS

For the wrong reason I updated my pyenv, by running pyenv update, after this every time when I open a new console I got this error WARNING: `pyenv init -` no longer sets PATH. Run `pyenv init` to see ...
Filmora Legends's user avatar
5 votes
1 answer
2k views

Error "Failed to initialize virtualenvwrapper." (WSL Windows 10)

Intro In my WSL (Wsman Shell commandLine, version 0.2.1) on Windows 10, I got pyenv installed and try to use pyenv-virtualenvwrapper. Yet, I can't seem to get it up and running, not even with the same ...
Andreas L.'s user avatar
  • 3,551
1 vote
1 answer
401 views

why virtualenv "workon' not work but activate can

1.pip install virtualenv, virtualenvwrapper-win 2.mkvirtualenv newhouse Then I want to go to the newhouse 3.workon newhouse It not work. I search for the solution and somehow I find a command and type ...
helen's user avatar
  • 55
-1 votes
1 answer
331 views

Creating Virtual Environment [closed]

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 ...
Naveen A's user avatar
1 vote
1 answer
209 views

virtualenvwrapper, add2virtualenv from python script

I got a project with files like it: ├── main_folder ├── my_folder ├── my_file.py ├── main_file.py Inside main_file.py i am trying to run a below command: import subprocess ...
Niewasz Biznes's user avatar
0 votes
1 answer
1k views

How to choose Python version when making a new virtual environment with virtualenvwrapper?

It seems like the current global Python version provided by pyenv-win is automatically being employed, but there seems to be no option or parameter in the commmand mkvirtualenv of virtualenvwrapper to ...
Andreas L.'s user avatar
  • 3,551
2 votes
0 answers
354 views

Use virtualenvwrapper in git bash shells like MINGW64 or Cygwin on Windows 10

Since I'd been using Linux for almost 10 years, the fact that I had to switch to Windows 10 created several difficulties as for my common workflow using python, pyenv, virtualenvwrapper and bash UNIX ...
Andreas L.'s user avatar
  • 3,551
0 votes
1 answer
8k views

Why is pipenv telling me the wrong version of python?

I created a virtual environment using: mkvirtualenv env_name --python=python3.9 Then I tried to install from Pipfile: pipenv install --dev But I got the following error: pipenv.patched.notpip....
Keshav Bhatiya's user avatar
0 votes
2 answers
190 views

VSCode Django Virtualenvwrapper

Hi i have my django project with use Virtualenvwrapper. I use VSCode and works for me workon etc in terminal. I have 3 files settings to run project in local server and in VPS server. I remove from ...
rad_the_hero's user avatar
0 votes
1 answer
1k views

Setting up virtual environment in Django

i just started learning django and i am very confused in how to set up a virtual environment. i have successfully installed python: When i run python --version i get Python 3.8.1 and when i run ...
kd12345's user avatar
  • 709
0 votes
0 answers
619 views

virtualenv is installed in my machine but still getting "not recognised as internal or external command "

I have installed virtualenv and virtualenvwrapper-win directories in my machine using commands pip install virtualenv and virtualenvwrapper-win And also when I run pip show virtualenv It is ...
mFarhan's user avatar
  • 11
2 votes
0 answers
393 views

Jupyter kernel within a python virtual environment fails to start with Permission Denied error

I am running MacOS Big Sur 11.2.3 + pyenv with python 3.9.1 + virtualenv + virtualenvwrapper. I activated my virtual environment using: workon my-env I downloaded ipkernel within my virtual ...
dhalia's user avatar
  • 411
3 votes
0 answers
210 views

Shell is trying to run /usr/bin/virtualenvwrapper.sh when opening

I am pretty new to python (using Python 3.8.5 on MacOS Big Sur Version 11.2) + coding. I tried to make a virtual environment using pyenv but neither was successful. Now, when I open terminal it says: ...
Francesca Chiappetta's user avatar
1 vote
0 answers
15 views

How can I move the location of a virtualenv via virtualenvwrapper to a usb drive attached to a raspberry pi running DietPi? [duplicate]

I'm trying to setup a headless RaspberryPi 1B+ to run a couple of python scripts via cron. I'm aware that SD cards tend to be the weak spot so I've got an old 60Gb SSD in an usb enclosure mounted as /...
coop_hobbes's user avatar
2 votes
0 answers
351 views

Problems with python3 and virtualenvwrapper on Mac Big Sur

I am following [these][1] instructions on setting up a macOS virtual environment. I have followed all the instructions but when I get to the last part where I have to reload the startup file by making ...
Chaminuka's user avatar
0 votes
0 answers
30 views

virtualenvwrapper: mkvirtualenv is being created with my custom packages

When I create a new environment using mkvirtualenv, the environment is created with all custom packages I've been developing. If I run pip show <package name> the atribute Location is pointing ...
felipeformenti's user avatar
3 votes
3 answers
14k views

How to activate virtualenv on Windows?

I removed the virtualenv first and then create it again. By running .\\Envs\automation_cookbook\Scripts\activate.bat as it is mentioned in this post. But the prompt doesn't change at all. I doubt if I'...
user8314628's user avatar
  • 1,972

1
2 3 4 5
14