docker-compose integration cannot install new requirements


Using pip 19, I cannot install new requirements added to the requirements.txt file for a docker-compose (or docker) remote interpreter in pycharm. I'm pretty sure that pycharm is trying to use a pip feature removed a long time ago, but not positive. You can see the error below. How can I get this integration working properly? 

Error: AttributeError: module 'pip' has no attribute 'main'

1 comment
Comment actions Permalink

Seems like a problem with pip installation.

What is your PyCharm version? If newer than 2018.1.1, please try re-creating your docker-compose interpreter from scratch.


Please sign in to leave a comment.