-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Error when pip install on MacOS #99
Comments
Install successfully on version 6.7.0 |
@xcTorres I think this happened because I failed to configure
and let me know the results? Thank you! |
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 |
Looks like an extra compiler flag is required on some macOS version. If you don't mind, could you try and install just
And may I know which macOS version are you running? So that other users who encounter similar problem can find your solution. Thanks! |
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.
|
I made some more changes to the build, could you please try this
and see if it's able to install? |
It works. Thanks |
Collecting symspellpy
Using cached symspellpy-6.7.2-py3-none-any.whl (2.6 MB)
Collecting editdistpy==0.1.1
Using cached editdistpy-0.1.1.tar.gz (7.2 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: editdistpy
Building wheel for editdistpy (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: python /Users/chong.xie/anaconda3/envs/poi/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/lc/qhxc24_x08768928cycjn64wdky3nh/T/tmpqtq9mltn
cwd: /private/var/folders/lc/qhxc24_x08768928cycjn64wdky3nh/T/pip-install-ntse93wr/editdistpy_8f379bfb4b4648408d489c6afecce03d
Complete output (5 lines):
running bdist_wheel
running build
running build_ext
building 'editdistpy.levenshtein' extension
error: unknown file type '.pyx' (from 'editdistpy/levenshtein.pyx')
ERROR: Failed building wheel for editdistpy
The text was updated successfully, but these errors were encountered: