简体   繁体   English

安装Anaconda且模块不起作用

[英]Installing Anaconda and the modules not working

I have just installed Anaconda and then when I tried to use Idle to use the module statsmodels it tells me it doesn't exist: 我刚刚安装了Anaconda,然后当我尝试使用Idle使用模块statsmodels时,它告诉我它不存在:

ModuleNotFoundError: No module named 'statsmodels'

If I then try installing the module using pip it tells me its there. 如果然后我尝试使用pip安装模块,它会告诉我那里。

I have also tried uninstalling Anaconda and installing the modules separately but the connection times out. 我也尝试过卸载Anaconda并单独安装模块,但是连接超时。 error image 错误图片

I am at work so could this be due to the pip module being unable to get through the proxy? 我在工作,所以这可能是由于pip模块无法通过代理获得的吗?

If that is the case why did Anaconda not seem to work either? 如果是这样的话,Anaconda为什么也似乎不起作用?

I am still unable to get the libraries working on Idle. 我仍然无法使库在空闲状态下工作。 But I have started using Spyder, which came with Anaconda and all the libraries are working there. 但是我已经开始使用Anaconda附带的Spyder,并且所有库都在那儿工作。

This is fine for my purposes. 就我而言,这很好。 Though it would be good to know why? 虽然知道为什么会很好?

Thanks 谢谢

Have you tired installing the individual packages via pip? 您是否厌倦了通过pip安装单个软件包? I am running into the same problem. 我遇到了同样的问题。 It was working for some, not for others.... 它为某些人而不是其他人工作。

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

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