- 积分
- 21
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2023-4-24
- 最后登录
- 1970-1-1
|
发表于 2025-9-10 11:17:27
|
显示全部楼层
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[2], line 2
1 import numpy as np
----> 2 import windspharm
3 from windspharm.xarray import VectorWind
File c:\Users\DELL\miniconda3\envs\wind_env\lib\site-packages\windspharm\__init__.py:23
2 # Copyright (c) 2012-2018 Andrew Dawson
3 #
4 # Permission is hereby granted, free of charge, to any person obtaining a copy
(...)
19 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 # THE SOFTWARE.
21 from __future__ import absolute_import
---> 23 from . import standard
24 from . import tools
26 try:
File c:\Users\DELL\miniconda3\envs\wind_env\lib\site-packages\windspharm\standard.py:22
2 # Copyright (c) 2012-2018 Andrew Dawson
3 #
4 # Permission is hereby granted, free of charge, to any person obtaining a copy
(...)
19 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 # THE SOFTWARE.
21 import numpy as np
---> 22 from spharm import Spharmt, gaussian_lats_wts
25 class VectorWind(object):
26 """Vector Wind computations (standard `numpy` interface)."""
File c:\Users\DELL\miniconda3\envs\wind_env\lib\site-packages\spharm\__init__.py:1
----> 1 from .spharm import __doc__
2 from .spharm import __version__
3 from .spharm import *
File c:\Users\DELL\miniconda3\envs\wind_env\lib\site-packages\spharm\spharm.py:123
1 """
2 Introduction
3 ============
(...)
121 PERFORMANCE OF THIS SOFTWARE.
122 """
--> 123 import _spherepack, numpy, math, sys
125 # define a list of instance variables that cannot be rebound
126 # or unbound.
127 _private_vars = ['nlon','nlat','gridtype','legfunc','rsphere']
ImportError: DLL load failed while importing _spherepack: 找不到指定的模块。请问是否遇到过这个报错
|
|