Tagged Questions

0
votes
1answer
48 views

How to activate mysqldb for Django in virtualenv

OK. So I've been treading on the thin edge of madness trying to get a Python virtualenv with Django set up. Tried a couple of different tutorials, first on Mac and then on Linux (Ubuntu), and always ...
0
votes
1answer
66 views

Have MySQLdb installed, works outside of virtualenv but inside it doesn't exist. How to resolve?

I'm using the most recent versions of all software (Django, Python, virtualenv, MySQLdb) and I can't get this to work. When I run "import MySQLdb" in the python prompt from outside of the virtualenv, ...
1
vote
1answer
183 views

Install MySQL-python in virtualenv on Windows 7

I'm trying to install MySQL-python in my virtualenv (Windows 7 32b + Python 2.7.3), but unfortunately after command: pip install MySQL-python I get error message: Install packages failed: Error ...
1
vote
1answer
78 views

why am I getting warning: no files found matching 'MANIFEST', 'ChangeLog', 'GPL when mysql-python installs successfully

When using pip to install mysql-python in virtualenv on ubuntu, the install goes through successfully but with the following warnings: warning: no files found matching 'MANIFEST' warning: no files ...
0
votes
1answer
305 views

How to install MySQLdb in python2.7 installing in virtualenv

How I can solve this one? Also I have MySQL-python-1.2.3 dist in venv/lib. And before that it was installed like python setup.py install It's working correctly if only I'm using: $ python ...
1
vote
1answer
495 views

Django Dev Environment Broken Following Mac OS 10.7 Reinstall

I recently experienced trouble with my hard drive and used Disk Utilities to reinstall Mac OS 10.7 Lion. When I went to run my Django app, I got the following errors: ################ BEGIN ERRORS ...
1
vote
2answers
85 views

Why do I get an error when running mysqld in a virtualenv?

When I run mysqld in my virtualenv I get an error and abort message. (nettuts)sez@sez-laptop:~/.virtualenvs$ mysqld 111220 15:22:59 [Warning] Can't create test file ...
0
votes
1answer
216 views

Error installing eggs with packages for different python version with virtualenv

I'm not able to install packages with a virtualenv set to a different python version. Here's my $: $ sudo apt-get install python-setuptools python-dev build-essential $ sudo easy_install -U pip $ ...
1
vote
1answer
821 views

When I create a virtualenv, python runs in 64-bit even when already set to 32-bit in OSX

My setup is: 2.6.1 python (apple default, snow leopard), virtualenv, and using virtualenvwrapper Outside the environment, everything runs in 32-bit which is fine. But with a new project I'm going to ...
1
vote
2answers
935 views

virtualenv gcc error

IF I use --no-site-packages option while creating a virtualenv and try to install MySQL-python afterwards I get : error: command 'gcc' failed with exit status 1 Here are the steps I followed: ...
2
votes
2answers
2k views

Registry error when installing MySQL-python into virtualenv using pip and easy_install

The pip and easy install commands (install MySQL-python) provide the massive error listed below. I've been looking around for an answer a while now on this site and through google. The recurring ...
-1
votes
2answers
2k views

Installing MySQL-python via pip/virtualenv for python 2.5 (on a linux system with python2.6)

I am trying to set up a virtualenv for a django project. It needs MySQL-python. I'm trying to replicate the production environment, which uses python 2.5. My Ubuntu desktop has python 2.5. I can ...
8
votes
1answer
2k views

Using PIP in a virtual environment, how do I install MySQL-python

When I'm in my virtual environment, I attempt to run: pip install MySQL-python This didn't work, so I tried downloading the package and installing it by running: python setup.py install This ...
7
votes
6answers
7k views

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 ...