我使用PyCall包调用Python的包时,一直出现无法import的问题。但我使用Python调用相应环境下的包时并不会出现这个问题。求教各位大佬如何解决。
<class 'ImportError'>
ImportError('DLL load failed while importing _network: 找不到指定的程序。')
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\__init__.py", line 10, in <module>
from . import calibrate_mesmer, core, create_emulations, io, stats, testing, utils
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\calibrate_mesmer\__init__.py", line 9, in <module>
from .calibrate_mesmer import _calibrate_and_draw_realisations, _calibrate_tas
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\calibrate_mesmer\calibrate_mesmer.py", line 7, in <module>
from mesmer.create_emulations.utils import concatenate_hist_future
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\create_emulations\__init__.py", line 10, in <module>
from .create_emus_gt import *
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\create_emulations\create_emus_gt.py", line 11, in <module>
from mesmer.io.save_mesmer_bundle import save_mesmer_data
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\io\__init__.py", line 10, in <module>
from ._load_cmipng import *
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\io\_load_cmipng.py", line 18, in <module>
from ..io.load_constant_files import load_regs_ls_wgt_lon_lat
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\mesmer\io\load_constant_files.py", line 16, in <module>
import regionmask
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\regionmask\__init__.py", line 5, in <module>
from . import core, defined_regions
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\regionmask\defined_regions\__init__.py", line 3, in <module>
from . import _ressources
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\regionmask\defined_regions\_ressources.py", line 1, in <module>
import geopandas as gp
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\geopandas\__init__.py", line 3, in <module>
from geopandas.geoseries import GeoSeries # noqa
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\geopandas\geoseries.py", line 9, in <module>
from pyproj import CRS, Transformer
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\pyproj\__init__.py", line 33, in <module>
import pyproj.network
File "C:\Users\Administrator\.julia\conda\3\x86_64\lib\site-packages\pyproj\network.py", line 10, in <module>
from pyproj._network import ( # noqa: F401 pylint: disable=unused-import