ThoughtWorksInc / CD4ML-Scenarios

Repository with sample code and instructions for "Continuous Intelligence" and "Continuous Delivery for Machine Learning: CD4ML" workshops
MIT License
140 stars 446 forks source link

pip3 not found #3

Closed jennettageorge closed 4 years ago

jennettageorge commented 4 years ago

Im working through your instructions and I get the following error in my Jenkins pipeline build:

/var/jenkins_home/workspace/CD4ML-Scenarios_master@tmp/durable-01e5a6c2/script.sh: line 1: pip3: not found script returned exit code 127

image

I've tried changing pip3 to pip, but I get the same error with pip: not found.

ericnagler commented 4 years ago

Another user reported a similar problem to this one. Just making sure, are you using the Jenkins that is provided as part of the Docker Container? You can find this at http://localhost:10000/blue. One thing you can try if this doesn't work is to reset your Docker containers and pull again. Be aware, the first two commands will clear all of your containers and volumes on your machine.

docker system prune --all
docker system prune --volumes
docker-compose up -d --build --remove-orphans
jennettageorge commented 4 years ago

Thanks @ericnagler that was my exact problem, I was using an incorrect docker file. I am now experiencing another issue with MLFlow container not working but it seems to be unrelated to this, so this issue can be closed.

ericnagler commented 4 years ago

No problem @jennettageorge . If you have any further problems, just reply back! Thanks!