/usr/local/lib/python3.10/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
原因:setuptools
版本高于 58.2。
查看 setuptools
版本:
python3
import setuptools
print(setuptools.__version__)
安装新版本:
pip3 install setuptools==58.2.0 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
重新编译功能包即可。