Changing external library from to Python 3
1) I selected Python 3.6 in File/Default Settings/Project Interpreter.
2) Then I created a configuration under Run/Edit Configuration selecting Python and made sure that Python 3.6 shows up as an interpreter. It was selected by default which means that step #1 succeded.
But... Under External Libraries, I see Python 2.7 no 3.6! Moreover, I have a squiggly line under requests in "import requests" in my code file. I installed requests module for 3.6 but not 2.7. Nevertheless, the program runs fine, even though the editor can't find the module and wants me to install it for 2.7.
How do I reference 3.6 libraries? Please help!
Thanks,
-Vlad
Please sign in to leave a comment.