0

I copied a project online and it contains

#!/usr/bin/env python3.4

When running on the terminal this is fine. But I want to debug with PyCharm. I am getting the error

ImportError: No module named queue

Because in python 3 the module is called Queue

I don't think PyCharm is recognizing #!/usr/bin/env python3.4` or it is not running the program in python 3. How can I fix this issue?

EDIT:

I changed the interpreter to python 3.4 but the same error is occurring =/ The settings have been changed but I noticed that the auto correct leads to Python 2 methods. Not sure how I can fix this.enter image description here

enter image description here

Liondancer
  • 15,721
  • 51
  • 149
  • 255

0 Answers0