Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module _distutils_hack when starting seldonio/seldon-core-s2i-python3:1.14.0 #4209

Closed
ukclivecox opened this issue Jul 7, 2022 · 3 comments · Fixed by #4210
Closed

No module _distutils_hack when starting seldonio/seldon-core-s2i-python3:1.14.0 #4209

ukclivecox opened this issue Jul 7, 2022 · 3 comments · Fixed by #4210
Labels

Comments

@ukclivecox
Copy link
Contributor

docker run -it --rm seldonio/seldon-core-s2i-python3:1.14.0 bash
Error processing line 1 of /opt/conda/lib/python3.8/site-packages/distutils-precedence.pth:

  Traceback (most recent call last):
    File "/opt/conda/lib/python3.8/site.py", line 169, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named '_distutils_hack'

Remainder of file ignored
(base) [root@e5903679198a microservice]# 
@ukclivecox ukclivecox added the bug label Jul 7, 2022
@ukclivecox
Copy link
Contributor Author

Some discussion related pypa/setuptools#2980

@ukclivecox
Copy link
Contributor Author

pip install setuptools==63.1.0

fixed the error when run inside the container..

@axsaucedo
Copy link
Contributor

As per the conversation on the community slack, we had a quick look just now and we have seemed to validate the error appears on the base image, but when tesing across other images it seems it may not affect the running of seldon core containers - have you seen behaviour that shows otherwise? If so it would be great if you could share with us a manifest that we could use to reproduce

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

Successfully merging a pull request may close this issue.

2 participants