UCL / scikit-surgerydocker

This repo describes with a simple example how to use docker to containerise your project/algorithm
https://scikit-surgerydocker.readthedocs.io/en/latest/
Other
1 stars 2 forks source link

no module found for pptk #27

Closed mianasbat closed 3 years ago

mianasbat commented 3 years ago

I got the error when building docker image

Step 6/9 : RUN pip install -r requirements.txt
 ---> Running in 25c5c349aa03
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement pptk
ERROR: No matching distribution found for pptk
mianasbat commented 3 years ago

On troubleshooting it is found that pptk is not compatible with python 3.8 which is the default version of ubuntu now. So I have to install Python 3.6 in image to solve the issue.

mianasbat commented 3 years ago

Okay to solve this issue the latest image is replaced by one old.
The latest image is based on Ubuntu 20 having Python 3.8
The one that I chose now is Ubuntu 18.04 with Python 3.6
This solve the pptk issue.