Re: [Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Robert Sudwarts
Some success! I think my lack of understanding of how virtualenv (and dist- vs site-packages) actually works is to blame... The "--no-site-packages" flag does what it says on the tin and the dist-packages are available whether or not this option is used Hence, no need (in my case) to build

Re: [Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Robert Sudwarts
Thanks to both of you for your replies. I should have included the info that I've tried to build matplotlib using virtualenv with the --no-site-packages option. ... And in the meantime, I have an existing (and working) build, courtesy of the Ubuntu package manager. Seeing as the package manager

Re: [Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Benjamin Root
I don't know if this is the same issue that I had once, but I will just throw it out there. Once I compiled matplotlib myself before double-checking that I had all the needed development files and so the build process didn't produce all the files for tkagg and used GTKAgg instead. I had to get al

Re: [Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Michael Droettboom
On 06/09/2010 10:47 AM, Robert Sudwarts wrote: > Hi, > > I've installed matplotlib in a virtual environment but am having a > problem with generating a plot. > I've tried to run a "simple_plot.py" both as a script and from within > the ipython/python shell. > > I've changed the backend in > virt

[Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Robert Sudwarts
Hi, I've installed matplotlib in a virtual environment but am having a problem with generating a plot. I've tried to run a "simple_plot.py" both as a script and from within the ipython/python shell. I've changed the backend in virtualenvs/.../lib/python2.6/site-packages/matplotlig/mpl-data/matplo