繁体   English   中英

无法在Windows python 3.7中安装熊猫?

[英]can't install pandas in windows python 3.7?

由于某些原因,我需要手动安装熊猫,因此找到了以下链接: https : //pandapower.readthedocs.io/en/v1.5.1/getting_started/installation_without_pip.html

仅供参考:由于我使用的是python 3.7,因此我正在运行py setup.py install命令,我也尝试了python setup.py install但得到了相同的结果。

在安装结束时,出现以下错误:

Installed c:\python 3.7\lib\site-packages\pandapower-1.5.1-py3.7.egg
Processing dependencies for pandapower==1.5.1
Searching for scipy
Reading https://pypi.python.org/simple/scipy/
Download error on https://pypi.python.org/simple/scipy/: timed out -- Some 
packages may not be found!
Couldn't find index page for 'scipy' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: timed out -- Some 
packages may not be found!
No local packages or working download links found for scipy
error: Could not find suitable distribution for Requirement.parse('scipy')

无论如何,我试图编译一个具有import pandas的项目,而我得到的输出是:

Traceback (most recent call last):
  File "Workstation Sampling.py", line 2, in <module>
import pandas
 ModuleNotFoundError: No module named 'pandas'

非常感谢所有答复:)

因为您似乎处在特殊的情况下,通过pipconda安装软件包并不容易,所以我真的推荐Anaconda。 Anaconda Python提供了python,环境控制以及数百个常用软件包(带有依赖项),它们都位于一个工具中。

这可能是入门的最佳方法,而不必担心手动安装一堆软件包及其依赖项。

您可以在此处了解更多信息并找到下载链接。

https://www.anaconda.com/download/#macos

另外,这是Windows上Anaconda for Python 3.6附带的所有软件包的列表。

https://docs.anaconda.com/anaconda/packages/py3.6_win-64

暂无
暂无

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

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