HBNetwork / python-decouple

Strict separation of config from code.
MIT License
2.79k stars 192 forks source link

Pycharm and the python-decouple package #136

Closed cicerohr closed 1 year ago

cicerohr commented 2 years ago

This is not a package issue, but it occurred in the Pycharm IDE and Python 3.10, where despite the package being manually listed in the requirements.txt file, the IDE warns that the package is not.

The screenshot below shows that the IDE is looking for the package \venv\Lib\site-packages\decouple.py

Again, this is not really a problem, but just a report of IDE behavior.

Any idea?

By the way, thank you very much for developing this package.

pycharm_decouple

aqeelat commented 1 year ago

I'm having this issue with most packages that have a module name that's different than the package name. In this case, the package name is python-decouple, but the module name is decouple. Did you raise this issue with jetbrains?

henriquebastos commented 1 year ago

@cicerohr I use PyCharm and never had this problem. Check if maybe you have installed the decouple library instead of python-decouple.