Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

requirements.txt install fail: ModuleNotFoundError: No module named 'setuptools' #2

Open
packetrat opened this issue Jul 17, 2018 · 1 comment

Comments

@packetrat
Copy link

Have all required packages configured, but when I attempt to process requirements.txt, I get:

pip3 install -r requirements.txt

Collecting requests==2.10.0 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/99/b4/63d99ba8e189c47d906b43bae18af4396e336f2b1bfec86af31efe2d2cb8/requests-2.10.0-py2.py3-none-any.whl
Collecting colorlog==2.7.0 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/ef/5e/fe3ba9568aeedd940d4629a774ecac33dab783c33a55e4b44732d5e5bb1b/colorlog-2.7.0-py2.py3-none-any.whl
Collecting lxml==3.4.4 (from -r requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/63/c7/4f2a2a4ad6c6fa99b14be6b3c1cece9142e2d915aa7c43c908677afc8fa4/lxml-3.4.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'setuptools'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-kfiuix7l/lxml/

@dmuhs
Copy link
Owner

dmuhs commented Jul 19, 2018

Is this a fresh Linux installation? You might be missing some basic required packages for setting up Python packages. On Debian-based distros, just execute sudo apt-get install python3-setuptools to install setuptools.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants