Re: No module named snack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Apr 30, 2008 at 10:59:46PM -0400, Matt Morgan enlightened us:
> everyone--I'm back on the list after some time not managing any Centos
> machines. It's good to be back.
> 
> I'm trying to switch a server from sendmail to postfix. It's Centos 4.6. I
> installed postfix and system-switch-mail. When I run system-switch-mail, I
> get
> 
> Traceback (most recent call last):
>   File "/usr/sbin/system-switch-mail", line 89, in <module>
>     main()
>   File "/usr/sbin/system-switch-mail", line 76, in main
>     from switchmail_tui import mainDialog
>   File "/usr/share/system-switch-mail/switchmail_tui.py", line 36, in
> <module>
>     from snack import *
> ImportError: No module named snack
> 
> "Snack" appears to be a python module provided by a package called newt,
> which is installed:
> 
> # rpm -qf /usr/lib/python2.3/site-packages/snack.py
> newt-0.51.6-9.rhel4
> 
> What am I doing wrong?
> 

Not using python 2.3 perhaps?

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux