-
Notifications
You must be signed in to change notification settings - Fork 394
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
Problem on installation 1.3.1 with sdist #533
Comments
Hi @YuujinHwang! You are right. Because we do not have pre-built wheels for MacOS, your computer tries with the source distribution (the zip file) but I made a mistake and some files are missing in the zip file uploaded to PyPI (see #532). This is fixed but I haven't released Can you try to install If it works for you, then I will release Also I see that you are trying to link |
I have just released
|
@YuujinHwang May I ask you if your problem got solved by installing |
@AgilentGCMS Your issue is still not solved in |
I am closing this issue due to lack of feedback. Since this was a problem with the broken |
@YuujinHwang The fix that I made to solve the broken source distribution package was not enough to make export GEOS_DIR="/opt/homebrew/Cellar/geos/3.10.2"
git clone https://github.com/matplotlib/basemap.git
cd basemap/packages/basemap
git checkout bugfix-539
python -m pip install . |
@molinav Hey! This got me past the install step (M1 Pro), with an extra Python 3.10.2, pip 22.0.4 |
@odrusso Thanks for the feedback! You have to use your additional command in case that you also need to build GEOS from source. I didn't include it in my previous comment because the original issue was trying to link the GEOS library available from Homebrew. Good to see that with GEOS from source it also works flawlessly on MacOS. I will tag a new
|
1 similar comment
@odrusso Thanks for the feedback! You have to use your additional command in case that you also need to build GEOS from source. I didn't include it in my previous comment because the original issue was trying to link the GEOS library available from Homebrew. Good to see that with GEOS from source it also works flawlessly on MacOS. I will tag a new
|
hi @molinav , I'm facing the same problem as the issue creator does. My OS is macOS 12.4. and the version 1.3.2 and 1.3.3 can not install as well, the reported final error is below,
|
Hi @junchih! It looks like you might having the following issue with Are you trying to build |
Thx @molinav, I see the reason. Theoretically anybody with macOS builtin python 3.8, or Only macOS with python 3.10 could work. But Homebrew/homebrew-core#91421. Let's wait! |
The Unfortunately I do not have expertise with MacOS and this might have introduced some regressions. The lines that you mention are very useful for an eventual fix for Python 3.8+ on MacOS. The reason for fixing But based on what we have seen here, this is a no-go for MacOS users due to numpy/numpy#18093, which was never fixed for This issue is also a clear example of the importance of implementing a GitHub workflow for MacOS. Implementations for Windows and GNU/Linux are already available and building the official wheels for PyPI. The MacOS workflow is not implemented as of today and errors like the one that you addressed are only found when an end user shares it in the issue tracker. |
@junchih Does it work for you if installing with the |
@molinav, I got this error, and same error for python 3.9
|
@junchih Your issue was also mentioned in #547 and you were right with the source of the problem. The patch is already implemented in the
and check that it works with: python -c "from mpl_toolkits import basemap; print(basemap)" The patch will arrive in PyPI with the hotfix version 1.3.4 of |
Environment
macOS Monterey
Version 12.1
Chip Apple M1 Max
Python 3.10.1
With the goes library as below
I tried to install basemap following the comments on #531
but installation failed with error
Even there exist header and built binary 'geos_c.h' and 'libgeos_c' in $GEOS_DIR
The text was updated successfully, but these errors were encountered: