Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

builtins.ImportError: No module named 'exceptions' #56

Open
WebDevelopNemanja opened this issue May 5, 2016 · 1 comment
Open

builtins.ImportError: No module named 'exceptions' #56

WebDevelopNemanja opened this issue May 5, 2016 · 1 comment

Comments

@WebDevelopNemanja
Copy link

txredis 2.4 installed on python3.4 over easy_install3
after starting crossbar router, this error came up.

Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/autobahn/wamp/protocol.py", line 842, in onMessage
on_reply = txaio.as_future(endpoint.fn, _invoke_args, *_invoke_kwargs)
File "/usr/local/lib/python3.4/dist-packages/txaio/tx.py", line 408, in as_future
return maybeDeferred(fun, _args, *_kwargs)
File "/usr/local/lib/python3.4/dist-packages/twisted/internet/defer.py", line 150, in maybeDeferred
result = f(_args, *_kw)
File "/usr/local/lib/python3.4/dist-packages/crossbar/worker/router.py", line 643, in start_router_component
create_component = _appsession_loader(config)
--- ---
File "/usr/local/lib/python3.4/dist-packages/crossbar/worker/init.py", line 58, in _appsession_loader
module = importlib.import_module(module_name)
File "/usr/lib/python3.4/importlib/init.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 2254, in _gcd_import

File "", line 2237, in _find_and_load

File "", line 2226, in _find_and_load_unlocked

File "", line 1200, in _load_unlocked

File "", line 1129, in _exec

File "", line 1471, in exec_module

File "", line 321, in _call_with_frames_removed

File "/home/www/work/dc/example/crossbar/components/main.py", line 7, in
from helpers.util import success
File "/home/www/work/dc/example/backend/crossbar/helpers/util.py", line 6, in
from txredis.client import RedisClient
File "/usr/local/lib/python3.4/dist-packages/txredis-2.4-py3.4.egg/txredis/init.py", line 39, in

builtins.ImportError: No module named 'exceptions'

@wiml
Copy link

wiml commented Apr 3, 2018

Looks like txredis generally doesn't support Python 3. The patches in PR #58 might help. From the forks tab, @tdsmith, @tomwardill and @Enforcer all seem to have done some py3 support work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants