This issue does not cause an actual problem when running the code, but rather is an issue of a PyCharm warning that I would like resolved so other programmers working on the project do not have to waste time investigating. The issue is that I have an import statement referencing an installed package:
import barcode
However, in my requirements.txt file the package is listed as:
python-barcode==0.10.0
This causes PyCharm to generate a warning stating that:
Package containing module 'barcode' is not listed in project requirements less... (Ctrl+F1) Inspection info: This inspection warns about imported or required, but not installed packages.
I was wondering if anyone knew of a way I could permanently avoid this warning for future programmers working in their own IDE, perhaps via a directive in the requirements.txt file, or something to that effect.