Is it possible to use tox with conda-based Python installations?

前端 未结 5 1850
长情又很酷
长情又很酷 2020-12-29 03:53

The Python testing tool tox seems to be designed to work with virtualenv. Can it also work on conda/anaconda-based Python installations?

5条回答
  •  独厮守ぢ
    2020-12-29 04:37

    Yes, you need the conda version of virtualenv installed for this to work.

    Try to execute:

    conda install virtualenv
    
    virtualenv                15.1.0                   py36_
    

    Change to project directory containing tox.ini and execute:

    tox
    

提交回复
热议问题