All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
65 views

Centos 7 python update package python-2.7.5-80 rpm

I am looking for this RPM python-2.7.5-80.el7_6.x86_64.rpm to address the security issue. yum update not getting this package? Any idea how to get this version of rpm for centos 7? Thanks Update ...
1
vote
1answer
162 views

Upgraded Python, and now I can't run “yum upgrade”

I have upgraded my system (CentOS 7) to Python 3.7 and it seems that has broken a ton of things. In particular, I can't perform a yum upgrade ... [myuser@server ~]$ sudo yum upgrade Loaded plugins: ...
1
vote
1answer
517 views

No module named yum CentOS6

I think I messed up my python config now yum wont work. I'm getting error 'No module named yum'. I have tried editing /usr/bin/yum and adding #!/usr/bin/python2.6 as the interpreter but this has not ...
0
votes
1answer
392 views

After installing anaconda-2.5.3 in centos 7 , yum and gnome not working

Normally i do the installation from shell command as shown below.. sh Anaconda2-5.3.0-Linux-x86_64.sh After the installation i realised that some dependencies for the python package yum gone missing....
1
vote
0answers
871 views

Yum not found on Centos 7 “ No module named yum”

I recently installed CentOS 7 but have run into an issue with yum. I get the following error: There was a problem importing one of the Python modules required to run yum. The error leading to this ...
2
votes
2answers
200 views

yum stopped wokring on my ec2 instance

I have an EC2 instance on which I was trying to install spark.I removed the required system python version from the system by mistake and nothing relying on python seems to work now including yum and ...
1
vote
1answer
46 views

How to recover from a major mistake that breaks yum

I was attempting to update my CentOS 7 system tonight and kept getting an error from python-urllib3. I tracked down the error to a directory that should not have been present. So, I went to remove ...
-1
votes
2answers
373 views

What is the difference on a system level between installing python packages with yum as opposed to pip?

I'm wondering what the difference is between pip, the Python package installer, and yum? As a means of providing some context to my question: I assume the first answer will be because PIP is only ...
3
votes
1answer
2k views

Python issues on CentOS - error loading shared libraries - libpython2.7.so.1.0

