How to install packages/modules in IronPython

爱⌒轻易说出口 提交于 2020-12-29 03:03:09

问题


I am new to IronPython. Thanks for you help and patience.

I installed IronPython 2.7 from http://ironpython.net/ in Visual Studio 2015. I also installed Python 2.7.6 and anaconda.

I tried the following solution and it didn't work. Installing Python Packages - IronPython

I am wondering can IronPython use the modules installed by anaconda directly?

The packages I tried to install are numpy,scipy,pandas,sklearn. I saw a document in 2012 pointed out that sklearn is not supported in IronPython. Is it still the case?

Thanks.


回答1:


depend on IronPython official website http://ironpython.net/blog/2014/12/07/pip-in-ironpython-275.html

you can follow the following steps

Step1

add path of ironPython installation to system path

Step2

run cmd as administrator and type the following command

ipy -X:Frames -m ensurepip

now you can install everything is done, you can simply add any package by following command

ipy -X:Frames -m pip install Package


来源:https://stackoverflow.com/questions/39595327/how-to-install-packages-modules-in-ironpython

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!