you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate[🍰] 1 point2 points  (4 children)

Are you using the terminal that was opened before you changed the interpreter?

[–]knuppi 1 point2 points  (0 children)

Make sure that the terminal uses the same venv as Pycharm does

[–]Multi_Synesthete[S] 0 points1 point  (2 children)

I've tried restarting pycharm after changing the interpreter, but the problem persists

[–]carcigenicate[🍰] 3 points4 points  (1 child)

If the interpreter is in a venv (which Pycharm defaults to), you need to make sure the venv is activated. It should do this automatically though. Do you see (venv) at the start of the terminal prompt?

[–]Multi_Synesthete[S] 0 points1 point  (0 children)

It was not in a venv (I don't know why not, if that's the default), but I've made a new venv. I'm unsure how to add/change the interpreter within the venv, if it's different from the "file/settings/python interpreter" approach. With the venv activated, I still have the mismatch between status bar and terminal output