Run Python Console via docker-compose on Pycharm
I think that this is an dependency chain problem, web
depends on python
so, when the python
container gets up, web
one still not exists. That may cause the error.
Cheers
Installing required libraries via command line and running the python interpreter from the PATH should suffice.
You can also refer to the JetBrains manual, as to how they have configured for the interpreters of their IDEs.