On 23-03-12 22:01, darwin_tech wrote:
Yes, that is true. I set the virtualenv with --no-site-packages as I
want a reproducible environment for my Django project. This should not
mean that I cannot install matplotlib within the virtualenv though, surely?
You can install matplotlib just fine in your virtualenv, but with one 
prerequisite: all necessary libraries and header files must be available 
for pip to be able to compile matplotlib.
This compiling-and-grabbing-headers stuff is already handled for you by 
your OS and now you'll have to do it yourself. Which is fine, but it 
*does* mean you must have all xyz-devel packages installed.

An alternative is to keep your global python clean and only install specific packages with your OS that are best handled by the OS. Don't "pip install" other stuff by hand.

Reinout

--
Reinout van Rees                    http://reinout.vanrees.org/
rein...@vanrees.org             http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to