You are not logged in.
python2 something.py
Traceback (most recent call last):
File "something.py", line 15, in <module>
import some.thing
File "/home/something.py", line 20, in <module>
import autobahn.websocket
ImportError: No module named autobahn.websocket
pkgfile autobahn
found nothing.
Which package contains autobahn ?
Offline
It does not exist on my system, but try finding the full path to the file and do a
pacman -Qo /the/full/path/to/autobahn
Last edited by ewaller (2012-12-25 20:36:07)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I don't know the full path.
Last edited by dfeng (2012-12-25 18:06:37)
Offline
What is "something.py" from? Wherever it is from it should include autobahn as a dependency.
Autobahn is not in the repos and does not seem to be in the AUR yet.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Offline
It does say you need to install autobahn first. As it doesn't seem to be in the AUR yet, you can make a new PKGBUILD for it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
found it:
pacman -S python2-pip
easy_install-2.7 autobahn
see this:
https://github.com/tavendo/AutobahnPyth … r/autobahn
Last edited by dfeng (2012-12-25 19:05:49)
Offline
Well, pip would have been a far better choice. Instead, you used easy_install which isn't provided by python2-pip, but python2-distribute.
Offline
I have packaged this for AUR, see python2-autobahn.
Offline