Re: Pip install matplotlib error with virtualenv

2012-03-26 Thread Reinout van Rees
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

Re: Pip install matplotlib error with virtualenv

2012-03-24 Thread darwin_tech
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? Sam On Friday, 23 March 2012 14:42:55 UTC-6, Reinout van Rees wrote: > > On 23-

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread Reinout van Rees
On 23-03-12 21:37, Reinout van Rees wrote: On 23-03-12 18:51, darwin_tech wrote: the weird thing is that matplotlib works fine on my system. If I have a Django project running outside of virtualenv, there is no problem and matplotlib is on the pythonpath. One of virtualenv's options is to isol

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread Reinout van Rees
On 23-03-12 18:51, darwin_tech wrote: the weird thing is that matplotlib works fine on my system. If I have a Django project running outside of virtualenv, there is no problem and matplotlib is on the pythonpath. One of virtualenv's options is to isolate you *completely* from the system python

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread darwin_tech
Hi Tom, the weird thing is that matplotlib works fine on my system. If I have a Django project running outside of virtualenv, there is no problem and matplotlib is on the pythonpath. Sam On Friday, 23 March 2012 09:59:25 UTC-6, Tom Evans wrote: > > On Fri, Mar 23, 2012 at 3:45 PM, darwin_tech

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread Reinout van Rees
On 23-03-12 16:59, Tom Evans wrote: * Do Linux distros still do this? I use FreeBSD, so am not affected by this madness. Why would an OS install a binary library and not install the headers, the very thing that allow you to use the library yourself. Madness. At least ubuntu still does this. On

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread Tom Evans
On Fri, Mar 23, 2012 at 3:45 PM, darwin_tech wrote: > Thanks for the reply. > > I guess not directly related to Django, though this virtualenv is very much > for the purpose of a Django project and I hoped other Django users had come > across this particular problem. > > Thankyou for the response

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread darwin_tech
Thanks for the reply. I guess not directly related to Django, though this virtualenv is very much for the purpose of a Django project and I hoped other Django users had come across this particular problem. Thankyou for the response though - do I need to install libpng in the virtualenv (sorr

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread Tom Evans
On Fri, Mar 23, 2012 at 3:06 PM, darwin_tech wrote: > I am trying to install matplotlib in a new virtualenv. > > When I do: > > pip install matplotlib > > or > > pip install > http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.tar.gz > > I get this error:

Pip install matplotlib error with virtualenv

2012-03-23 Thread darwin_tech
I am trying to install matplotlib in a new virtualenv. When I do: pip install matplotlib or pip install http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.tar.gz I get this error: building 'matplotlib._png' extension gcc -pthread -fno-strict-alia