Coder Social home page Coder Social logo

Comments (5)

jvdzwaan avatar jvdzwaan commented on June 22, 2024 3

I am wondering how to specify CC='gcc-8' CXX='g++-8' when installing pytrec_eval.

$ CC='gcc-8' CXX='g++-8' pip install pytrec_eval

from pytrec_eval.

cvangysel avatar cvangysel commented on June 22, 2024

Can you install GCC using Homebrew and try building with that?

from pytrec_eval.

yifanclifford avatar yifanclifford commented on June 22, 2024

Thank you. It works by installing the latest version of GCC from homebrew and specifying CC='gcc-8' CXX='g++-8' when installing pytrec_eval.

from pytrec_eval.

RaptorMai avatar RaptorMai commented on June 22, 2024

I am wondering how to specify CC='gcc-8' CXX='g++-8' when installing pytrec_eval.

from pytrec_eval.

cash avatar cash commented on June 22, 2024

I asked a few MacOS users to test installing pytrec_eval. They all cloned the repository, created a virtual environment, and then ran pip install .. They all were running OSX 10.15.7. 3 succeeded in installing and one failed. The one who failed had an old version of Xcode that seemed to be interfering with his Homebrew GCC. He also generally has trouble installing python packages that require compiling because of his setup. The other three who succeeded all use clang version 12 or 11:

gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

from pytrec_eval.

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.