Page 1 of 1

ImportError: cannot import name

Posted: Thu Jan 29, 2015 8:32 pm
by voronwe
Hi, I'm using deluge 1.4.0.dev359-1 on archlinux 3.18.4-1. Sorry if I'm reporting about issue of development brunch in wrong place. I'll be glad if u tell me how can I report about it correctly.
I get an error, when tried to run deluge:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/deluge", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: cannot import name load_entry_point
I tried to rebuild and get

Code: Select all

Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    from setuptools import find_packages, setup
ImportError: cannot import name find_packages
As I understood from google, it's python2 problem (I'm not familiar with this language), so I looked for recent updates of packeges with pithon2 in it's name and saw:

Code: Select all

[2015-01-27 09:06] [ALPM] upgraded python2-setuptools (1:12.0.4-1 -> 1:12.0.5-1)
So, look forward to any comments :3

Re: ImportError: cannot import name

Posted: Thu Jan 29, 2015 8:59 pm
by bro
Hi

Mentioning your OS is always a good idea when reporting issues.

Those as strange errors, as they suggest that it finds the modules pkg_resources and setuptools, but fails to find the functions in these modules. This is (presumably) unrelated to Deluge though, and is an issue with your system.

Re: ImportError: cannot import name

Posted: Thu Jan 29, 2015 9:25 pm
by voronwe
Archlinux with kernel 3-18.4-1. Added to first post.
Never so this error before in other applications. Thanks, I'll try to find something out of deluge context.

Re: ImportError: cannot import name

Posted: Thu Jan 29, 2015 9:36 pm
by bro
If you join the IRC channel, it may be easier to get help, but no guarantees that someone will answer.