I am using Python3, mpl_toolkits is there but within it basemap is not there. Can anyone please tell me the process to install it using "pip" command.
Hi Subrota Halder,
the easiest way to install basemap is to use conda as packagemanger. Than you can use ' conda install -c conda-forge basemap' to install basemap.
Kind regards
Sascha
Thanks a lot for your valuable time Sascha Dähne
'conda install -c conda-forge basemap' is working in local system.
Actually I am using HPC of our institute.
To install a python module usually I use
python -m pip install --user module_name
Is there any option like '--user' to install basemap in my user account?
Ok,
the reason seems to be the large dependency on libgeos which is not handled by Pypi, therefore it has to be installed via system.
The way of working should be install libgeos by system package manager, e.g.:
sudo apt-get update sudo apt-get install libgeos-3.6.2 libgeos-c1v5 libgeos-dev
Then install via pip:
pip3 install https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
I hope this works, but I haven't tested it.
maybe take a look at: https://github.com/matplotlib/basemap/issues/251 to get more informations.
kind regards
Sascha Dähne's instructions worked for me, although with a little twist. I had to re-install matplotlib with:
python -m pip uninstall matplotlib
python -m pip install -U matplotlib
and perform basemap install directly from github:
pip install -U git+https://github.com/matplotlib/basemap.git
Hope it helps ;).
For Windows Users and Python 3.7 this instructions worked for me:
https://stackoverflow.com/questions/18109859/how-to-install-matplotlib-basemap-module-on-windows-7-with-winpython-or-any-pyt
Cheers!
I have ocean potential temperature 3D (dimensions: lon, lat, level) data from GODAS and 3D potential temperature data from ORAS4. I want to regrid the ORAS4 data to GODAS data grid. How to...
04 May 2018 6,126 6 View
I learnt how to run CFSv2 using the initial condition from NOMADS CFS reanalysis data. I want to change some of the initial data before run the model (e.g. I want to use ORAS4 SST data). Can...
04 May 2018 8,338 0 View
I have vertical profiles of same length and with same spacing, but spatial location of the profiles are not uniform (i.e. not gridded). I want to interpolate the data using Objective Interpolation...
31 December 2016 2,344 2 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
Request Python code from this article : Gender equity of authorship in pulmonary medicine over the past decade. THANKS!
08 August 2024 6,242 2 View
Visual Studio Code (VS Code) has become a popular choice among developers for several reasons: 1. **Free and Open Source**: VS Code is free to use and open source, making it accessible to...
07 August 2024 7,013 4 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,977 3 View
Hello everyone, I am currently working on a research project that aims to integrate machine learning techniques into an open source SIEM tool to automate the creation of security use cases from...
04 August 2024 3,196 2 View
I have a .text file for various FASTA sequence , and i want to convert these sequences into a numeric file which will be in .csv format. OR I want to extract physiochemical properties(features)...
25 July 2024 3,650 2 View
In molecular dynamics simulation, to get FEL analysis, I got an error. My Python version is 3.10.7. My input files are made with a lower version of Python. But the final command to generate the...
23 July 2024 5,646 2 View
I am now developing a python module for ms2 database searching, would like to realize a function that similar to what Xcalibur did, choose multiple mass spectra and get an averaged spectra. But...
22 July 2024 3,975 1 View
Actually, I'm having trouble implementing the plot of the flutter region for the whirl prop system with 2 DOF (Influences of structural damping and propeller—pivot point distance on whirl flutter...
21 July 2024 5,047 2 View
Hello, dear RG community. Personally, I have found Xarray to be excruciatingly slow, especially for big datasets and nonstandard operations (like a custom filtering function). The only suggestion...
15 July 2024 4,705 2 View