gasevi / pyreclab

pyRecLab is a library for quickly testing and prototyping of traditional recommender system methods, such as User KNN, Item KNN and FunkSVD Collaborative Filtering. It is developed and maintained by Gabriel Sepúlveda and Vicente Domínguez, advised by Prof. Denis Parra, all of them in Computer Science Department at PUC Chile, IA Lab and SocVis Lab.
GNU General Public License v3.0
122 stars 28 forks source link

input command line: cmake . #3

Closed kyowill closed 7 years ago

kyowill commented 7 years ago

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PYTHON_INCLUDE_DIR (ADVANCED) used as include directory in directory /home/will/pyreclab used as include directory in directory /home/will/pyreclab used as include directory in directory /home/will/pyreclab/dataio used as include directory in directory /home/will/pyreclab/datahandlers used as include directory in directory /home/will/pyreclab/algorithms used as include directory in directory /home/will/pyreclab/pyinterface used as include directory in directory /home/will/pyreclab/eval_metrics

kyowill commented 7 years ago

https://stackoverflow.com/questions/24174394/cmake-is-not-able-to-find-python-libraries It works

VinceValence commented 7 years ago

Hello @kyowill, I am having the same problem, how did you solve it? I saw the question in SO, but it has no accepted answer.

kyowill commented 7 years ago

add this option -DPYTHON_INCLUDE_DIR=$(python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())")

VinceValence commented 7 years ago

Thank you, @kyowill. It worked.