Anyone use PyCharm? pip and pycharm communication issues
Having trouble figuring out how to tell PyCharm where to look for modules. For instance, I downloaded serial in the terminal through pip and I can run scripts in the terminal. However, if I try to run the same script in PyCharm it says it can't find the moduel. I find this odd because in the Project Interpreter settings for PyCharm it shows that python 3.5 is the interpreter and that pip is an installed package.
|
While I don't use PyCharm there is a stackoverflow thread that addresses this issue: How do I import modules in pycharm?
It seems you have to add the path in PyCharm settings under File → Settings → Project Settings → Project Interpreter. The specific menu location may vary depending upon what version of the program you are using. |
All times are GMT -5. The time now is 11:41 AM. |