Coder Social home page Coder Social logo

Error installing with MacOS about dscribe HOT 9 CLOSED

singroup avatar singroup commented on June 11, 2024
Error installing with MacOS

from dscribe.

Comments (9)

ardunn avatar ardunn commented on June 11, 2024

If it helps, my system specs are:

OS: OSX 10.14.2
Python: 3.6.2

from dscribe.

lauri-codes avatar lauri-codes commented on June 11, 2024

Thank you for letting us know. We have just successfully tested installing on mac, but with different OS and python version. We will look into this and keep you updated.

from dscribe.

lauri-codes avatar lauri-codes commented on June 11, 2024

Could you check what version of the Command Line Tools you currently have, and try updating them (see e.g. https://stackoverflow.com/questions/42538171/xcode-command-line-tools-how-to-update). If this does not help, let us know.

from dscribe.

ardunn avatar ardunn commented on June 11, 2024

Hi @lauri-codes I have Command Line Tools 10.1

from dscribe.

lauri-codes avatar lauri-codes commented on June 11, 2024

Hi @ardunn,

It seems that the issue actually comes from the newer version of Command Line Tools. At least with CLT version 9.4.1 there is no issue. We will try to resolve the issue, in the meantime downgrading CLT should help.

from dscribe.

lauri-codes avatar lauri-codes commented on June 11, 2024

Hi @ardunn,

Could you check if the problem is now fixed in the git master branch or in the newest pypi version (dscribe 0.1.8). I did manage to install everything under OSX 10.13.6, Python 2.7 and CLT: 10.1.

The problems seems to be in the compilation flags distutils uses when compiling the C++ extension included with DSCribe. Newer versions of CLT come with clang that does not support the "-std=c++11" flag used in setup.py. Instead something like "-std=libc++" should be used. I now added the extra compilation argument "-mmacosx-version-min=10.9" which seems to force backwards compatibility with the old flag.

from dscribe.

lauri-codes avatar lauri-codes commented on June 11, 2024

Hi @ardunn,

Did you have time to test if the setup now works in your environment?

from dscribe.

lauri-codes avatar lauri-codes commented on June 11, 2024

Closing this issue for now.

from dscribe.

ardunn avatar ardunn commented on June 11, 2024

@lauri-codes sorry forgot to respond to this. Yep, pip install works now! Thanks

from dscribe.

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.