Numpy is one of those essential general usage packages for people working with Python. However, in my system, the Python 3 version of Numpy seems to be improperly configured, despite the fact that it was instaled using HaikuDepot. The Python 2 version imports normally, however.
At first I thought that I could have messed up this 64 bit Haiku installation, so I rebooted into my 32bit Haiku partition to see if it worked there, but I found the same issue.
It’s really sad, because there are a lot of useful Python packages that depend on Numpy. Any hope to get this fixed?
By the way, Python 3.7 was released 9 months ago, and it’s now at v.3.7.2 (v.3.7.3 expected later this month, and v.3.8.0 expected to october). Compared with Python 3.6, Python 3.7 is much faster in some operations, and it also includes a few useful new features. Does anyone know if there is already a port coming soon through the pipeline?
================================================
~> pkgman search numpy
Status Name Description
--------------------------------------------------------------------------------------------------------
S python3_numpy Array processing for numbers, strings, records, and objects
python3_numpy_source Array processing for numbers, strings, records, and objects (source files)
S python_numpy Array processing for numbers, strings, records, and objects
python_numpy_source Array processing for numbers, strings, records, and objects (source files)
~> python3
Python 3.6.7 (default, Dec 18 2018, 19:22:41)
[GCC 7.3.0] on haiku1
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
>>>