I have a package I created in the root/Drivers/OTP
folder called totp.py
.
When I import the package with import Drivers.OTP.totp as totp
, PyCharm automatically suggests the correct folder, package, and module. PyCharm also auto suggests the functions from that package import.
However, when I run the module that imports that module, python itself errors out with:
ModuleNotFoundError: No module named 'Drivers'
The calling module is located at root/ApiAdapters/Passwordstate/secrets.py
.
What gives?