只是在Orin板子上安装onnx而已,发现直接pip install onnx
与使用阿里云镜像
pip install onnx -i https://mirrors.aliyun.com/pypi/simple
都会报错如下:
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /pypi/simple/onnx/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /pypi/simple/onnx/
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/onnx/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/onnx/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))) - skipping
ERROR: Could not find a version that satisfies the requirement onnx (from versions: none)
ERROR: No matching distribution found for onnx
解决方法, 更换成豆瓣源就可以成功安装了,哈哈哈
pip install onnx -i https://pypi.doubanio.com/simple