Skip to main content

Questions tagged [virtualenv]

virtualenv is a tool that creates sandboxed Python environments.

31 questions with no upvoted or accepted answers
3 votes
1 answer
6k views

I started virtualenv on Mac OS, then unable to deactivate it completely

I started virtualenv on my Mac OS, using the commands python -m virtualenv envsp source env/bin/activate Then it was successfully activated. Then I entered exit, and I got a response which says ...
debchakra's user avatar
3 votes
0 answers
781 views

How do I recompile Python in VirtualEnv?

I built virtualenv and it adds Python 2.7 by default in it. After reading this solution to a bug I have, it says I have to recompile Python with the option --enable-shared. So should I rm -rf Python ...
User's user avatar
  • 841
2 votes
0 answers
324 views

Error creating virtual environment and using pip

Everytime I try to use pip to do something pip install <package> I get an error OSError: [Errno 9] Bad file descriptor I tried installing and reinstalling anaconda. I'm currently trying ...
tahmeed156's user avatar
2 votes
0 answers
389 views

VSCode remote Python virtual environment

Here is how the thing doesn't work: The project source code is located on a remote machine. The Python virtual environment is installed in the project's root directory (using venv). I sshfs the ...
Igor Stolyarevskiy's user avatar
1 vote
0 answers
129 views

Unable to set python environments with old interpreters

I have installed virtualenvwrapper on Arch Linux, as well as the AUR repository python38 so I can set an environment and work with TensorFlow. I have set up .bashrc as usually recommended on the docs ...
manoelpqueiroz's user avatar
1 vote
0 answers
366 views

pytest WinError 123 on Windows 10 in conda virtual environment

My question is probably related to this SU question. But this question did not receive any answers, so I will describe the problem again: I open my Anaconda prompt, navigate to my project directory, ...
Nat1's user avatar
  • 11
1 vote
1 answer
452 views

my virtual environment cannot be found

I'm on a PC windows 10 and always open git bash, then source activate my-env and open a jupyter notebook; somehow my-env broke and I get this error: "C:\bld\conda_1565126647711_h_env/etc/profile.d/...
Matan's user avatar
  • 23
1 vote
0 answers
262 views

Unable to set python3 as default on cloud9 using virtualenv

I'm using AWS cloud9 and am having trouble switching from python2 (which is default when you create an environment) to python3. My goal is to run a flask app and have it run in python3. I've tried ...
dfenjves's user avatar
1 vote
1 answer
2k views

Cannot create virtual environment in Pycharm 2019.1 with anaconda 3

How can I create a python virtual environment interpreter with Pycharm and Anaconda? The usual procedure doesn't work. With new Pycharm 2019.1 and Anaconda 3, I am unable to create a virtual ...
warren jackson's user avatar
1 vote
1 answer
2k views

pip install -r requirements.txt not installing everything

I recently installed Mojave and then I had to upgrade my VirtualBox & vagrant afterwards. I am currently having an issue installing the requirements.txt in my venv. Could not find a version that ...
likeadrink's user avatar
1 vote
0 answers
219 views

How can I troubleshoot VENVs `--system-site-packages` not mirroring my system?

I'm running Arch Linux and want to use virtual environments to install only those few PIP packages I use for specific projects while continuing to use the Arch packages for Python. However, when I ...
xtian's user avatar
  • 1,005
1 vote
1 answer
460 views

lost virtualenv display to the left of bash prompt

I added thy Holy prompt to display my current branch so I never push to master. We all use it and it works, but I am no-longer seeing what virtualenv I'm using at the moment, which is a hassle. Based ...
codyc4321's user avatar
  • 410
1 vote
0 answers
213 views

Installing specific Not-In-Repository version of python-dev within virtualenv without using VCS

I have read the question : How can I install python-dev without sudo? However it does not quite cover the issues I am facing. I have a Debian 6.0.9 server with system python 2.6.6 installed. We ...
stbonearth's user avatar
0 votes
0 answers
28 views

Docker build succeeds on one system but not on other

System info I've been Dockerizing an application on System A, which is a Debian 12 clean installation, AMD64 architecture. The system info: Linux debian12.localdomain 6.1.0-17-amd64 #1 SMP ...
Shayan's user avatar
  • 1,594
0 votes
0 answers
42 views

virtualenv and pip version inside

I installed fresh Ubuntu 20.04 (which I believe comes with python3.8) and then additionally installed: sudo apt install python3.9 sudo apt install python3.9-dev sudo apt install python3-pip I want to ...
Piotr's user avatar
  • 101

15 30 50 per page