On 10/12/2011 10:47 PM, Durrieu Jean-Louis wrote:
> Dear all, matplotlib users and devs,
>
> I have been trying the latest announced version of Matplotlib
> (1.1.0). The new feature that attracted me is the PySide support.
>
> However, I tried to install it under Ubuntu 11.04, but I needed pyqt4
> installed in order to install it from source. Is there a way to
> install it with only pyside installed?

There is no compiled qt4 code, so installation should not require 
pyqt4--and I don't think it does.  What led to your conclusion that you 
needed it to install from source?

In any case, I opened
https://github.com/matplotlib/matplotlib/issues/521 for this.

>
> Once installed, I could uninstall pyqt4, and run my python scripts,
> with replacing pyqt4 by pyside. However, I am not sure what the "ETS
> environment variable" is (yes, it s related to the enthought tool
> suite, but what if I do not want it - for now), and I had to set the
> QT_API variable on the command line call to python: setting it as a
> "normal" environment variable does not work. So, to be able to use
> "only" pyside, I need to do:
>
> QT_API=pyside python myscript.py
>
> Is that the right way to do so? Is there any way of setting the
> QT_API more "definitely", and not having to change the call to
> python?

This does not make sense to me.  Assuming you are using bash, put this 
in your .bashrc file:

export QT_API=pyside

Anything you execute in a terminal window opened after that change 
should find the new environment variable.

Eric

>
> So far, my program (I really have only one at the moment) seems to
> work well, using QtCore, QtGui and phonon, except for phonon, where
> it seems that "seeking" in a file does not really work under
> Ubuntu... if anyone has an idea (I know, not the right mailing list,
> but just in case).
>
> At last, probably a question that will solve all the above ones: when
> is the new Matplotlib version going to be included in EPD? That's, by
> the way, mainly the reason why I consider using PySide instead of
> PyQt4.
>
> Thanks for reading!
>
> Cheers,
>
> Jean-Louis

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to