sh 运行python显示 ModuleNotFoundError: No module named
程序员文章站
2022-03-03 16:17:00
...
树莓派 sh 运行 python
python3.7 official_pose.py --video_file_path /home/pi/proj/pythonProj/blink_detect/video/rolling_waist.mp4 --pi true
显示
[email protected]:~/proj/pythonProj/Pose_estimation-main $ sudo sh start.sh
Traceback (most recent call last):
File "official_pose.py", line 1, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
需要 加上 -m
python3.7 -m official_pose.py --video_file_path /home/pi/proj/pythonProj/blink_detect/video/rolling_waist.mp4 --pi true
推荐阅读
-
解决Python源码编译时提示:ModuleNotFoundError: No module named ‘distutils.command‘
-
下载python中Crypto库报错:ModuleNotFoundError: No module named ‘Crypto’的解决
-
Python3中无法导入ssl模块的解决办法和python3.7 ModuleNotFoundError: No module named bz2解决办法
-
【昊鼎王五】执行python3脚本,报“ModuleNotFoundError: No module named 'dateutil'”错的解决方法
-
解决pycharm终端/cmd运行python脚本报错“ImportError/ModuleNotFoundError:No Module named ...”
-
python3 导入自定义包 ModuleNotFoundError: No module named '__main__ 解决办法
-
python报错解决:ModuleNotFoundError: No module named ‘http.server‘; ‘http‘ is not a package
-
python自动化测试之web运行代码报错:importError:no module named selenium
-
[Tensorflow]解决ModuleNotFoundError: No module named ‘tensorflow.python.eager‘问题
-
Python3 安装pip 提示ModuleNotFoundError: No module named 'distutils.util'