What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

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

cocainbiceps

Full Member
FreeLancer
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
Ya cocainbiceps, told you earlier on Pgblitz 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

Junior Member
Staff
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
 

designgears

Full Member
Staff
Ya cocainbiceps, told you earlier on Pgblitz 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.
 

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.

Similar threads


Development Donations

 

Top NZB NewsGroups!

Members - Up To a 58% Discount!

Trending

Online statistics

Members online
10
Guests online
110
Total visitors
120
Top