代码改变世界

pandas模块安装问题笔记

2018-04-05 09:50  ssswy  阅读(4158)  评论(0编辑  收藏  举报

1.

# pip install  pandas  

引用 pandas 时,没有模块 ,进行模块安装,出现一推英文提示

 

结果

Collecting pandas

  Could not fetch URL https://pypi.python.org/simple/pandas/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping

  Could not find a version that satisfies the requirement pandas (from versions: )

No matching distribution found for pandas

You are using pip version 8.1.1, however version 9.0.3 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

 

2.解决:

#pip --trusted-host pypi.python.org install pandas

 

成功了

3.验证

 

 4,。顺便把刚才错误的pip更新一下

 

#pip install --upgrade pip