I was finally able to launch gufw !!! :)
-
All I did was to simply switch the order of usr/local/bin and usr/bin paths
within $PATH and reload:
@jean Great :) Just enjoy Gufw and your Ubuntu :D
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1194791
Title:
Python doesn't find modules in Ubuntu 13.04
To manage notifications about
Here's the content of my PATH variable:
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/actionmystique/bin:/usr/local/java/jre1.7.0_25/bin
I'm not an Ubuntu expert, so I cannot understand the meaning of your
export
** No longer affects: python
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1194791
Title:
Python doesn't find modules in Ubuntu 13.04
To manage notifications about this bug go to:
Here are the results:
import sys
sys.path
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload',
Sorry, remove the slash:
No this: sys.path.append('/usr/lib/python2.7/dist-packages/')
This: sys.path.append('/usr/lib/python2.7/dist-packages')
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
Well, could you try this?
python
import sys
sys.path.append('/usr/lib/python2.7/dist-packages/')
import dbus
Did import dbus work? :)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1194791
import sys
sys.path.append('/usr/lib/python2.7/dist-packages')
import dbus
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.7/dist-packages/dbus/__init__.py, line 82, in module
import dbus.types as types
File
Your gufw is assuming particular python version and paths, and correct behavior
from other apps.
I don't know anything about python, but your app should not depend on these.
Why don't you:
- test python version installed on the system prior to launch
- include the expected paths of the packages
It appears to me that your system has two python 2.7 installs; one from
the package manager, and one you installed manually for some reason. You
should install Gufw's dependencies on your manual python install, or get
rid of it and use the system-provided python install which should
already have
http://stackoverflow.com/questions/1847249/how-can-i-correct-corrupted-pythonpath
I think this could fix it??
sudo update-python-modules -p
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
11 matches
Mail list logo