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 5,892 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,233 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,244 2 View
Hi, I am trying to construct a multi-layer fibril structure from a single layer in PyMol by translating the layer along the fibril axis. For now, I am able to use the Translate command in PyMol...
02 March 2021 4,569 4 View
I want to do a parameter study of a aixsymmetric cylinder in Abaqus. I want to create several jobs where I get the stresses for 3 different points in my model. These points are defined. I wrote a...
01 March 2021 10,078 1 View
Which is suitable for use with Python? MySQL or SQL Server? What is your suggestion?
01 March 2021 3,422 3 View
Please, if Gaussian Parameter optimization is possible in this code structure
28 February 2021 278 3 View
I wanted to add an extra parameter to the existing Johnson cook equation in the ABAQUS simulation. How to add those extra parameters. Ref: A modified Johnson-Cook material model with strain...
28 February 2021 4,841 3 View
System Description Cuda 11.2 GeForce GTX 1080ti tensorflow version 2.4.1 keras version 2.2.0 python version 3.8 I was getting the below error when I try to run my code on the...
25 February 2021 6,673 2 View
23 February 2021 7,826 2 View
I am looking for implementation of bayesian decision trees and bayesian regression trees in Python and/or R.. Do you know if the existing libraries support this
23 February 2021 6,689 3 View
Hi everyone. I am researching droguht effects on soil water drought. I am looking for already implemented functions in R or Python to estimate soil water content from precipitation,...
21 February 2021 2,084 1 View
I treid to use Entrez Batch, but it redirects me to NCBI site. Is there any script of Linux or Python through which I can download Fasta sequence of list of gene ID ?
21 February 2021 7,783 12 View