ImportError: cannot import name

General support for problems installing or using Deluge
Post Reply
voronwe
New User
New User
Posts: 2
Joined: Thu Jan 29, 2015 8:17 pm

ImportError: cannot import name

Post 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
Last edited by voronwe on Thu Jan 29, 2015 9:29 pm, edited 1 time in total.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: ImportError: cannot import name

Post 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.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
voronwe
New User
New User
Posts: 2
Joined: Thu Jan 29, 2015 8:17 pm

Re: ImportError: cannot import name

Post 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.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: ImportError: cannot import name

Post by bro »

If you join the IRC channel, it may be easier to get help, but no guarantees that someone will answer.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Post Reply