You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
One of the dependencies for slackclient in requirements.txt is setuptools. The docker build skips over installing it and then fails with the following error.
Found existing installation: setuptools 3.3
Not uninstalling setuptools at /usr/lib/python3/dist-packages, owned by OS
Running setup.py install for simplegeneric
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/setuptools/__init__.py", line 12, in <module>
import setuptools.version
File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
import packaging.version
ImportError: No module named 'packaging'
Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/simplegeneric/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-su8foqsj-record/install-record.txt --single-version-externally-managed --compile:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/setuptools/__init__.py", line 12, in <module>
import setuptools.version
File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
import packaging.version
ImportError: No module named 'packaging'
I got around the error by adding
RUN pip3 install setuptools==33.1.1
to requirements.txt above the line
RUN pip3 install -r /tmp/requirements.txt
The build works with setup tools 33.x, but not 34.x. I'm not sure if this is a bug on the part of this app or setup tools. vOv.
The text was updated successfully, but these errors were encountered:
mac OS sierra
Python 3.5.2
Docker 1.13.1
One of the dependencies for slackclient in requirements.txt is setuptools. The docker build skips over installing it and then fails with the following error.
I got around the error by adding
RUN pip3 install setuptools==33.1.1
to requirements.txt above the line
RUN pip3 install -r /tmp/requirements.txt
The build works with setup tools 33.x, but not 34.x. I'm not sure if this is a bug on the part of this app or setup tools. vOv.
The text was updated successfully, but these errors were encountered: