简体   繁体   English

无法安装 python-dotenv

[英]cannot install python-dotenv

I wanna use dotenv in python.我想在 python 中使用 dotenv。 for installation, I type pip3 install python-dotenv in windows command prompt.对于安装,我在 Windows 命令提示符下键入pip3 install python-dotenv It gives the requirements are installed.它给出了安装的要求。 but when running但是跑步的时候

from dotenv import load_dotenv

girves the error给出错误

No module named 'dotenv'

I tried to uninstall dotenv and install again, but it didn't work.我尝试卸载 dotenv 并重新安装,但没有用。 is there any other way of installing python packages in spyder?有没有其他方法可以在 spyder 中安装 python 包? or how I can fix this issue?或者我如何解决这个问题?

I wanna use dotenv in python.我想在python中使用dotenv。 for installation, I type pip3 install python-dotenv in windows command prompt.对于安装,我在Windows命令提示符下键入pip3 install python-dotenv It gives the requirements are installed.它给出了安装要求。 but when running但是跑步时

from dotenv import load_dotenv

girves the error产生错误

No module named 'dotenv'

I tried to uninstall dotenv and install again, but it didn't work.我试图卸载dotenv并再次安装,但没有成功。 is there any other way of installing python packages in spyder?还有其他在spyder中安装python软件包的方法吗? or how I can fix this issue?或如何解决此问题?

I wanna use dotenv in python.我想在python中使用dotenv。 for installation, I type pip3 install python-dotenv in windows command prompt.对于安装,我在Windows命令提示符下键入pip3 install python-dotenv It gives the requirements are installed.它给出了安装要求。 but when running但是跑步时

from dotenv import load_dotenv

girves the error产生错误

No module named 'dotenv'

I tried to uninstall dotenv and install again, but it didn't work.我试图卸载dotenv并再次安装,但没有成功。 is there any other way of installing python packages in spyder?还有其他在spyder中安装python软件包的方法吗? or how I can fix this issue?或如何解决此问题?

看看这个: https : //pypi.org/project/python-dotenv/

pip3.9 install python-dotenv

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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