-
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 with installation on linux/arm64 conda environment #581
Comments
Hi @leonid-butenko! Sorry for the late reply. I can reproduce the same problem as you on my Windows machine. It seems that it is being caused by the latest release 3.0.0 of Cython. I will downgrade the Cython upper pin from |
@leonid-butenko May I ask you to try two things on your system? After configuring
If both installation cases are reproducible for you (that |
@leonid-butenko It would be great if you can provide your feedback during this week, then I can prepare the 1.3.8 patch release including this bugfix soon. Very likely the issue is with the Cython 3.0.0 version, since I could reproduce the same error as you and it is gone after pinning Cython to the 0.29.x series, but before releasing I would like to confirm that the problem also gets solved for you. |
@molinav Thanks for your quick reply! Something strange here. As you suggested the first command with installation from GitHub fails exactly the same way as before. Howerer the second one has another issue. During building it complains about linking errors. Please see below:
|
I thought ok, may be it's a broken geos lib coming from conda. Then I skipped geos from the list in the commands sequence above and installed it manually from source code as suggested in here https://matplotlib.org/basemap/users/installing.html.
whereas when i try to run it, i get this:
Apparently the _geoslib.cpython is not there. Any ideas? |
@leonid-butenko Thanks for the feedback! Now I am a bit confused, but very likely due to lack of knowledge:
Unfortunately I have no ARM64 machine around, so it is not easy for me to test locally. However, at least the original error opening the issue seems gone, and it was caused by Cython 3.0.0 (I have found other projects affected in the same manner). At some point I will need to update the |
Sorry, my fault. Thanks for spotting that. Indeed I used amd64 version of the compiler in my last experiment. Here is the right one. And it seems to work:
btw, you can easily run mac (arm64) docker images in emulation using QEmu, they are much slower on intel but that's enough for testing. If you have qemu already installed, just run the docker command from my post. |
Nice to see that it is working! If you think the problem is solved, then feel free to close the issue. In the end your second problem here is more the lack of Let's see if I find time in the future to play around again with the |
Sure things. Thanks for your support! |
@leonid-butenko Today I released |
Hi,
I'm trying to install basemap on my mac using docker. As long as conda-forge doesn't seem to support basemap for linux-aarch64 architecture, i try to do that with pip. What am I doing wrong? Running basemap build manually gives same result
The text was updated successfully, but these errors were encountered: