Code Monkey home page Code Monkey logo

Comments (9)

sparo-jack avatar sparo-jack commented on May 19, 2024 5

yum install gcc-c++

from xlearn.

WinterFu avatar WinterFu commented on May 19, 2024 3

问题已经解决,原来是在CMakeList.txt文件中CMAKE_CXX_COMPILER找不到,在网上搜了很多解决方法,亲测有效得一种:sudo apt-get update sudo apt-get install -y build-essential 执行以上两个命令,然后再cd到anaconda/bin文件夹下,执行 pip install xlearn 安装成功,但是后续可能在import的时候会出现ImportError是关于libstdc++的,这里我们需要更新一下libgcc直接在执行conda install libgcc就可以了!

from xlearn.

Douboo avatar Douboo commented on May 19, 2024 2

pip install cmake
pip install xlearn

from xlearn.

xxllp avatar xxllp commented on May 19, 2024

这个库依赖都不清楚,看来还是测试少了

from xlearn.

yunxileo avatar yunxileo commented on May 19, 2024

I also have this problem

from xlearn.

DoomOTW avatar DoomOTW commented on May 19, 2024

没有cmake,安装一下:
centos:
yum install cmake
ubuntu:
apt-get install cmake

from xlearn.

tnlin avatar tnlin commented on May 19, 2024

同样问题 确认已经有用apt安装cmake 仍然无法
使用的是Anaconda + Python3 on Ubuntu 17.04 (Azure环境)

from xlearn.

xxllp avatar xxllp commented on May 19, 2024

这个问题为啥呢,奇怪哈

from xlearn.

WinterFu avatar WinterFu commented on May 19, 2024

同样遇到这样的问题,Ubuntu16.04+anaconda3已经安装了cmake但是还报同样的错误!

from xlearn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.