-
Notifications
You must be signed in to change notification settings - Fork 10
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
Failing to install pypmc on macOS - could not cythonize #67
Comments
Sali @MichelDC could you try to run
and then retry to install [edit: pip -> pip3] |
That unfortunately results in exactly the same error when trying to install |
How did you install cython. Via pip? |
Yes, I did as written above: |
Can you try to remove it? The cython dependency should be pulled in automatically during installation of pypmc |
I removed it, but nothing changed. |
Can you check what
says? Perhaps your pip is too old, I remember updating to pip19 that has better ways to define dependencies at build time vs runtime |
An alternative would be to first install cython again, then install an older version of pypmc like
I didn't add any features in the last release but just fixed the build with newer version of python and cython. |
I have |
@MichelDC sorry for coming back to you so late. If you are still interested, please install pypmc-1.1.4. While it is released, it's not on PyPI yet. You need to download the tarball from Github, and then install it manually via |
@dvandyk had the same issue on my Mac and tried this solution and it works now. Thanks! |
@mingdeyu I just uploaded the tarball and don't have a mac available, could you tell me if the regular installation with
now works without problems? |
On Ubuntu Linux, I got the same error as @MichelDC, with up-to-date cython and cython upgraded using pip:
Installing from the github repository works:
|
Dear all
I was trying to install pypmc on my Mac (macOS 10.14.5), to use it in EOS, but the installation fails with:
pip3 install --user pypmc Collecting pypmc Using cached https://files.pythonhosted.org/packages/07/d3/86d432f20b2d82109e431c40e536ccac702a2e1cc85d6974c68b4be5d358/pypmc-1.1.2.tar.gz Requirement already satisfied: numpy in /Users/michel/Library/Python/3.7/lib/python/site-packages (from pypmc) (1.17.0) Requirement already satisfied: scipy in /Users/michel/Library/Python/3.7/lib/python/site-packages (from pypmc) (1.3.1) Building wheels for collected packages: pypmc Building wheel for pypmc (setup.py) ... error ERROR: Complete output from command /usr/local/opt/python/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/4w/rfpfxc9d2ndfgz6lv9xtdrjc0000gn/T/pip-install-f1fe16hz/pypmc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/4w/rfpfxc9d2ndfgz6lv9xtdrjc0000gn/T/pip-wheel-esu5sr7n --python-tag cp37: ERROR: WARNING: Could not cythonize: ModuleNotFoundError("No module named 'Cython'") ...
followed by a long list of errors (I can paste them here if needed).
I did install
cython
and it is in myPATH
Any help is appreciated, thanks!
The text was updated successfully, but these errors were encountered: