By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

Re: module import problem

P: n/a
Milos Prudek wrote:
I have a Kubuntu upgrade script that fails to run:

File "/tmp/kde-root//",
line 34, in <module>
import GnuPGInterface
No module named GnuPGInterface

I got a folder /usr/share/python-support/python-gnupginterface with
a "" but no

In python command line, print sys.path shows that /usr/share/python-support/
is not among python paths.

If I cd into /usr/share/python-support/python-gnupginterface and launch Python
I can "import GnuPGInterface". But when I run in
that folder it always fails with No module named GnuPGInterface.

I do not know much about setting python path.
This doesn't help solve your problem, but /usr/share/python-support
doesn't need to be in Python's path because python-support puts symlinks
to it in /usr/share/python*/site-packages.
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.