sphereio / docker-predictionio

Docker container for PredictionIO-based machine learning services
49 stars 33 forks source link

Docker image lacks setuptools and predictionio python modules #11

Open BenParker22 opened 8 years ago

BenParker22 commented 8 years ago

Once the images were loaded from the README trying to run one of the templates gave me : Traceback (most recent call last): File "examples/import_handmade.py", line 5, in import predictionio ImportError: No module named predictionio

I then tried to pip install predictionio giving me:

root@faa890be34c4:/# pip install predictionio Collecting predictionio Downloading PredictionIO-0.9.8.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in ImportError: No module named setuptools

Finally. using pip install -U setuptools and then pip install predictionio, I got the template working correctly.