pastebin-scraper icon indicating copy to clipboard operation
pastebin-scraper copied to clipboard

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

Open packetrat opened this issue 6 years ago • 1 comments

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/

packetrat avatar Jul 17 '18 13:07 packetrat

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.

dmuhs avatar Jul 19 '18 15:07 dmuhs