Comments (11)
@xxyy1 Hi, you can follow this page to update your CMake. http://xlearn-doc.readthedocs.io/en/latest/install_cmake.html
from xlearn.
install cmake
Loaded plugins: changelog, priorities
942 packages excluded due to repository priority protections
Package cmake-2.8.12.2-2.el7.x86_64 already installed and latest version
Nothing to do
when i install xlearn from pip
why tips "Exception: Please install CMake first" ?
from xlearn.
Because xLearn requires CMake version > 3.0, so you get this exception.
We changed our CMake minimal requirement to 2.8. Now you can try to build it from source code.
from xlearn.
build from source code
new error
/bin/ld: cannot find -lpthread
/bin/ld: cannot find -lpthread
/bin/ld: cannot find -lstdc++
/bin/ld: cannot find -lm
/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make[2]: *** [test/base/file_util_test] Error 1
make[1]: *** [src/base/CMakeFiles/file_util_test.dir/all] Error 2
make: *** [all] Error 2
/bin/python2
Traceback (most recent call last):
File "setup.py", line 15, in
LIB_PATH = [os.path.relpath(libfile, CURRENT_DIR) for libfile in libpath'find_lib_path']
File "xlearn/libpath.py", line 45, in find_lib_path
'Cannot find xlearn Library in the candidate path'
builtin.XLearnLibraryNotFound: Cannot find xlearn Library in the candidate path
from xlearn.
Why your compiler does not support the standard library? Can you find these libraries like pthread on your machine?
from xlearn.
sorry,
This is the first time to meet this problem.
What path to look for, what to find?
How to solve this problem?
from xlearn.
Don't worry, can you tell me what OS on your computer? OSX or Linux ?
from xlearn.
CentOS Linux release 7.4.1708 (Core)
from xlearn.
Thank you very much for your patience guidance.
from xlearn.
It seems that your OS missing some necessary libraries.
Please try the following command:
sudo yum install glibc-static libstdc++-static -y
and then try to build xLearn again. If there still exists problems, please share me the error information.
from xlearn.
it works! thank you very much~~
from xlearn.
Related Issues (20)
- Only same or similar output from binary classifier model
- libsvm格式的数据训练Segmentation fault
- 读取pandas数据训练loss为nan HOT 1
- Support for arm64 HOT 1
- predict does not work without specifying out_path
- predict output gives different mse than one reported by predict function
- Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
- Memory Leak in DMatrix
- ffm模型训练的时候Precision为nan
- segmentation fault python3 我抽了(1000,20)的数据报错 HOT 1
- 使用xlearn的FM模型训练自己的数据集,发现出现bash line 1 :189133 segmentation fault core dumped的错误,感觉像是我自己做的数据集错了,但是又找不出来,请问有人出现过这个问题吗?
- xlearn python API's .predict method in doesn't kill the created threads after execution in python API, which leads to resource exhausted. HOT 2
- xlearn was installed on windows anaconda successfully but is not working HOT 1
- jupyter训练报错显示The kernel appears to have died. It will restart automatically. HOT 1
- successfully training. but always fail when running 'model.predict()' HOT 1
- How xlearn process the dataset before using the c++ api "Train(vector<reader>, vector<reader>)”
- Library crashing when using it in a HDFS environment
- Failed to convert feature matrix X and label y to xlearn data format
- Model output produces gibberish
- How to Extract Training Loss versus Epoch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xlearn.