Comments (4)
@fireeee
Could you explain why python3-distutils should be added?
Distutils seems the standard library in Python. And we've already added setuptools, which was developed to overcome Distutils' limitations.
from deepo.
@ufoym for python generate.py Dockerfile python==3.6
the get-pip.py fails
Traceback (most recent call last): File "/root/get-pip.py", line 20649, in <module> main() File "/root/get-pip.py", line 197, in main bootstrap(tmpdir=tmpdir) File "/root/get-pip.py", line 82, in bootstrap import pip._internal File "/tmp/tmpnedr_k8d/pip.zip/pip/_internal/__init__.py", line 42, in <module> File "/tmp/tmpnedr_k8d/pip.zip/pip/_internal/cmdoptions.py", line 16, in <module> File "/tmp/tmpnedr_k8d/pip.zip/pip/_internal/index.py", line 25, in <module> File "/tmp/tmpnedr_k8d/pip.zip/pip/_internal/download.py", line 35, in <module> File "/tmp/tmpnedr_k8d/pip.zip/pip/_internal/locations.py", line 10, in <module> ImportError: cannot import name 'sysconfig'
and all that happens before pip install setuptools
.
so the short answer is get-pip.py needs distutils
Cheerz
from deepo.
Thank you for your information & solution.
We have resolved this issue in another way:
a6551b5
from deepo.
If python3-distutils
or python3-distutils-extra
is not required, then the corresponding lines should be removed from generator/modules/python.py
. Latest commit version 147f68670dc19aa15763b4654948126016cef349
causes docker build
to throw an error if --ubuntu-ver 16.04
is supplied to generate.py
because line 40 in generator/modules/python.py
should be '-extra' if not self.composer.ubuntu_ver.startswith('18.') else '',
for docker build
to succeed.
from deepo.
Related Issues (20)
- Add support to ppc64le HOT 4
- cuda 10.2 image HOT 1
- theano gpu not working HOT 1
- PaddlePaddle
- How can I use YOLOv3 on this image? HOT 1
- ufoym/deepo:pytorch-py36-cu101 cuda.max_memory_allocated crash HOT 3
- deepo generate does not find CUDA
- VS code support
- TensorRT support? HOT 2
- Custom CPU version | MacOs HOT 1
- Python 3.8 Support HOT 2
- Is it possible to switch from a cpu to gpu version? HOT 1
- How to upgrade cuda for the image? HOT 1
- Does 'darknet version' support opencv for darknet video detection? HOT 2
- tensorflow 2.5.0 CUDA compatibility HOT 6
- caffe on RTX3090 run fail HOT 2
- Change `jupyter notebook` README example to `jupyter lab`? HOT 1
- How to use the platform to do parallel computing? HOT 2
- Problem with cudnn HOT 1
- import torch ModuleNotFoundError: No module named 'torch'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepo.