No module named extern
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Originally reported by: dusijun (Bitbucket: dusijun, GitHub: dusijun)
UBNTU 15.10
python --version
Python 2.7.10
sudo pip install pip -I
...successfully installed pip-8.1.0
sudo pip install setuptools
...Sucessfully ..... setuptools-20.2.2
OR
wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
Problem:
and build something from source eg, the pip
sudo python setup.py install
(or pip install pyaudio or pip install protobuf)
#!shell
File "setup.py", line 6, in <module>
from setuptools import setup, find_packages
File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 11, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "/usr/local/lib/python2.7/dist-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
ImportError: No module named extern
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with Python 2.7.10 using the reported setup.py install command. Start by reading setuptools/init.py and setuptools/extern/init.py, then trace the import of pkg_resources.extern; done means the source install completes without ImportError: No module named extern.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100