Discussion Cannot have both the docker-py and docker python modules installed

cocainbiceps

Blitz 2nd Class
Original poster
Supporter
31
8
PG Version
6.005
Server Type
Local - Dedicated Server
Upgraded, try to install various tools, Now Showing, Traefik etc...

Code:
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Cannot have both the docker-py and docker python modules installed together as they use the same namespace and cause a corrupt installation. Please uninstall both packages, and re-install only the docker-py or docker python module"}
 

Admin9705

Administrator
Project Manager
5,739
1,946
Ya cocainbiceps, told you earlier on discord incase :D. it's ansible issue that i really haven't been able to chase down. if you type that error on the net, there's really no end solution. @designgears managed to overcome it once; check with him. but hopefully you backed up your data incase. a rare few have this issue between upgrades.
 

Niller2005

Blitz 3rd Class
Staff
4
4
I had the same thing on one of my servers. I did this and it fixed it:
Code:
pip2 install docker
pip2 install docker-py
pip3 install docker-py
pip install 'docker-compose>=1.7.0'
pip install 'docker-py>=1.7.0'
pip uninstall docker
pip uninstall docker-py
pip uninstall docker-compose
pip install docker-compose==1.9.0
pip uninstall docker
pip2 uninstall docker
pip3 uninstall docker
pip install --ignore-installed docker-py
pip2 install --ignore-installed docker-py
could be cleaner but I just got off work, so maybe I'll clean it later
 
  • Like
Reactions: wooska

designgears

Blitz 2nd Class
Staff
34
17
Ya cocainbiceps, told you earlier on discord incase :D. it's ansible issue that i really haven't been able to chase down. if you type that error on the net, there's really no end solution. @designgears managed to overcome it once; check with him. but hopefully you backed up your data incase. a rare few have this issue between upgrades.
You posted it in the wiki somewhere.
 
  • Like
Reactions: Admin9705

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.


Development Donations

 

Trending