Skip to main content

Questions tagged [virtualenv]

virtualenv is a tool that creates sandboxed Python environments.

2 votes
2 answers
4k views

systemd service running from pipenv

I wanted to install ElastAlert, an alerting tool written in python2, inside of a pipenv in an attempt to keep applications and their requirements/ dependencies from stepping on one another while ...
Near's user avatar
  • 21
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
391 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
2 votes
1 answer
4k views

bash -c "workon" return: "command not found"

Using "workon" in bash result in list on envs. bash> workon project_1 When trying via bash -c, error is returned. bash> bash -c "workon" bash: workon: command not found Edit 1: More ...
elpddev's user avatar
  • 292
1 vote
1 answer
3k views

How to run script in same session without exec?

I have below script to set me in my project:- #! /bin/zsh source ~/.zshrc crld #alias for Project base cd Kenneth_Love/survivalguide workon kenneth_tutorial This script works but doesn't drop me in ...
user1517650's user avatar
1 vote
1 answer
1k views

No uWSGI alarm plugins when installed into a virtualenv with pip

I've been attempting to use uWSGI alarm plugins in a virtualenv to no avail. $ uwsgi --plugin plugins/alarm_xmpp --alarm "jabber xmpp:[email protected];password;[email protected]" open("plugins/...
andyn's user avatar
  • 373
1 vote
1 answer
1k views

How to create python virtualenv through userdata in an Amazon EC2 (Amazon Linux 2) instance?

How to create python virtual environment in ec2-instances? I am try to create virtual environment in ec2-instances while i am creating ec2-instances so need to imporve the code on user-data. User-data ...
rajeevpunna's user avatar
1 vote
1 answer
2k views

pip install virtualenv taking forever on Windows 7

I'm trying to setup everything in order to start developing with python and Django on a Windows 7 laptop. I already installed python 2.7.11 from here and installed pip using the get-pip.py script and ...
Pablo Messina's user avatar
1 vote
0 answers
131 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
455 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
1 answer
500 views

Installing the python packages in virtual enviroment with sudo

Actually I came across the problem while trying to install mySQL on a Django development virtual environment. pip install mysqlclient I tried running sudo pip install mysqlclient. It runs well, but ...
Surya Bhusal's user avatar

15 30 50 per page