我想运行导入numpy模块的python脚本
当我试图运行时,它会给我错误,因为找不到numpy模块
C:\BSW_development\bp_plarp\Tools\PicoScope>test_pwm.py
Traceback (most recent call last):
File "C:\BSW_development\bp_plarp\Tools\PicoScope\test_pwm.py", line 24, in <module>
from lib_pico2000a import ScopeCapture
File "C:\BSW_development\bp_plarp\Tools\PicoScope\lib_pico2000a.py", line 20, in <module>
import numpy as np # linspace
ModuleNotFoundError: No module named 'numpy'
虽然它正在安装
C:\BSW_development\bp_plarp\Tools\PicoScope>python
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.version.version
'1.19.5'
>>> exit()`
目前没有回答
相关问题 更多 >
编程相关推荐