I have also had trouble getting the python27 SCL and Qt running in together
as well. I don't think there was any problem per se with using the
yum-installed PyQt4 with the python27 SCL (make sure you are working within
a python27 environment as Orion mentioned with something like `scl enable
python27 bash`). The problem I had was that Qt in RHEL6 is too old for
IPython -- RHEL6 comes with Qt 4.6 but IPython requires Qt 4.7 or 4.8 (no
Qt 5 support yet). I'm not sure if this is the same issue you are having,
but thought I'd throw it out there.

I ended up doing a Fedora Rawhide-to-RHEL6 port of the latest qt and PyQt4
RPMs (as well as the sip package since PyQt4 required a newer version...).
This was back before SCLs existed and only worked for me because I had no
other packages installed that depended on Qt (not running KDE, for
example). Today, I would redo this as an SCL -- maybe call it Qt4.8 and
have the PyQt4 package in that SCL depend on python from the python27 SCL.
I may get around too this at some point, but if anyone would like to do
this and share the results on softwarecollections.org I'd be happy to
provide the upgraded RHEL6-compatible SRPMs for qt, PyQt4, and sip to get
them started. Or if anyone has a better idea, I'd love to hear!

Regards,
Taylor


On Sun, May 11, 2014 at 4:04 PM, Javier Ruiz Aranguren <[email protected]>wrote:

> I wanted to set up a python27 + spyder IDE environment in SL65. I also
> wanted to control this environment so I could set up another for python33
>  in
> the future.
>
> This is what I did:
>
> Install python27 with yum from softwarecollections repo:
> http://ftp.scientificlinux.org/linux/scientific/6.4/x86_64/external_produ
> cts/softwarecollections/
> That installed python27 in opt/rh/root/...
>
> Then I wanted to enable pip and then install spyder IDE. spyder IDE needs
>
> qtwebkit and PyQt4-webkit. So I used yum again but it installed those
> packages for system python instead of python27. So the spyder IDE fails t
> o
> launch because it misses PyQt4.
>
> Please provide me with some clues in order to set up this environment (I
> might start from scratch) without messing everything from the beginning.
> Thank you.
>

Reply via email to