Loading Modules in PyCharm
I'm a new user to PyCharm and programming in general. I have this issue where I can use the ' import random ' in IDLE but in PyCharm it seems it doesn't recognize any of the modules IDLE can.
Please sign in to leave a comment.
Have you configured a Project Interpreter? https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html
PyCharm uses it for code insight.
Hi Sergey
Thanks for the response. Someone on reddit had actually helped me resolve the topic. Pycharm imported random just fine, I just didn't use the module in my code yet, and that was why it was giving me an error in the import line.
I feel silly about it, but you live and learn.
Thanks again.