virtualenv

Creating a new virtualenv results in an error.

Hi, I'm trying to get virtualenv to work on my machine. I'm using python2.6, and after installing pip, and using pip to install virtualenv, running "virtualenv --no-site-packages cyclesg" results in the following: New python executable in cyclesg/bin/python Installing setuptools.... Complete output from command /home/nubela/Workspace...

Is it possible to add PyQt4\PySide packages on a virtualenv sandbox?

Hi i'm using virtualenv with profit on my develop environment with web.py, simplejson and other web oriented packages. I'm preparing to develop a simple python client using Qt to reuse some Api developed with web.py. Does anybody here had succesfully installed PyQt4 with virtualenv? Is it possible? I've downloaded all the binaries and h...

mysql-python install problem using virtualenv, windows, pip

I'm trying to install mysql-python in a virtualenv using pip on windows. At first, I was getting the same error reported here, but the answer there worked for me too. Now I'm getting this following error: _mysql.c(34) : Fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory edit: If I symlink (Win7) to...

python virtual environment on source control

I have created a python web virtual environment contains all django, pylons related packages. I use the host ubuntu desktop PC at home and I have ubuntu virtual machine running on windows PC laptop. Both the operating systems are linux only. I will be using the same environment for production that will be ubuntu server. Is it possible ...

unittest import error with virtualenv + google-app-engine-django

I'm working with google-app-engine-django + zipped django. Just running "python manage.py test" succeeded without error. But with virtualenv, test was failed with "import unittest error". same error with Django 1.1. - OSX 10.5.6 - google-app-engine-django (r101 via svn) : r100 was failed with launcher 1.3.0 - GoogleAppLauncher 1.3.0 -...

Virtualenv problem

I have created a new environement in virtualenv with --no-site-packages and executed activate file. So, shouldn't my current Django app show any error? Environement doesn't have Django installed. I think, my site is using my old python with Django. How can I change it? Maybe it's because my .htaccess file, here it is: SetHandler mod_pyt...

Modpython and virtualenv

Is it any way to run django site on virtualenv without administration rights? How can I do it? Virtualenv is already installed. ...

Can existing virtualenv be upgraded gracefully?

I have a virtualenv created for Python 2.5 and want to "upgrade" it to Python 2.6. Here is how it was originally set up: virtualenv --no-site-packages -p python2.5 myenv I now run virtualenv in the same directory to upgrade: virtualenv --no-site-packages -p python2.6 myenv ... Not overwriting existing python script myenv/bin/pyth...

How do I get virtualenvwrapper and cygwin to co-operate?

I am trying to get virtualenv[wrapper] to work on my windows machine through cygwin. The install is successful, together with easy_install, from these directions: http://www.doughellmann.com/docs/virtualenvwrapper/. The problem comes in when I use the mkvirtualenv [name_of_vir_env]. I get the following output: Blockquote bash-3.1$ ...

Django and VirtualEnv Development/Deployment Best Practices

Hi All, Just curious how people are deploying their Django projects in combination with virtualenv More specifically, how do you keep your production virtualenv's synched correctly with your development machine? I use git for scm but I don't have my virtualenv inside the git repo - should I, or is it best to use the pip freeze and t...

How does one run Spawning with Django within a virtualenv?

Because of the way Eventlet, which Spawning depends on, installs itself, it can't be installed into a virtualenv. The following error (wrapped for readability) illustrates: Running eventlet-0.9.4/setup.py -q bdist_egg --dist-dir \ /tmp/easy_install-m_s75o/eventlet-0.9.4/egg-dist-tmp-fAZK_u error: SandboxViolation: chmod('/home/myuser/...

Sharing scripts that require a virtualenv to be activated

I have virtualenv and virtualenvwrapper installed on a shared Linux server with default settings (virtualenvs are in ~/.virtualenvs). I have several Python scripts that can only be run when the correct virtualenv is activated. Now I want to share those scripts with other users on the server, but without requiring them to know anything ...

Permission problem of .egg of easy_install under windows7/vista

I use the easy_install to install python packages in a virtuaenv under windows7. Due to the UAV, I have to run the CMD as administrator for installing packages. Here comes the problem, I notice that I can't import the package from a normal user account. >>> import tempita Traceback (most recent call last): File "<stdin>", line 1, i...

How do I work around this problem creating a virtualenv environment with a custom-build Python?

I need to run some code on a Linux machine with Python 2.3.4 pre-installed. I'm not on the sudoers list for that machine, so I built Python 2.6.4 into (a subdirectory in) my home directory. Then I attempted to use virtualenv (for the first time), but got: $ Python-2.6.4/python virtualenv/virtualenv.py ENV New python executable in ENV/...

Adding buildout eggs to virtualenv

I have a virtualenv, isolated (no-site-packages) from system site-packages. I have a buildout project with following cfg: [buildout] parts = develop = . eggs = myproject #no effect for now The myproject code for is here: buildout_top_folder/src/myproject/ I am carrying out activities inside the virtualenv. To make myprojec...

Specifying python interpreter from virtualenv in emacs

Today I've been trying to bring more of the python related modes into my emacs configuration but I haven't had much luck. First what I've noticed is that depending on how emacs is launched(terminal vs from the desktop), the interpreter it decides to use is different. launched from kde menu: M-! which python --> /usr/bin/python launche...

MySQLdb within python2.5 virtualenv

I have a Fedora 11 box with MySQL server. Fedora 11 uses python 2.6 internally and python 2.6 is automatically installed on the box. I have created a python virtual-env for version 2.5.5, so that I can run turbogears 1.x application. I have MySQLdb rpm installed on the box (and it works fine with python 2.6). When I import MySQLdb fr...

PIP: Installing only the dependencies

I have a script that creates a virtualenv, installs distribute and pip in it and then optionally clones a git repo. Now I have the project I will be working on, installed. But its dependencies are not installed. How can I make pip install all the dependencies as if I have issued a pip install MyApp? EDIT: Appareantly my question is a d...

Problem running Virtualenv on Mac OS X

I'm using virtualenv-1.4.5 on Mac OS X 10.6.2 (Xcode is installed) and Python 2.6. Here's what I get when I attempt to run a virtualenv... Mac-Pro:pylonsdev paul$ virtualenv --no-site-packages -v trythis Creating trythis/lib/python2.6 Symlinking Python bootstrap modules Symlinking trythis/lib/python2.6/_abcoll.pyc Symlinking trythi...

Django deployment: PIL and virtualenv problem

Hey guys, I'm deploying a Django site on my Vserver (Debian Lenny) and I'm having problem with PIL. I'm using virtualenv as well. When I'm in the virtualenv and type pip install -U PIL everything installs fine and I get this: *** TKINTER support not available --- JPEG support available --- ZLIB (PNG/ZIP) support available *** FREETYPE...