[python调试笔记] 编译运行h5py
生活随笔
收集整理的這篇文章主要介紹了
[python调试笔记] 编译运行h5py
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Microsoft Windows [版本 10.0.19042.1288]
(c) Microsoft Corporation。保留所有權利。
(base) D:\AntoPan2020\Library\python\whistlewave>python
Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print('Hello World!')
Hello World!
>>> plot_data.py parabplic_05.h5 -pFile "<stdin>", line 1plot_data.py parabplic_05.h5 -p^
SyntaxError: invalid syntax
>>> plot_data.py parabolic_05.h5 -pFile "<stdin>", line 1plot_data.py parabolic_05.h5 -p^
SyntaxError: invalid syntax
>>> python plot_data.py parabolic_05.h5File "<stdin>", line 1python plot_data.py parabolic_05.h5^
SyntaxError: invalid syntax
>>> exit
Use exit() or Ctrl-Z plus Return to exit
>>>(base) D:\AntoPan2020\Library\python\whistlewave>python plot_data.py parabolic_05.h5 -p
python: can't open file 'plot_data.py': [Errno 2] No such file or directory(base) D:\AntoPan2020\Library\python\whistlewave>ls
'ls' 不是內部或外部命令,也不是可運行的程序
或批處理文件。(base) D:\AntoPan2020\Library\python\whistlewave>cd whistlewave(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave>python plot_data.py parabolic_05.h5 -p
plot_data.py:82: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua
drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20))
plot_data.py:98: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua
drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20))(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave>python plot_data.py parabolic_05.h5
plot_data.py:82: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua
drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20))
plot_data.py:98: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qua
drilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, 10*np.log10(bw).T, cmap='plasma',norm=Normalize(vmin=-80, vmax=-20))
plot_data.py:126: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu
adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(T, W, 10*np.log10(np.abs(bz_spectrum)**2), cmap='plasma',norm=Normalize(vmin=-80, vmax=-20))
plot_data.py:154: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu
adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(PARA, PERP, np.log10(f), cmap='plasma',
plot_data.py:162: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu
adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(PARA, PERP, f, cmap='plasma',
plot_data.py:190: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu
adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, -je.T, cmap='RdBu_r',norm=Normalize(vmin=-2e-4, vmax=2e-4))
plot_data.py:204: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the qu
adrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.3.3. Either specify the corners of the quadrilaterals with 3.3. Either specify the corners of the quadrilaterals with X an 3.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rc
Params['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, jb.T, cmap='RdBu_r',norm=Normalize(vmin=-1e-3, vmax=1e-3))
plot_data.py:217: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3
.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcPa
rams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, jb_bw.T, cmap='RdBu_r',norm=Normalize(vmin=-0.3, vmax=0.3))(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave>
rcParams['pcolor.shading']. This will become an error two minor releases later.contourdata = ax1.pcolormesh(X, Y, jb_bw.T, cmap='RdBu_r',norm=Normalize(vmin=-0.3, vmax=0.3))(base) D:\AntoPan2020\Library\python\whistlewave\whistlewave>
?
總結
以上是生活随笔為你收集整理的[python调试笔记] 编译运行h5py的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python的第一个程序 Hello w
- 下一篇: 从每年的编程语言排行来看,为什么C/C+