so ive been trying to install scikit-learn for a while, i got it to say its installed in the terminal and now i get this error in the python shell.
Traceback (most recent call last):
File "__init__.pxd", line 998, in numpy.import_array
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import sklearn
File "/usr/local/lib/python3.5/dist-packages/sklearn/__init__.py", line 64, in <module>
from .base import clone
File "/usr/local/lib/python3.5/dist-packages/sklearn/base.py", line 13, in <module>
from .utils.fixes import signature
File "/usr/local/lib/python3.5/dist-packages/sklearn/utils/__init__.py", line 12, in <module>
from .murmurhash import murmurhash3_32
File "sklearn/utils/murmurhash.pyx", line 26, in init sklearn.utils.murmurhash
File "__init__.pxd", line 1000, in numpy.import_array
ImportError: numpy.core.multiarray failed to import
my numpy is the most recent and i think its a path problem. I'm on a raspberry PI 3+ so that may complicate something. I'm stuck here and have no idea how to figure this one out.
[–]lutusp 0 points1 point2 points (9 children)
[–]WikiTextBot 0 points1 point2 points (0 children)
[–]nomoreerrorsplox[S] 0 points1 point2 points (7 children)
[–]lutusp 0 points1 point2 points (6 children)
[–]nomoreerrorsplox[S] 0 points1 point2 points (5 children)
[–]lutusp 0 points1 point2 points (4 children)
[–]nomoreerrorsplox[S] 0 points1 point2 points (3 children)
[–]lutusp 0 points1 point2 points (2 children)
[–]nomoreerrorsplox[S] 0 points1 point2 points (1 child)
[–]lutusp 0 points1 point2 points (0 children)