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

plexguideisdead

Full Member
Original poster
Local time
8:03 PM
Jan 21, 2018
28
7
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
Local time
2:03 AM
Jan 17, 2018
4,798
1,845
Ya cocainbiceps, told you earlier on Forum 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
Local time
8:03 AM
Apr 5, 2018
4
4
Denmark
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

Full Member
Staff
Local time
12:03 AM
Jan 21, 2018
35
17
Ya cocainbiceps, told you earlier on Forum 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.

Similar threads


Maintenance Donations

Recommend NewsGroups

      Up To a 58% Discount!

Trending