One of our CentOS servers has went into a strange state and is complaining that libpython2.7.so.1.0 cannot open shared object files. Yum is unusable and other features are failing to function (such ...
0
votes
1answer
384 views

Why has MySQL-python package been removed as part of the removal of MariaDB?

Recently I removed some MariaDB packages in order to install a new version from an RPM file. yum remove mariadb mariadb-server mariadb-libs And as part of the process yum also removed MySQL-python ...
1
vote
1answer
58 views

how to make python2.7 main python (alongside python 2.6) without breaking yum in centos?

I was told that yum is dependent on python 2.6 so i cannot remove 2.6 but i need python 2.7 to run my django project on my centOS server. Any workaround is appreciated as well.
1
vote
1answer
2k views

`rpm -qa` vs `yum list installed`: Why certain packages can be found with `rpm -qa` only?

I've Python 2.7.5 installed in CentOS and wondering why I can find this using rpm -qa but not yum list installed command? [root@CentOS7 centos]# python -V Python 2.7.5 [root@CentOS7 centos]# [root@...
1
vote
1answer
1k views

Why does `yum search` can't find latest Python version?

According to yum documentation in centos.org, any packages can be found in all repositories using yum search command. yum search This command is used to find any packages containing the ...
3
votes
1answer
433 views

YUM python package What is the diffrence

i have a question about the yum Python packages. In the YUM reposetory there are two different packages. python34.x86_64 : Version 3 of the Python programming language aka Python 3000 python34u....
0
votes
1answer
226 views

Building Python 2.7 and Pandas in a different directory

What's the best way to install Python 2.7 and Pandas (with its dependencies), to a separate directory so that it doesn't interact with the OS version? I'm building everything on a separate machine, ...
2
votes
1answer
5k views

Python 2.7 install on Scientific Linux 6 via SCL devtoolset

I understand Scientific Linux 6 uses Python 2.6.6 for several critical utils, including yum, according to this article How to install Python 27 on Centos 6 The simplest and hopefully cleanest install ...
4
votes
1answer
12k views

yum Error: No module named site

I installed Greenplum on Centos 7 and now I cannot use yum. I need to install samba-client but when I run: yum install samba-client I see this error: ImportError: No module named site which python ...
1
vote
1answer
3k views

yum is broken because of missing Python module (RHEL 6.4)

When I run $ yum I see: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/libssh2.so.1: symbol EVP_aes_128_ctr, ...
1
vote
1answer
1k views

I installed python 2.7 on RHEL6 server, want to go back to 2.6

I am on RHEL6 and I installed python27 using these commands: sudo sh -c 'wget -qO- http://people.redhat.com/bkabrda/scl_python27.repo >> /etc/yum.repos.d/scl.repo' sudo yum install python27 ...
1
vote
0answers
1k views

Fatal Python error: pycurl: libcurl link-time version is older than compile-time version

When updating yum via sudo on our (Amazon Linux) server, I get the following error: Fatal Python error: pycurl: libcurl link-time version is older than compile-time version I find the following ...
2
votes
1answer
4k views

No module named yum [closed]

I am facing errors while running any yum commands on centos 7 system No module named yum Please install a package which provides this module, or verify that the module is installed correctly. It's ...
0
votes
1answer
367 views

Centos 5.11 No module named yum [closed]

I'm running Centos 5.11 and I installed python 2.7 (replacing 2.4) I soon found out that yum won't work with 2.7, as expected if I put python -V it shows Python 2.7. My classmate did a snapshot of ...
1
vote
1answer
1k views

ImportError: No module named '_struct' when installing setuptools

I've installed separate Python versions on Centos 6.7 using the instructions listed here, using a local install (not my package manager). When I tried to install [setuptools][2] (e.g. python3.5 ...
1
vote
3answers
2k views

Getting Error updating CentOS 6.7

I am trying to update CentOS and getting errors as follows. I tried to remove Python and I couldn't. [root@csc ~]# cat /etc/issue CentOS release 6.7 (Final) Kernel \r on an \m Error updating Cent-OS ...
0
votes
2answers
665 views

CentOS 6, having hard time with yum, repos and installing packages

I'm having some hard time with yum. My end goal is to install the pymssql library for Python. It fails because it needs freetds install. yum install freetds fails with Loaded plugins: fastestmirror ...
3
votes
2answers
1k views

installing dsc30 - python 2.6 fights back

I'm trying to upgrade some systems to Cassandra 3.x. The installer wants Python(abi) >= 2.7, so I installed it. Still seeing this error: Resolving Dependencies --> Running transaction check --->...
1
vote
1answer
4k views

Yum Corrupted on RHEL 6

. I am encountering the issue with my yum command. It seems to be exactly the same as the issue described on this site, Yum corrupted on CentOS 6.2, Problem importing one the python modules This ...
0
votes
0answers
671 views

broken yum/python

Yum seems to be broken and below is the error. 'import site' failed; use -v for traceback There was a problem importing one of the Python modules required to run yum. The error leading to this ...
0
votes
1answer
356 views

/usr/lib/python2.4/site-packages/cElementTree.so: wrong ELF class: ELFCLASS32

yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib/python2.4/site-packages/cElementTree.so: wrong ELF class: ...
0
votes
1answer
106 views

Make python module as an installable API

I am developing an API in Unix environment for virtual machines. Most of the modules are developed in python. I have few questions on this. I want to make this as an installable API, I mean to ...
2
votes
1answer
1k views

How to install Node.js in CentOS 5.10 with Python 2.4?

I want to use Grunt on websites we have hosted on our WHM dedicated server. It is running CENTOS 5.10 x86_64 standard with WHM 11.42.1 (build 21). It is critical that things do not break, as we have ...
0
votes
1answer
853 views

install python module for particular python instance

I have 2 python instance on a CentOS machine, i.e. /usr/bin/python2.4 and /usr/bin/python2.7. Modules for 2.4 are in /usr/lib/python2.4, and modules for 2.7 are in /usr/local/python27. When I do ...
1
vote
2answers
4k views

Installing Samba 4.0.7 on CentOS 6.4

CentOS 6.4's yum repo has only 4.0.0. I see some major security and stability patches since then. So I signed up for SerNet, and followed their directions to install their GPG key. Then I did: ...
0
votes
1answer
1k views

RHEL6 Install MySql-Python without internet connection?

Using RHEL 6 how can you install MySql-Python package without a internet connection? I can SCP files to the server but our current restrictions do not allow a direct or proxy connection to the ...
3
votes
3answers
20k views

On Red Hat Enterprise Linux 6.2 how can I use Python 2.7 as default not Python 2.6? I did but still showing 2.6?

RHEL 6.2 I have python 2.6 but I need default python 2.7 using yum packaging (so that nothing goes messed up, cause its a heavy duty working system, all I need the python 2.7 on it, without messing up)...
2
votes
1answer
2k views

Replace python built with UCS4 with UCS2

I've got fedora fc15 installed with python 2.7.1-7.fc15. It is built with ucs4 and I've got some packages here at work that are built with ucs2. I now cannot build other packages that use these ucs2 ...