1

I've added my virtualenv on the settings and selected it to be the default interpreter like so:

enter image description here

Now when I try to run a script, I notice that it's actually not using the virtualenv's interpreter:

enter image description here

What am I doing wrong? I've tried restarting, I've tried selecting another interpreter and re-selecting. And so far no luck.

Stupid.Fat.Cat
  • 10,755
  • 23
  • 83
  • 144

1 Answers1

4

Check your script configurations.

edit configurations

Is your script using a different python interpreter?

python interpreter setting

jackar
  • 724
  • 5
  • 16
  • Ah that was the problem. Would setting the default interpreter not automatically change this? That's strange. – Stupid.Fat.Cat Mar 30 '17 at 06:38
  • @Stupid.Fat.Cat Changing the default will not change the currently selected interpreter for any project. That is actually made to be that way so as to not mess up interpreters already set for other projects. Changing the default will only change for any new project that is created – Moulick Mar 30 '17 at 21:52
  • Ah got it. Thanks – Stupid.Fat.Cat Mar 30 '17 at 23:09