Git Product home page Git Product logo

Comments (7)

xcTorres avatar xcTorres commented on July 26, 2024 1

It works. Thanks

from symspellpy.

xcTorres avatar xcTorres commented on July 26, 2024

Install successfully on version 6.7.0

from symspellpy.

mammothb avatar mammothb commented on July 26, 2024

@xcTorres I think this happened because I failed to configure editdistpy properly for systems that cannot install via prebuilt wheels, sorry about that. I have made some changes to the package configuration, could you please try the following command

pip install -U symspellpy==6.7.3 --no-cache-dir

and let me know the results? Thank you!

from symspellpy.

xcTorres avatar xcTorres commented on July 26, 2024

Sorry, still cannot work. But when I use the following command it works.

CFLAGS='-stdlib=libc++' pip install -U symspellpy==6.7.3 --no-cache-dir

from symspellpy.

mammothb avatar mammothb commented on July 26, 2024

Looks like an extra compiler flag is required on some macOS version. If you don't mind, could you try and install just editdistpy==v0.1.3rc1 to see if it can install without the extra flags (I added the extra flag for macOS into its setup script)?

pip install -U editdistpy==0.1.3rc1 --no-cache-dir

And may I know which macOS version are you running? So that other users who encounter similar problem can find your solution. Thanks!

from symspellpy.

xcTorres avatar xcTorres commented on July 26, 2024

My Mac version: 10.15.7

I am not able to install editdispy using "pip install -U editdistpy==0.1.3rc1 --no-cache-dir", here is the error.

  In file included from editdistpy/levenshtein.cpp:656:
  In file included from editdistpy/_levenshtein.hpp:4:
  editdistpy/def.hpp:10:10: fatal error: 'cstdint' file not found
  #include <cstdint>
           ^~~~~~~~~
  1 error generated.
  python3.7/distutils/extension.py:131: UserWarning: Unknown Extension options: 'extra_compiler_args'
    warnings.warn(msg)
  error: command 'gcc' failed with exit status 1

  ERROR: Failed building wheel for editdistpy
  Running setup.py clean for editdistpy
Failed to build editdistpy

from symspellpy.

mammothb avatar mammothb commented on July 26, 2024

I made some more changes to the build, could you please try this

pip install -U editdistpy==0.1.3rc3 --no-cache-dir

and see if it's able to install?

from symspellpy.

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.