I have installed a package, django_celery_beat. I can import it in the shell:
>>import django_celery_beat
>>
But Pycharm shows me an error, it underlines the import as if the package wasn't installed. Why could this be?
I have installed a package, django_celery_beat. I can import it in the shell:
>>import django_celery_beat
>>
But Pycharm shows me an error, it underlines the import as if the package wasn't installed. Why could this be?
PyCharm doesn't use bashrc
, so it doesn't know where your library is. So, now
There are 2 options:
OR
+
button in the Paths area. You can put the path to the module you'd like it to recognizeYou can follow the link to add path in pycharm from here.