On 05/11/2014 02:04 PM, Javier Ruiz Aranguren 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_products/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 to
> 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.
> 

You need to do something like:

scl enable python27 pip install ...

To use the python 2.7 SCL environment.

See also:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/1/html/Software_Collections_Guide/


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email protected]
Boulder, CO 80301              http://www.cora.nwra.com

Reply via email to