How to install packages/modules in IronPython
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
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on July 05, 2022Comments
-
Admin almost 2 years
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.
-
Michael Matlosz about 3 yearsThis fails when I try doing this in IronPython 3.4. Works once I installed 2.7 though.