Add 'fix_basemap.py'
This commit is contained in:
parent
d9a00c3159
commit
cb18ea7625
9
fix_basemap.py
Normal file
9
fix_basemap.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import os
|
||||||
|
import conda
|
||||||
|
|
||||||
|
conda_file_dir = conda.__file__
|
||||||
|
conda_dir = conda_file_dir.split('lib')[0]
|
||||||
|
proj_lib = os.path.join(os.path.join(conda_dir, 'share'), 'proj')
|
||||||
|
os.environ["PROJ_LIB"] = proj_lib
|
||||||
|
|
||||||
|
from mpl_toolkits.basemap import Basemap
|
Loading…
Reference in New Issue
Block a user