installing autobahn from pip

#1

hi,

there are some errors in the autobahn install:
Downloading/unpacking autobahn
Downloading autobahn-0.11.0.tar.gz (149kB): 149kB downloaded
Running setup.py (path:/tmp/pip-build-BRs2zM/autobahn/setup.py) egg_info for package autobahn

package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
Unhandled Error
Traceback (most recent call last):
  File "<string>", line 17, in <module>

  File "/tmp/pip-build-BRs2zM/autobahn/setup.py", line 245, in <module>
    list(getPlugins(IPlugin))
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 213, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 171, in getCache
    provider = pluginModule.load()
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/modules.py", line 392, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/tmp/pip-build-BRs2zM/autobahn/twisted/plugins/autobahn_endpoints.py", line 46, in <module>
    from autobahn.twisted.websocket import WrappingWebSocketServerFactory, \
  File "autobahn/__init__.py", line 32, in <module>
    from autobahn.util import utcnow, utcstr
  File "autobahn/util.py", line 40, in <module>
    import txaio
exceptions.ImportError: No module named txaio

Twisted found (default reactor is <class 'twisted.internet.epollreactor.EPollReactor'>)
Twisted dropin.cache regenerated.

Downloading/unpacking six>=1.9.0 (from autobahn)
Downloading six-1.10.0-py2.py3-none-any.whl
Downloading/unpacking txaio>=2.2.0 (from autobahn)
Downloading txaio-2.2.0.tar.gz
Running setup.py (path:/tmp/pip-build-BRs2zM/txaio/setup.py) egg_info for package txaio

Installing collected packages: autobahn, six, txaio
Running setup.py install for autobahn
package init file ‘twisted/plugins/init.py’ not found (or not a regular file)

Unhandled Error
Traceback (most recent call last):
  File "<string>", line 1, in <module>

  File "/tmp/pip-build-BRs2zM/autobahn/setup.py", line 245, in <module>
    list(getPlugins(IPlugin))
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 213, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 171, in getCache
    provider = pluginModule.load()
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/modules.py", line 392, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugins/autobahn_endpoints.py", line 46, in <module>
    from autobahn.twisted.websocket import WrappingWebSocketServerFactory, \
  File "autobahn/__init__.py", line 32, in <module>
    from autobahn.util import utcnow, utcstr
  File "autobahn/util.py", line 40, in <module>
    import txaio
exceptions.ImportError: No module named txaio

Twisted found (default reactor is <class 'twisted.internet.epollreactor.EPollReactor'>)
Twisted dropin.cache regenerated.

Running setup.py install for txaio

Successfully installed autobahn six txaio
Cleaning up…

``

this example:
https://github.com/crossbario/autobahn-python/tree/master/examples/twisted/websocket/echo

still runs, still it looks ugly.

0 Likes

#2

Hi Peter,

just uninstalled & reinstalled on a Windows 8.1 machine and things work fine.

Could you give us more information about the system this occurs on? Does it occur on any other machine/system for you?

Regards,

Alex

···

Am Freitag, 11. Dezember 2015 13:28:43 UTC+1 schrieb peter.m...@gmail.com:

hi,

there are some errors in the autobahn install:
Downloading/unpacking autobahn
Downloading autobahn-0.11.0.tar.gz (149kB): 149kB downloaded
Running setup.py (path:/tmp/pip-build-BRs2zM/autobahn/setup.py) egg_info for package autobahn

package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
Unhandled Error
Traceback (most recent call last):
  File "<string>", line 17, in <module>

  File "/tmp/pip-build-BRs2zM/autobahn/setup.py", line 245, in <module>
    list(getPlugins(IPlugin))
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 213, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 171, in getCache
    provider = pluginModule.load()
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/modules.py", line 392, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/tmp/pip-build-BRs2zM/autobahn/twisted/plugins/autobahn_endpoints.py", line 46, in <module>
    from autobahn.twisted.websocket import WrappingWebSocketServerFactory, \
  File "autobahn/__init__.py", line 32, in <module>
    from autobahn.util import utcnow, utcstr
  File "autobahn/util.py", line 40, in <module>
    import txaio
exceptions.ImportError: No module named txaio

Twisted found (default reactor is <class 'twisted.internet.epollreactor.EPollReactor'>)
Twisted dropin.cache regenerated.

Downloading/unpacking six>=1.9.0 (from autobahn)
Downloading six-1.10.0-py2.py3-none-any.whl
Downloading/unpacking txaio>=2.2.0 (from autobahn)
Downloading txaio-2.2.0.tar.gz
Running setup.py (path:/tmp/pip-build-BRs2zM/txaio/setup.py) egg_info for package txaio

Installing collected packages: autobahn, six, txaio
Running setup.py install for autobahn
package init file ‘twisted/plugins/init.py’ not found (or not a regular file)

Unhandled Error
Traceback (most recent call last):
  File "<string>", line 1, in <module>

  File "/tmp/pip-build-BRs2zM/autobahn/setup.py", line 245, in <module>
    list(getPlugins(IPlugin))
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 213, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugin.py", line 171, in getCache
    provider = pluginModule.load()
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/modules.py", line 392, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/home/julius/.local/lib/python2.7/site-packages/twisted/plugins/autobahn_endpoints.py", line 46, in <module>
    from autobahn.twisted.websocket import WrappingWebSocketServerFactory, \
  File "autobahn/__init__.py", line 32, in <module>
    from autobahn.util import utcnow, utcstr
  File "autobahn/util.py", line 40, in <module>
    import txaio
exceptions.ImportError

``

0 Likes