Questions tagged [virtualenv]
66 questions
1
vote
2 answers
Let's Encrypt error with Amazon Linux with virtualenv
I download certbot-auto and ran
./certbot-auto certonly --standalone -d domain.com -m tech@domain.com --agree-tos -n --debug
I get below error that it is looking for virtualenv==15.1.0 but installed version is 16.0.0. Is it possible to let…

Maca
- 1,043
- 2
- 19
- 30
1
vote
1 answer
Can any virtual environment start systemd gunicorn.service for all virtuenenv?
If you are not working inside an environment, Gunicorn will be installed globally (i.e. available systemwide). This is not recommended. Always opt for using virtualenv. But if you have multiple virtualenvs how many gunicorn.service files should you…

CodeMan
- 111
- 1
- 2
1
vote
0 answers
Linux "which virtualenv-2.7" shows a repeating path
I think I messed up some components when trying to install ruby, and not virtualenv-2.7 seems to be broken.
I am not even sure if I am describing the problem correctly, as I can't figure out the issue, let alone a solution to it. It's not in…

Andre Bulatov
- 123
- 1
- 1
- 8
1
vote
1 answer
Switching library paths in python virtualenv dynamically
There are two versions of Python that can be installed on RHEL 6.7, as many obviously know. Yum needs 2.6, and other programs for example Graphite need 2.7
After digging into it, I see that even when I have a shell spawned or started with scl enable…

Bob R
- 111
- 1
1
vote
1 answer
Debian virtualenv location
I have a question that I would appreciate some help with. I want to run a number of sites from my debian server, each with their own virtualenv.
Should I be creating my virtualenv in the www-data or /home// directory?
Alternatively, could…

J.Zil
- 1,123
- 3
- 21
- 29
1
vote
0 answers
Automatically create virtualenvs for new user accounts
In Linux, how can I go about automatically creating virtualenvs for each newly created user account? Can it easily be done?

Staccato
- 111
- 2
1
vote
1 answer
Import error on boto - Module not found
I have a ubuntu LTS server. On boot I run a script which does the following:
#!/bin/bash
apt-get -y install build-essential python-dev libxml2-dev libxslt1-dev
apt-get -y install python-pip python-virtualenv …

J.Zil
- 1,123
- 3
- 21
- 29
1
vote
3 answers
"Connection in use" running Gunicorn using VirtualEnv
I am trying to set up a development environment using Gunicorn and NGINX.
While following this tutorial: http://ijcdigital.com/blog/django-gunicorn-and-nginx-setup/
I get the following error:
(WebApp)sl@cker:~/MyApps/WebApp$ gunicorn_django…

Wouter Dorgelo
- 133
- 2
- 9
1
vote
1 answer
SSH session closing whilst virtualenv session stays open (I think)
I've been developing some sites using Flask recently (running on debian within a virtualenv), and when I am testing I can run it on a port, let's say post 5000.
So I run the script like so:
. env/bin/activate <- go into virtual…

ingh.am
- 273
- 3
- 15
1
vote
3 answers
Why can't I run virtualenv without root?
I'm trying to run virtual env and all the documentation says I don't need to run it as root (and probably shouldn't). If I run it as root, everything works. If I run it without root, I get:
[stats@crunch ~]$ virtualenv env
Traceback (most recent…

James
- 11
- 2
1
vote
1 answer
Virtualenv not isolating pip installs properly on Ubuntu
I'm using virtualenv on Ubuntu 12 and when I install packages with pip (after activating the virtualenv) the packages are not being installed in the environment's site-packages directory, they're ending up in the server's dist-packages directory.…

Michael Waterfall
- 243
- 1
- 8
1
vote
1 answer
How do I upgrade Django 1.3.1 to 1.4? Any tips, tutorials, or warnings?
Django 1.4 was recently released. Almost all the information about Django 1.4 is in the release note, but I didn't see anything about how to upgrade. Should I just remove the django folder inside Python's site-packges and download 1.4? I think I…

hobbes3
- 615
- 2
- 10
- 23
1
vote
1 answer
Python virtualenv, pip and large setupping
What is the best practices for management large installs of virtualenv. How to do mass update of the packages?

Biriukov
- 407
- 2
- 8
1
vote
2 answers
Apache2 not loading wsgi script
I am setting up CKAN, a pylons application according to these instructions:
http://packages.python.org/ckan/deployment.html
But when I point to the server (no DNS setup yet) using IP or hostname, I only see apache's greeting page, sugesting the ckan…

fccoelho
- 111
- 1
- 5
1
vote
2 answers
Python Profiling not installed in Ubuntu? How do I get it in a virtualenv and without apt-get?
According to the Python documentation, the "profile" module is part of the standard library.
But I can't find it.
On my home machine, I was able to add it using apt-get install. (ie. it's split out into a separate ubuntu package.)
On my work…

interstar
- 1,281
- 4
- 18
- 23