赞
踩
UserWarning:Attempted to use ninja as the BuildExtension backend but we could not find ninja
解决方法:pip install ninja
SetuptoolsDeprecationWarning: setup.py install is deprecated.Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning.
解决:降到58.2.0
pip uninstall setuptools
pip install setuptools==58.2.0
运行python setup.py build install报错:
running bdist_egg
running egg_info
error: [Errno 13] Permission denied
原因是权限不够,解决方法:
sudo python setup.py build install
如果不行的话,在终端运行which python,得到python的路径后,运行
sudo /home/zyp/anaconda3/envs/pytorch_cp37/bin/python setup.py build install
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。