简体   繁体   中英

Python Error: ModuleNotFoundError: No module named 'dotenv'

tried reinstalling, uninstalling same thing. Windows 10, python 3.9. Any suggestions? Tried now again and it gave me a returned non-zero exit status 1.

You're trying to install the wrong package.

It's pip install python-dotenv .

See https://pypi.org/project/python-dotenv/

Running python -m pip install python-dotenv solved it for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM