I installed python,Django and Redis. In Vim I use “import redis” is OK, when I use pycharm IDE to code, I write “import redis” , the pycharm tip “no module named redis”, why? what should I to do ?
As per my understanding pycharm will say "No module named redis" if you haven't set up python interpreter in pycharm or in case there is no such module you are trying to use installed in the python interpreter you are currently using for pycharm.
To add python interpreter to pycharm go to File -> Settings -> Python interpreter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With