简体   繁体   English

如何在Pycharm中安装Pandas和Numpy

[英]How to install Pandas and Numpy in Pycharm

Hi I am really really new to Python/Pycharm. 嗨,我真的是Python / Pycharm的新手。

I am looking at a script written by my colleague and the first part is to import pandas as pd import numpy as np 我正在看我同事写的脚本,第一部分是将pandas导入为pd,将numpy导入为np。

Error Msg is : import pandas as pd ImportError: No module named pandas 错误消息为:将pandas导入为pd ImportError:没有名为pandas的模块

I go to settings/Project Interpreter and see "pip". 我转到设置/项目解释器,然后看到“点子”。 I clicked the "+" button and the error message is "Error loading package list: connect timed out" 我单击“ +”按钮,错误消息是“错误加载程序包列表:连接超时”

I wonder how I can install the package. 我不知道如何安装该软件包。

Appreciated in advance..... 提前感谢.....

you can do it without pycharm by open a terminal (linux , mac os) or cmd (windows) and running 您可以通过打开终端(linux,mac os)或cmd(windows)并运行而无需pycharm

pip install pandas
pip install numpy 

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

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