Moving form one python version to another

已回答

I've doing development using Python 3.5 now a couple of days ago I started to switch to using 3.6.3.

I've reinstalled the project using Python 3.6.3 making sure all the requirements/dependencies also where installed using 3.6.3.

Then In PyCharm I've changed the 'Project interpreter' to be Python 3.6.

Now, when running the project in the debugger it stills pick up the 3.5 code.

Why ?

And more important what can I do to stop it from doing this ?

 

0

It's possible that your run/debug configuration was pointed not at the "project" interpreter but a specific interpreter. When you updated your project interpreter, the run/debug config wasn't updated.

Go to Edit Configurations and see which interpreter the run config thinks it is using.

0

请先登录再写评论。