Unable to access CentOS setup Network Configuration after attempting Python update

Thread Tools Search this Thread
Operating Systems Linux Unable to access CentOS setup Network Configuration after attempting Python update
# 1  
Old 06-27-2014
Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues after then. Initially yum wouldn't work, but I have resolved that.

However, now I am unable to access the Network Configuration section under setup.

When I do select this option I see this at the command line:


[root@crmpicco ~]# setup
Traceback (most recent call last):
  File "/usr/sbin/system-config-network-tui", line 9, in <module>
    from snack import *
ImportError: No module named snack

Line 9 on that file is this:


from snack import *

I'm not familiar with Python (i'm a PHP developer), so i'm not sure where to go with this or how to fix it.

This is what I have installed relating to Python:

[root@crmpicco ~]# yum list installed | grep python
MySQL-python.x86_64                      1.2.1-1                       installed
audit-libs-python.x86_64                 1.7.18-2.el5                  installed
dbus-python.x86_64                       0.70-9.el5_4                  installed
gamin-python.x86_64                      0.1.7-8.el5                   installed
gnome-python2.x86_64                     2.16.0-1.fc6                  installed
gnome-python2-bonobo.x86_64              2.16.0-1.fc6                  installed
gnome-python2-canvas.x86_64              2.16.0-1.fc6                  installed
gnome-python2-gnomevfs.x86_64            2.16.0-1.fc6                  installed
libselinux-python.x86_64                 1.33.4-5.7.el5                installed
libxml2-python.x86_64                    2.6.26-        installed
libxslt-python.x86_64                    1.1.17-2.el5_2.2              installed
mod_python.x86_64                        3.2.8-3.1                     installed
python.x86_64                            2.4.3-43.el5                  installed
python-devel.i386                        2.4.3-43.el5                  installed
python-devel.x86_64                      2.4.3-43.el5                  installed
python-elementtree.x86_64                1.2.6-5                       installed
python-iniparse.noarch                   0.2.3-4.el5                   installed
python-libs.x86_64                       2.4.3-43.el5                  installed
python-numeric.x86_64                    23.7-2.2.2                    installed
python-sqlite.x86_64                     1.1.7-1.2.1                   installed
python-urlgrabber.noarch                 3.1.0-6.el5                   installed
python26.x86_64                          2.6.8-2.el5                   installed
python26-libs.x86_64                     2.6.8-2.el5                   installed
rpm-python.x86_64                              installed

Last edited by crmpicco; 06-27-2014 at 08:58 AM..
# 2  
Old 06-27-2014
Google search suggest you should install newt and newt-python from your Centos repository.

# 3  
Old 06-27-2014
Python is the default system administration scripting language in Fedora and downstream. If you just updated Python and do not update all the components that use python, you can expect lots of stuff to break. Not just yum and system-config-network-tui.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Not able to setup CentOS 7 as gateway [Using squid proxy]

Hello, Did anyone setup a CentOS7 as a gateway (with squid transparent proxy). I am trying to do so but not able to setup. I setup squid , iptables (using it instead of firewalld) and all the necessary IPtables rules but nothing work. It work previously but access.log of squid not getting... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

2. UNIX for Advanced & Expert Users

Issue setup Transparent proxy and Gateway using Squid on CentOS 7

Hello, We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration. #Firewalld configurations firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

3. Red Hat

Problem Openvas-setup in CentOs 6.7 !

hi I installed Openvas we have the following problem internet Connection is Ok Even Reinstall the problem is not resolved Openvas Setup, Version: 0.5 Step 1: Update NVT's and SCAP data Please note this step could take some time. Once completed, NVT's and SCAP data will be updated... (12 Replies)
Discussion started by: mnnn
12 Replies

4. Shell Programming and Scripting

**python** unable to read the background color in python

I am working on requirement on spreadsheet in python scripting. I have a spreadsheet containing cell values and with background color. I am able to read the value value but unable to get the background color of that particular cell. Actually my requirement is to read the cell value along... (1 Reply)
Discussion started by: giridhar276
1 Replies

5. Red Hat

DNS Server Setup Centos 6.5 Issues

I am having a bit of trouble getting my CENTOS 6.5 DNS server to work correctly in our testlab environment. Lab network is in which we all access from && Here are my configs: options { listen-on port 53 {;;}; #listen-on-v6 port 53 {... (2 Replies)
Discussion started by: metallica1973
2 Replies

6. IP Networking

Unable to access web application hosted in same network

All, I have various web applications hosted in a client network. These web apps are accessed through a Apache web server. We have deployed a new web application server and it is not serviced through the Apache web server. So i am unable to access this applications. But i am able to access... (3 Replies)
Discussion started by: vel4ever
3 Replies

7. IP Networking

How i can setup socks 5 in CentOS?

how i can setup socks 5 in centos? (1 Reply)
Discussion started by: hesamii
1 Replies

8. Linux

How i can setup socks 5 in CentOS?

how i can setup socks 5 in centos? (0 Replies)
Discussion started by: hesamii
0 Replies

9. Solaris

Unable to access open solaris across the network.

Hi Everyone, I have installed open solaris 10 on one of the x86 machines available but inspite of configuring the IP i am unable to access the machine through the network. Can anyone please help me wih the settings required to access the machine across the network.Its really Urg..Any help is... (13 Replies)
Discussion started by: sankasu
13 Replies

10. Solaris

unable to setup network,urgent help needed!!

Hi all, I just bought a new system, but am unable to configure network on it.. am using a nge0 ethernet interface to login. i've tried all i knew but not of the webpages seem to open. Here is what i've done.. ifconfig nge0 plumb ifconfig -a (nge0) was being displayed as up and running. ... (23 Replies)
Discussion started by: wrapster
23 Replies
Login or Register to Ask a Question

Featured Tech Videos