Install Shogun Toolbar with MacPorts for Python 2.7

It’s hard for me to use the MacPorts to install the Shogun machine learning toolkit. It seems that the only version of MacPorts declares Python 2.6 as a dependency , and as a result, MacPorts downloads and installs Python 2.6, numPy for Python 2.6, etc. The problem is that I already have Python 2.7 installed and many other packages, including numPy, that I want to use with the shogun already installed under Python 2.7.

Someone managed to use the shogun with Python 2.7. I could not find the documentation stating that it only works with 2.6, so I assume 2.7 should work.

+4
source share
1 answer

It looks like it needs to be converted to the portgroup port of python, where the python version is implied from the current python, e.g. py-scipy for example, depending on py-numpy.

Also see current streams on the macports mailing list for octave.

+2
source

Source: https://habr.com/ru/post/1386981/


All Articles