Skip to content

Instantly share code, notes, and snippets.

@zerok
Created June 9, 2016 09:19
Show Gist options
  • Save zerok/54fa32e6b6ec38bab87244a1c8e36f67 to your computer and use it in GitHub Desktop.
Save zerok/54fa32e6b6ec38bab87244a1c8e36f67 to your computer and use it in GitHub Desktop.
Issue installing packages in docker

I'm currently facing the problem that I can no longer install various images in a docker:stretch based image using pip3. that's the output I get every time I try to build an image.

Step 9 : RUN pip3 install -r /app/requirements.txt
---> Running in babf54e1c2d5
Collecting sphinx==1.4.1 (from -r /app/requirements.txt (line 1))
Downloading Sphinx-1.4.1-py2.py3-none-any.whl (1.6MB)
Collecting markdown==2.6.6 (from -r /app/requirements.txt (line 2))
Downloading Markdown-2.6.6.zip (412kB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment