Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The err about python interface #3825

Closed
ghost opened this issue May 31, 2017 · 2 comments
Closed

The err about python interface #3825

ghost opened this issue May 31, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented May 31, 2017

I installed Shogun on the ubuntu16.04 through the python interface,
When I execute: cmake -DPythonModular=ON ..
The following error occurred:
root@xxn-K84HR:/shogun/build# cmake -DPythonModular=ON ..-- Found CCache: /usr/bin/ccache
-- Using system's malloc
-- dir='/shogun/src'
-- dir='/shogun/build/src'
-- dir='/shogun/src/gpl'
-- Spinlock support found
CMake Warning at src/shogun/CMakeLists.txt:259 (MESSAGE):
The system Eigen3 version 3.2.92 contains a lot of bugs, which could cause
some models failing!

-- Could NOT find OPENCL (missing: OPENCL_LIBRARY OPENCL_INCLUDE_DIR)
-- Could NOT find ViennaCL (missing: VIENNACL_INCLUDE_DIR VIENNACL_ENCODED_VERSION OpenCL_INCLUDE_DIRS OpenCL_LIBRARIES) (Required is at least version "1.5.0")
-- Eigen3 set as default LINALG_DEFAULT_BACKEND
-- Eigen3 set as default LINALG_LINEAR_SOLVER_LIB
-- Eigen3 set as default LINALG_EIGENSOLVER_LIB
-- A library with BLAS API not found. Please specify library location.
-- LAPACK requires BLAS
-- A library with LAPACK API not found. Please specify library location.
-- Could NOT find GLPK (missing: GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_PROPER_VERSION_FOUND)
-- Could NOT find CPLEX (missing: CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
-- Could NOT find MOSEK (missing: MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY MOSEK_LIBRARIES)
-- Could NOT find Protobuf (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- Could NOT find JSON (missing: JSON_INCLUDE_DIR JSON_LIBRARY) (Required is at least version "0.11")
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
-- Could NOT find SNAPPY (missing: SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)
-- Lzo includes and libraries NOT found.
-- Could NOT find NLOPT (missing: NLOPT_LIBRARY NLOPT_INCLUDE_DIR)
-- Could NOT find LPSOLVE (missing: LPSOLVE_LIBRARIES LPSOLVE_INCLUDE_DIR)
-- Could NOT find ColPack (missing: COLPACK_LIBRARIES COLPACK_LIBRARY_DIR COLPACK_INCLUDE_DIR)
-- Could NOT find ARPREC (missing: ARPREC_LIBRARIES ARPREC_INCLUDE_DIR)
-- Linker: GNU gold
-- Could NOT find Ctags (missing: CTAGS_EXECUTABLE)
CMake Warning at cmake/FindPLY.cmake:24 (message):
ply import failure:

Call Stack (most recent call first):
examples/meta/CMakeLists.txt:4 (FIND_PACKAGE)

CMake Error at examples/meta/CMakeLists.txt:6 (message):
Python module ply required for meta examples. Install or set
BUILD_META_EXAMPLES=OFF

-- Configuring incomplete, errors occurred!
See also "/shogun/build/CMakeFiles/CMakeOutput.log".
See also "/shogun/build/CMakeFiles/CMakeError.log".
root@xxn-K84HR:/shogun/build#

what should i do??thanks

@MikeLing
Copy link
Contributor

MikeLing commented May 31, 2017

@xxnyufengzhe Hi, thank you for your report this. So, from the error message, I believe you missing some necessary package for shogun compiling, etc Ctags. Try to install Ctags and try it again? :)

@karlnapf
Copy link
Member

karlnapf commented May 31, 2017

I cite the error message:
Python module ply required for meta examples. Install or set BUILD_META_EXAMPLES=OFF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants