Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [virtualenv]

virtualenv is a tool that creates sandboxed Python environments.

3 votes
1 answer
661 views

macOS Catalina (10.15) not using correct Python interpreter within virtual environment

Since updating to Catalina, after activating a virtual environment, it does not affect which python interpreter is called when using the python or python3 command. I confirmed that I am still using ...
0 votes
0 answers
581 views

How can I customize the virtualenv info in zsh theme?

I use the bureau theme (little customized) with oh-my-zsh. .zshrc file zsh-theme file p0tt3r@wand ~ [21:19:10] () >🔮$ ...
0 votes
1 answer
148 views

virtualenv creates a thousand processes in cygwin

So i attempted to run a virtual environment, but the command, virtualenv venv Started about 1000 python processes and never completed. Is this normal or some bug? I am working in cygwin on windows ...
0 votes
0 answers
270 views

error msg when open linux terminal

I installed a virtualenv in the other day using pip and its not working properly, also when i start the terminal it opens whit that msg on the top > bash: /usr/bin/python: Arquivo ou diretório ...
5 votes
2 answers
13k views

Activate virtualenv using alias

I can activate my python virtual environment from it's folder by entering . bin/activate. I'd like to instead type a single word alias, such as shazam, from the home folder (or anywhere else) that ...
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, ...
0 votes
1 answer
2k views

Properly installing and using Nuitka within Anaconda, " No module named 'nuitka.__main__' "

I'm trying to use Nuitka within the Anaconda Prompt. Nuitka has been installed through conda: conda install -c conda-forge nuitka See documentation here: https://nuitka.net/doc/user-manual.html#...
-1 votes
2 answers
2k views

Setting virtualenv and running python code on boot

I'm trying to have some code executed on boot and haven't been able to get it to run as rc.local, cron, or a system service. So I'm sure I'm doing something wrong -- I just don't know what. These are ...
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 ...
1 vote
1 answer
457 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/...
0 votes
0 answers
3k views

virtualenv returns [Errno 13] Permission denied

I am trying to start a new virtual environment in my folder. I have Python3, Python2 and virtualenv installed, it doesn't seem to be a dependency problem. I do the command: sudo virtualenv -p ...
2 votes
1 answer
3k views

Error "You must 'source' the script:" while trying to ativate python virtualenv on Windows10

python 3.7.1 Windows 10 Powershell Steps taken: create folder for envs change to folder pip install virtualenv virtualenv "abc" abc\Scripts\activate This throws the error stated in the title. I have ...
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 ...
1 vote
0 answers
264 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 ...
0 votes
1 answer
716 views

Creating Python venv for running a dash application on PythonAnywhere

I am trying to create a Python venv to include packages like dash so I can deploy a dash application on PythonAnywhere. I was unable to follow the PythonAnywhere instructions for creating a virtual ...

15 30 50 per page