scl enable python27 bash - does not work

Issues related to applications and software problems
Post Reply
iaclovato
Posts: 3
Joined: 2017/10/02 20:38:58

scl enable python27 bash - does not work

Post by iaclovato » 2017/10/02 20:47:15

I've used SCL in the past but for some reason scl does nothing in this install. Trying `scl enable python27 bash` right after installation and get an error.

CentOS 6.9
centos-release-scl-rh-2-3.el6.centos.noarch.rpm
scl-utils-20120927-27.el6_6.x86_64
scl-utils-build-20120927-27.el6_6.x86_64

[root@$HOST ~]# scl enable python27 bash
/opt/rh/python27/ doesn't exist

No idea how to start troubleshooting this. Any assistance would be appreciated.

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: scl enable python27 bash - does not work

Post by chemal » 2017/10/02 23:38:39

How about actually installing the specific scls you want to use? Like yum install python27-python, etc.

iaclovato
Posts: 3
Joined: 2017/10/02 20:38:58

Re: scl enable python27 bash - does not work

Post by iaclovato » 2017/10/03 15:03:43

chemal wrote:How about actually installing the specific scls you want to use? Like yum install python27-python, etc.
The Python27 and its deps I have comes from the scl repo.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: scl enable python27 bash - does not work

Post by TrevorH » 2017/10/03 15:15:37

What's the output from rpm -qa python27\*
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

iaclovato
Posts: 3
Joined: 2017/10/02 20:38:58

Re: scl enable python27 bash - does not work

Post by iaclovato » 2017/10/03 21:04:49

TrevorH wrote:What's the output from rpm -qa python27\*
python27-python-setuptools-0.9.8-4.el6.noarch
python27-python-pip-8.1.2-1.el6.noarch
python27-python-babel-0.9.6-7.sc1.el6.noarch
python27-python-sqlalchemy-0.7.9-3.sc1.el6.x86_64
python27-python-nose-1.3.0-1.sc1.el6.noarch
python27-python-jinja2-2.6-10.sc1.el6.noarch
python27-python-sphinx-1.1.3-7.sc1.el6.noarch
python27-python-simplejson-3.2.0-2.el6.x86_64
python27-python-virtualenv-13.1.0-2.el6.noarch
python27-runtime-1.1-25.el6.x86_64
python27-python-libs-2.7.13-3.el6.x86_64
python27-python-2.7.13-3.el6.x86_64
python27-python-werkzeug-0.8.3-5.sc1.el6.noarch
python27-python-pygments-1.5-2.sc1.el6.noarch
python27-python-markupsafe-0.11-11.sc1.el6.x86_64
python27-python-docutils-0.11-2.el6.noarch
python27-python-wheel-0.24.0-2.el6.noarch
python27-python-devel-2.7.13-3.el6.x86_64
python27-1.1-25.el6.x86_64

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: scl enable python27 bash - does not work

Post by chemal » 2017/10/05 13:59:58

/opt/rh/python27/ doesn't exist
Did you check this? ls -R /opt/rh/python27 ...

Post Reply