Open kauuu opened 1 year ago
So I tried importing surprise and I got an error that seems to be specific to m1 macs. The error message:
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-126-dfdd90dd20f8> in <module> ----> 1 from surprise import Dataset, SVD ~/opt/anaconda3/lib/python3.8/site-packages/surprise/__init__.py in <module> 6 from .dataset import Dataset 7 ----> 8 from .prediction_algorithms import ( 9 AlgoBase, 10 BaselineOnly, ~/opt/anaconda3/lib/python3.8/site-packages/surprise/prediction_algorithms/__init__.py in <module> 21 """ 22 ---> 23 from .algo_base import AlgoBase 24 from .baseline_only import BaselineOnly 25 from .co_clustering import CoClustering ~/opt/anaconda3/lib/python3.8/site-packages/surprise/prediction_algorithms/algo_base.py in <module> 6 import heapq 7 ----> 8 from .. import similarities as sims 9 from .optimize_baselines import baseline_als, baseline_sgd 10 from .predictions import Prediction, PredictionImpossible ImportError: dlopen(/Users/kaushikk/opt/anaconda3/lib/python3.8/site-packages/surprise/similarities.cpython-38-darwin.so, 0x0002): tried: '/Users/kaushikk/opt/anaconda3/lib/python3.8/site-packages/surprise/similarities.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64)))
This was my only line of code: from surprise import Dataset, SVD
from surprise import Dataset, SVD
I expect it to import ig? lmao
error thrown that has something to do with the similarities module.
macOS-10.16-x86_64-i386-64bit Python 3.8.3 (default, Jul 2 2020, 11:26:31) [Clang 10.0.0 ]
This also didn't run completely and threw the same error
Same issue experienced here,
Versions
macOS-10.16-x86_64-i386-64bit Python 3.6.3
Description
So I tried importing surprise and I got an error that seems to be specific to m1 macs. The error message:
Steps/Code to Reproduce
This was my only line of code:
from surprise import Dataset, SVD
Expected Results
I expect it to import ig? lmao
Actual Results
error thrown that has something to do with the similarities module.
Versions
This also didn't run completely and threw the same error