- 积分
- 4881
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-6-29
- 最后登录
- 1970-1-1
|
发表于 2019-7-17 11:21:54
|
显示全部楼层
请教各位高人几个问题。请指点一下啊。
第一,命令行运行,好像没啥问题,能出图。
(base) C:\Users\***\Anaconda3\pkgs\SkewT-master\skewt>python SkewT.py D:\2017_Project\sound_data\seasia_54511_sounding_2018_4_30_00.txt
第二,在Spyder下面运行,运行不通。
runfile('D:/2017_Project/sound_data/SkewT-plot.py', wdir='D:/2017_Project/sound_data')
Traceback (most recent call last):
File "<ipython-input-10-afdfc96f875e>", line 1, in <module>
runfile('D:/2017_Project/sound_data/SkewT-plot.py', wdir='D:/2017_Project/sound_data')
File "C:\Users\WYT\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "C:\Users\WYT\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/2017_Project/sound_data/SkewT-plot.py", line 1, in <module>
from skewt import SkewT
File "D:\2017_Project\sound_data\skewt.py", line 7, in <module>
import metpy.calc as mpcalc
ModuleNotFoundError: No module named 'metpy'
|
|