我Flasgger
使用 Anaconda 提示符安装。
尝试将其导入 Spyder 时,我得到ModuleNotFoundError
:
runfile('C:/Users/myName/bankApp_flassger.py', wdir='C:/Users/myName')
Traceback (most recent call last):
File "<ipython-input-5-6365a948c06c>", line 1, in <module>
runfile('C:/Users/myName/bankApp_flassger.py', wdir='C:/Users/myName')
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/tobis/bankApp_flassger.py", line 12, in <module>
import flasgger
ModuleNotFoundError: No module named 'flasgger'
这里有什么错误?我认为安装没问题Flasgger
...但是导入失败。