You are not logged in.

#1 2012-12-25 17:52:58

dfeng
Member
Registered: 2012-06-18
Posts: 23

Which package contains autobahn ?

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

#2 2012-12-25 17:56:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: Which package contains autobahn ?

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

#3 2012-12-25 18:06:20

dfeng
Member
Registered: 2012-06-18
Posts: 23

Re: Which package contains autobahn ?

I don't know the full path.

Last edited by dfeng (2012-12-25 18:06:37)

Offline

#4 2012-12-25 18:15:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,553
Website

Re: Which package contains autobahn ?

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

#5 2012-12-25 18:22:54

dfeng
Member
Registered: 2012-06-18
Posts: 23

Re: Which package contains autobahn ?

Offline

#6 2012-12-25 18:49:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,553
Website

Re: Which package contains autobahn ?

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

#7 2012-12-25 19:03:05

dfeng
Member
Registered: 2012-06-18
Posts: 23

Re: Which package contains autobahn ?

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

#8 2012-12-25 19:30:27

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Which package contains autobahn ?

Well, pip would have been a far better choice. Instead, you used easy_install which isn't provided by python2-pip, but python2-distribute.

http://pypi.python.org/pypi/pip

Offline

#9 2013-04-07 17:58:31

veox
Member
Registered: 2008-10-28
Posts: 49
Website

Re: Which package contains autobahn ?

I have packaged this for AUR, see python2-autobahn.

Offline

Board footer

Powered by FluxBB