700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 安装torchvision时 报错error: command ‘aarch64-linux-gnu-gcc‘ failed with exit status 1

安装torchvision时 报错error: command ‘aarch64-linux-gnu-gcc‘ failed with exit status 1

时间:2019-10-10 19:46:45

相关推荐

安装torchvision时 报错error: command ‘aarch64-linux-gnu-gcc‘ failed with exit status 1

jetson nano安装torchvision时报错

进行编译安装:

cd torchvisionpython3 setup.py install

解决:

1.如果是python2请先使用sudo pip install pyzmq==17.0.0,python3使用sudo pip3 install pyzmq==17.0.0

事实证明,无效!!!

2.缺少依赖库

sudo apt-get install python3-dev python3-pip libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev

还是无效!!!

3.fatal error: libavcodec/avcodec.h: No such file or directory

FFmpeg版本错误

解决:

if has ffmpeg改为if False即可

重新运行编译OK~

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。