This is not a duplicate of this question.
I am already aware of virtualenv and virtualenvwrapper and pip but they don't quite seem to have exactly what I want.
I'm looking for a way that I can not only have multiple versions of Python installed but also multiple versions of Django (for example) and mix and match the "active" versio...
I'm having a small problem with my setup. I'm quite new to the django world so bare with me.
A friend who is familiar has set up a VPS (Ubuntu) for my project.
I'm now on my own trying to add a new module (south) so I can use manage.py migrate
When the virtualenv was deactivated I installed the module
sudo pip -E /var/www/env/e...
PyPi shows matplotlib 1.0.0. However, when I install matplotlib via pip into a virtualenv, version 0.91.1 is installed.
Why the difference in versions?
Is there a way to pip install matplotlib 1.0.0?
Research
It appears that matplotlib's DOAP record on PyPi is pointing to the correct version. Below is the DOAP record for reference:...
How can I specify optional dependencies in a pip requirements file? According to the pip documentation this is possible, but the documentation doesn't explain how to do it and I can't find any examples on the web.
...
I'm a beginner with Django and I'm having trouble installing django-basic-apps using pip.
If I do this...
$ cat requirements.txt
git+git://github.com/nathanborror/django-basic-apps.git
$ pip install -r requirements.txt
I end up with lib/python2.6/site-packages/basic/blog that does NOT have
a templates directory.
If I do this.....
Current Python Workflow
I have pip, distribute, virtualenv, and virtualenvwrapper installed into my Python 2.7 site-packages (a framework Python install on Mac OS X). In my ~/.bash_profile I have the line
export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache
This gives a workflow as follows:
$ mkvirtualenv pip-test
$ pip install nose...
When running Pip with a requirements.txt file which has fixed versions, we get the following error (or similar):
VersionConflict: (solrpy 0.9.1
(.../lib/python2.6/site-packages/solrpy-0.9.1-py2.6.egg),
Requirement.parse('solrpy==0.9.3'))
because the version conflicts. Using pip install -U -r requirements.txt fixes this, but it al...
I have virtualenv with --no-site-packages option. I'm using scrapy in it. Scrapy uses libxml2 by import libxml2. How to install libxml2 in virtualenv using pip or easy_install?
...
I tried to package a django app today. It's a big baby, and with the setup file, I have to manually write all packages and sub packages in the 'package' parameter. Then I have to find a way to copy fixtures, htmls / Css / image files, documentations, etc.
It's a terrible way to work. We are computer scientists, we automatize, doing this...
I am wanting to create a suite of interrelated packages in Python. I would like them all to be under the same package but installable as separate components.
So, for example, installing the base package would provide the mypackage but there would be nothing in mypackage.subpackage until I install it separately.
Is this possible with di...
I'm following the outline of the hudson/python/virtualenv CI solution described at heisel.org but one step of this is really chafing, and that's the part where the virtualenv, created just for the CI run, is configured:
pip install -q -E ./ve -r requirements.pip
pip install -q -E ./ve -r requirements-test.pip
This takes an inordinate ...
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 returns the following error:
% python setup.py install ...
Hey Guys,
Assuming you have a project setup like this
-WebApp
|_ requirements.txt
|_ bootstrap.py (virtualenv bootstrap script)
|_ src
|_ setup.py
|_ develop-app
|_ somecode.py
|_ morecode.py
The bootstap.py is created with virtualenv:
http://pypi.python.org/pypi/virtualenv#creating-y...