[英]Module not Found error. Keeps coming up even though they are already installed
I have been working on a code to transfer stock data to an excel spreadsheet the code .我一直在研究将股票数据传输到 excel 电子表格的代码。 The code works while in spyder but when I run it in CMD I get the following error message about my libraries.
该代码在 spyder 中有效,但当我在 CMD 中运行它时,我收到有关我的库的以下错误消息。 Error message even though clearly installed .
即使清楚地安装了错误信息。 I have everything installed in my IDE and CMD.
我的 IDE 和 CMD 都安装好了。
I've tried uninstalling and reinstalling but other than that I am completely lost.我试过卸载并重新安装,但除此之外我完全迷路了。 New to coding.
编码新手。
Type pip install pandas
to install pandas module but please before installing dependencies make sure you create virtual environment for your project.键入
pip install pandas
以安装 pandas 模块,但请在安装依赖项之前确保为项目创建虚拟环境。 So it won't contradict later on.这样以后就不会矛盾了。 You can use conda, virtualenv wrapper and many things as virtual environement.
您可以使用 conda、virtualenv 包装器和许多东西作为虚拟环境。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.