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 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 though - do I need to install libpng in the > > virtualenv (sorry - just starting to use virtualenv) ? > > > > Sam > > > > No, the C compiler is entirely ignorant about virtualenv, they are > solely a python thing. You probably have libpng installed, but not > libpng-devel, which supplies the headers that allow programs to > compile against libpng*. Alternatively, you may not have libpng > installed at all... > > Cheers > > Tom > > * 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. > > On Friday, 23 March 2012 09:59:25 UTC-6, Tom Evans wrote: > > On Fri, Mar 23, 2012 at 3:45 PM, darwin_tech <cronnelocto...@gmail.com> > 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 though - do I need to install libpng in the > > virtualenv (sorry - just starting to use virtualenv) ? > > > > Sam > > > > No, the C compiler is entirely ignorant about virtualenv, they are > solely a python thing. You probably have libpng installed, but not > libpng-devel, which supplies the headers that allow programs to > compile against libpng*. Alternatively, you may not have libpng > installed at all... > > Cheers > > Tom > > * 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. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/dXuPEeWsqJcJ. 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.