virtualenv is a tool that creates a sandboxed and isolated environment where Python packages can be installed without interfering with other packages on the same machine.

learn more… | top users | synonyms

1
vote
1answer
15 views

14.04 what is the difference between /usr/bin/python3 /usr/bin/python3.4

In /usr/bin there is a python3 and python3.4. What is the difference? If I am setting up virtualenv for 3.4 do I need to point it to the 3.4 file, or does the python3 act like a meta package?
0
votes
1answer
16 views

Should I use only pip in virtualenv?

While in a virtual environment, what will happen if I use other methods of installation such as apt or manual install? Will the installation go into the virtual or global environment? I am asking this ...
1
vote
1answer
69 views

How do I install pygame in a pyenv virtualenv for Python 2.7 on Ubuntu 12.04?

I found instructions for Python 3.3 but nothing specifically for 2.7. I sorted it out and figured I'd record it here for future reference.
2
votes
1answer
3k views

Error installing scrapy in virtualenv using pip

pip install scrapy Downloading/unpacking scrapy Downloading Scrapy-0.24.2-py2-none-any.whl (502kB): 502kB downloaded Downloading/unpacking pyOpenSSL (from scrapy) Downloading pyOpenSSL-0.14.tar.gz ...
-1
votes
1answer
2k views

cannot install lxml in virtualenv (python)

I cannot install lxml. In system i have python-lxml package, but i need other... Please help, if you can - my task is install lxml for development in virtual enviroment using virtualenv. I found this ...
0
votes
1answer
232 views

unable to install a package using pip

I'm triying to install a package using pip inside a virtualenv: pip install fuse-python but the output is Downloading/unpacking fuse-python Downloading fuse-python-0.2.tar.gz (53kB): 53kB ...
1
vote
1answer
102 views

How to install Err in a Python 3 virtual environment?

I'm trying to install Err on Ubuntu Server 12.04.4. It requires python plus a bunch of dependencies. When I followed the install instructions, I couldn't get it to work using the "default" which ...
0
votes
1answer
175 views

undefined symbol: PyExc_TypeError

I'm using Ubuntu 12.04 and I have weird problem that started appearing. I've been using virtualenv command for working with my Python projects and I never had trouble with it. However, for some reason ...
0
votes
0answers
41 views

virtualenv equivalent for all programs

Virtualenv allows users to create a directory where custom Python packages can be installed and called as if they were installed the normal way by sudo. Is there an equivalent that can create a kind ...
1
vote
2answers
504 views

How to install python-guestfs and libguestfs-tools in python virtual environment?

Can any one help me out to install python-guestfs and libguestfs-tools in python virtual environment? I tried to install those packages with the help of pip install but it fails to install because ...
4
votes
2answers
71 views

What is the correct location for a maintained virtualenv service?

I will be installing and maintaining a Python 2.7-based server application on Ubuntu server (12.04). The model of maintenance will be to create a virtualenv and install application standard libraries ...
3
votes
1answer
2k views

Trying to create a python virtual environment but getting OSError

I have installed python3.3, pip-1.5, ditribute-0.7.3, virtualenv-1.11. I am giving the below command to create virtual environment virtualenv --no-site-packages test I am getting the following ...
2
votes
0answers
284 views

Virtualenv permission denied

After a lot of struggle with virtualenv/virtualenvwrapper I decided to remove all virtualenvs and re-install the packages. root> su myuser myuser> sudo pip install virtualenv myuser> sudo ...
0
votes
1answer
183 views

Running python3.3 using virtulenv

I am using Ubuntu server 12.04. The default python version is 2.7. I have installed python 3.3 in /opt directory. When I try to create a virtualenv to use python 3.3, I get the following error: ...
1
vote
2answers
680 views

Edit ZSH theme for virtualenv name

I use zsh theme intheloops. The theme looks like this when no virtual env. is active -- an empty line -- [sourabh@skynet] ~/Code/django_apps/cope (master) ⚡ ❯ and when an env. is active, (env ...
0
votes
1answer
135 views

python module can be found using shell but not in virtualenv

When I do import numpy on my shell, numpy is found (I can use it). However, when I workon my virtualenv import numpy gives me no module named numpy error. I tried to pip install numpy while working ...
1
vote
1answer
474 views

install Flask as a virtual environment whith virtualenv.py in 12.10

I am trying to follow this Tutorial to learn flask. I have never used python before and a relatively new to linux too so sorry if I am asking a very basic question. I have installed python version ...
4
votes
2answers
4k views

Clean uninstall of virtualenv and virtualenvwrapper

Since I do not use them at this time I tried to uninstall virtualenv and virtualenvwrapper via the Ubuntu Software Center. Now whenever I open a console I get the following error message: Traceback ...
3
votes
2answers
8k views

Installing pygame with pip

I'm trying to install pygame using pip in a virtualenv. I'm following this tutorial on using Kivy. However, running pip install pygame returns Downloading/unpacking pygame Downloading ...
2
votes
1answer
2k views

Installation issues for Virtualenv and VirtualenvWrapper in 13.04

Ubuntu Server in VirtualBox. I am trying to install VirtualEnv to start learning Flask and bottle. Some details of my setup. vks@UbSrVb:~$ cat /etc/os-release NAME="Ubuntu" VERSION="12.04.2 LTS, ...
4
votes
1answer
4k views

How do I install Pygame in virtualenv?

In installed python-virtualenv, because this question said I should use virtualenv to install pygame. However, I'm not really sure how that's accomplished. What I did (following these instructions): ...
2
votes
2answers
183 views

How can I get diffuse to play well with a Python virtualenv?

Diffuse is installed on my workstation and plays well with Mercurial so I often use it for diff'ing. However, I also am using a Python virtualenv to use some different modules in a more controlled ...
1
vote
0answers
91 views

How to change bash title in a python virtual environment

I would like to know how to change the bash title modifying the configuration files. I often program in Python and use virtualenv to keep my development environment separated from the system-wide ...
19
votes
2answers
18k views

How to set up and use a virtual python environment in Ubuntu?

Python virtual environments are used to create isolated python environments to avoid dependency and version conflicts, and also indirectly takes care of permission issues. But what is the easiest way ...