This blog post suggests using pyenv
with the desired detox
. The basic setup with brew
requires:
brew install pyenv pyenv-virtualenv pyenv-virtualenvwrapper
Then installing the desired Python versions with pyenv install [version]
, rather than installing Python using brew
. You can check the available versions using pyenv versions
.
Finally, pip install detox
will ensure you've got tox
and detox
installed. Then you should be able to specify the desired testing versions in your tox.ini
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…