$ sudo python setup.py install Traceback (most recent call last): File "setup.py", line 12, in <module> from pkginfo import \ File "/home/ben/.local/src/pydbgr/pkginfo.py", line 64, in <module> from import_relative import get_srcdir ImportError: No module named import_relative
Not sure what import_relative is, but it seems to be used in a lot of places in this code. Is this a required external package?
Comment #1
Posted on Sep 24, 2010 by Swift HippoSorry for the delayed reply.
"import_relative" is one of the packages pydbgr depends on.
Other packages needed are listed in pkginfo.py :
install_requires = ['columnize >= 0.3.2', 'import_relative >= 0.1.0', 'pyficache >= 0.1.0', # or 0.1.1? 'tracer >= 0.2.2']
which is used in setup() of setup.py
I am not sure why easy_install does not pick these up.
For now just easy_install them.
Comment #2
Posted on Sep 24, 2010 by Swift HippoComment deleted
Comment #3
Posted on Oct 15, 2010 by Swift Hippo(No comment was entered for this change.)
Comment #4
Posted on Nov 23, 2010 by Quick BearAlso seeing this with pip install.
Comment #5
Posted on Mar 31, 2011 by Happy DogComment #6
Posted on Apr 26, 2011 by Swift Birdeasy_install doesn't pick it up because pkginfo is never successfully loaded, because it tries to load import_relative. You have a chicken-and-egg problem here. You can't import dependencies from within things that are imported by setup.py.
Status: Invalid
Labels:
Type-Defect
Priority-Medium