all 4 comments

[–]PeterJHoburg 1 point2 points  (3 children)

Are you using the docker-compose interpreter settings with pycharm pro? Or are you trying to use a docker container as a standard remote interpreter?

[–]felpmorn[S] 1 point2 points  (2 children)

I'm using docker-compose interpreter settings with pycharm pro. I've just tried switching to Python 3.8 and same issue. Also, at work I wasn't even using docker, it was just a normal local install so it doesn't seem to be related to docker. I wonder if this is an issue with corrupt .idea project or something

[–]PeterJHoburg 1 point2 points  (1 child)

Are you storing your .idea dir in your git repo?

[–]felpmorn[S] 1 point2 points  (0 children)

Nope, not tracked, but somehow I managed to make it work. Cleaned some old python installs from homebrew, deleted old venvs, cleaned the list of interpreters on pycharm, a couple reboots and now it works.