Same here while trying to snap pithos, a python3 client for Pandora... when
running the commnand I get a traceback:
Traceback (most recent call last):
File "/snap/pithos/x1/usr/bin/pithos", line 9, in <module>
load_entry_point('pithos==1.1.1', 'gui_scripts', 'pithos')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569,
in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229,
in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235,
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/snap/pithos/x1/usr/share/pithos/pithos/pithos.py", line 34, in <module>
import gi
ImportError: No module named 'gi'
and looking at the wrapper, PYTHONPATH is only:
export PYTHONPATH=$SNAP/usr/lib/python3.5/dist-packages
but gi is located in $SNAP/usr/lib/python3/dist-packages:
bladernr@galactica:~/development/snappy/pithos$ find /snap/pithos/ -type d
-name gi
/snap/pithos/x1/usr/lib/python3/dist-packages/gi
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1594059
Title:
python3 plugin produces wrappers with a broken PYTHONPATH
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1594059/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs