9 lines
240 B
Python
9 lines
240 B
Python
|
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
|