-
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
need insights on importing mpl_toolkits.basemap and installation of basemap #530
Comments
@sahanaRavinder Please provide a description of the problem, only this way we can try to help you. |
thank u for the response....below is command prompt response while i m trying to install basemap....kindly see and share your thoughts Users\sahana.DESKTOP-VB0949B.000\AppData\Local\Programs\Python\Python310\Lib\site-packages\basemap-1.3.0\packages\basemap>python setup.py install |
I see at least two problems here:
set GEOS_DIR='extern'
python -c "import utils; utils.GeosLibrary('3.5.1').build(installdir='extern')"
I also see that MSVC++ is picking the cross-compiling tool (from host x86 to target x64). Is this correct for your case or should it be taking the native compiler for x64? We still do not offer precompiled binary wheels for Python 3.10. If using an older Python version is not a problem for you (e.g. Python 3.9), you could install python -m pip install basemap |
Thanks a ton for the reply
…On Tue, Jan 4, 2022 at 3:13 PM Víctor Molina García < ***@***.***> wrote:
I see at least two problems here:
1. When building from source, you need to build GEOS by yourself
first. The log says that python cannot find where GEOS is installed,
so either you have not compiled GEOS first or you did not define the
environment variable GEOS_DIR. You can use the GeosLibrary class that
we provide in utils to build GEOS from scratch. You need to go to the
folder where utils is found and type (e.g. if you want to get GEOS
installed in a folder called extern):
set GEOS_DIR='extern'
python -c "import utils; utils.GeosLibrary('3.5.1').build(installdir='extern')"
1. MSVC++ is complaining because it cannot find "io.h". Do you have
Windows 10 SDK installed in your computer? See:
https://stackoverflow.com/questions/40018405/cannot-open-include-file-io-h-no-such-file-or-directory
I also see that MSVC++ is picking the cross-compiling tool (from host x86
to target x64). Is this correct for your case or should it be taking the
native compiler for x64?
We still do not offer precompiled binary wheels for Python 3.10. If using
an older Python version is not a problem for you (e.g. Python 3.9), you
could install basemap simply by means of pip with:
python -m pip install basemap
—
Reply to this email directly, view it on GitHub
<#530 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWHA7M4ROCCTKZA7XFSJRWTUUK6KVANCNFSM5LFCOGRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Closing since I guess this is a duplicate of issue #531. |
Okay..btw tqsm for the Guidance
…On Sat, 22 Jan 2022, 05:45 Víctor Molina García, ***@***.***> wrote:
Closed #530 <#530>.
—
Reply to this email directly, view it on GitHub
<#530 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWHA7M6PA7S3C3VJKDSQEJ3UXHZKXANCNFSM5LFCOGRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No description provided.
The text was updated successfully, but these errors were encountered: