简体   繁体   English

是否可以将 Numpy、Scipy、Pandas 和 Matplotlib 以及 statsmodels 等 Python 库安装到 Eclipse 中

[英]Is it possible to install python libraries such as Numpy, Scipy, Pandas and Matplotlib and statsmodels into Eclipse

I'm trying to add these libraries into Eclipse.(Numpy, Scipy, Pandas and Matplotlib and statsmodels) I've already installed python 2.7.我正在尝试将这些库添加到 Eclipse 中。(Numpy、Scipy、Pandas 和 Matplotlib 以及 statsmodels)我已经安装了 python 2.7。 If so, can someone tell me how?如果是这样,有人可以告诉我怎么做吗?

Open the windows command prompt or cmd (not the python prompt) In the cmd run the command:打开 windows 命令提示符或 cmd(不是 python 提示符)在 cmd 中运行命令:

    pip install numpy 
    pip install pandas
    pip install matplotlib
    pip install scipy

Once installed, they are available in eclipse安装后,它们在 eclipse 中可用

you just need to add paths where your packages are installed, see the image below你只需要添加安装包的路径,见下图

在此处输入图片说明

I hope that helps !我希望有帮助!

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

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