如何修复 'error: option --rednose not recognized'
问题:
你想测试 Python 包,例如使用 python setup.py test。但是,你看到以下错误消息:
rednose_error.txt
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --rednose not recognized解决方案
Rednose 是你需要安装的 Python 包:
install_rednose.sh
pip install -U rednoseCheck out similar posts by category:
Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow