Closed Jun-Sheng closed 6 years ago
Hi, It looks like you don't have a C compiler. You need to install gcc.
Hi @NicolasHug,
You are spot on! It installed successfully after installing C complier. Thanks!
Link to installing gcc --> https://www.mkyong.com/mac/how-to-install-gcc-compiler-on-mac-os-x/
Collecting scikit-surprise
Using cached scikit-surprise-1.0.4.tar.gz
Requirement already satisfied: numpy>=1.11.2 in ./anaconda3/lib/python3.6/site-packages (from scikit-surprise)
Requirement already satisfied: six>=1.10.0 in ./anaconda3/lib/python3.6/site-packages (from scikit-surprise)
Building wheels for collected packages: scikit-surprise
Running setup.py bdist_wheel for scikit-surprise ... done
Stored in directory: /Users/
Description
Hi, i am running into a problem installing Surprise package on Python. Python version 3.6.3, Spyder 3.2.4
Steps/Code to Reproduce
pip install numpy = ok, pip install scikit-surprise = fails!
Expected Results
Actual Results
This is the logs produced when i ran "pip install scikit-surprise"
Versions
import platform; print(platform.platform()) Darwin-17.2.0-x86_64-i386-64bit
import sys; print("Python", sys.version) Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 6 2017, 12:04:38) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
import surprise; print("surprise", surprise.version) Traceback (most recent call last):
File "", line 1, in
import surprise; print("surprise", surprise.version)
ModuleNotFoundError: No module named 'surprise'