Behebung von 'error: option --rednose not recognized'

English Deutsch

Problem:

Du möchtest ein Python-Paket testen, z.B. mit python setup.py test. Du siehst jedoch die folgende Fehlermeldung:

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

Lösung

Rednose is a Python package that you need to install:

install_rednose.sh
pip install -U rednose

Check out similar posts by category: Python