THE FORUM IS IN READ-ONLY MODE
Help installing NumPy module for IronPython
-
As mentioned. I need NumPy for Numerical Computing using the Module.
I have added the folder /src and the dependencies modules for the IronPython, and now i want to add NymPy for my Python Code to work.
i have included the Pathimport sys sys.path.append('./src')
and I'm familiar with how to Run the Python Code.
Any help would be appreciated, and thank y'all in advance.
-
I feel like @meinname is the right guy to help you here
-
Hi Fairy - long time no see.
I'm sorry to say this but it seems to be very hard if not nearly impossible, as numpy is mostly C code and not pure py - so you'd need to compile it from sources for ironpy. But this would need many changes.
//edit:
oh wait
maybe this works
https://stackoverflow.com/questions/29397540/how-to-install-numpy-and-scipy-for-ironpython27-old-method-doesnt-work/51900761#51900761
-
I think the best thing would be to wait for my next update as I'm introducing a feature that will let you achieve your goal (if you know any C#), even if not through numpy directly.
-
thank you guys. i still am facing a problem with it, and i hope the future update will provide a solution. i really appreciate the replies though.
//Edit:
the method of running Python in Iron-Python code works by running *.py packages, and since NumPy is an Iron-Python package, it is on the format *.egg which should be included in the environment itself. the solution that @meinname provided works only outside of OB, and thus, an implementation by @Ruri is required.
-
I think it's best if you post an issue on OB2's repo when the time comes as I won't be updating OB1 anymore
-
sup fairy been a bit hmu on discord ill help you out didnt know you could import into iron python but i know python so i should be able to help