D:\programfiles\miniconda\envs\py38torch_gpu\python.exe C:/Users/liqiang/Desktop/handpose_x-master/onnx_inference.py
Traceback (most recent call last):
File "C:/Users/liqiang/Desktop/handpose_x-master/onnx_inference.py", line 7, in <module>
import onnxruntime
ModuleNotFoundError: No module named 'onnxruntime'Process finished with exit code 1
在miniconda或者Anaconda环境里安装onnxruntime
pip install onnxruntime -i https://pypi.douban.com/simple/
D:\programfiles\miniconda\envs\py38torch_gpu\python.exe C:/Users/liqiang/Desktop/handpose_x-master/onnx_inference.py
Traceback (most recent call last):
File "C:/Users/liqiang/Desktop/handpose_x-master/onnx_inference.py", line 8, in <module>
import onnx
ModuleNotFoundError: No module named 'onnx'在miniconda或者Anaconda环境里安装onnx
pip install onnx -i https://pypi.douban.com/simple/
文章来源:https://www.toymoban.com/news/detail-439517.html
文章来源地址https://www.toymoban.com/news/detail-439517.html
到了这里,关于ModuleNotFoundError: No module named ‘onnxruntime‘和ModuleNotFoundError: No module named ‘onnx‘的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!