-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Here is the instruction of how to setup NumPy/SciPy for IronPython:
Install NumPy/SciPy libraries for IronPython
NumPy library is used by some NLTK functions such as nltk.ne_chunk() (Named Entity Recognition).
So, follow this steps to install NumPy library for IronPython:
- Download ironpkg-1.0.0.py from https://raw.githubusercontent.com/ptmono/anipang_b/master/ironpkg-1.0.0.py to IronPython folder
- Run console and cd to IronPython folder there. So you will be able to run
ipy ironpkg-1.0.0.py --install - After ironpkg and ironegg was installed, run
ironpkg scipyto install NumPy and SciPy libraries. - In case you've got errors on installation, then download numpy and scipy egg files from here http://code.enthought.com/.iron/eggs/index.html
- Then run
ironegg scipy-1.0.0-2.eggandironegg numpy-2.0.0-1.egg(versions may be changed) - Make sure you've got folders <IronPython Path>\Libs\site-packages\scipy and <IronPython Path>\Libs\site-packages\numpy
Follow this StackOverflow question for actual information.
Issue
After installation you'll get expception related to NumPy library on call nltk.ne_chunk() from IronPython. This is not NltkNet issue itself. This means NumPy library is not supported by IronPython. I assume because NumPy has native C-calls inside it.
Please let me know, if you got success or workarround by running NumPy with IronPython.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels