tox-conda: cowardly refusing to delete `envdir` (it does not look like a virtualenv)
I got this error when using tox-conda 0.2.0 with tox 3.13.2, on miniconda3 with conda 4.6.14, when an environment exists and needs to be recreated:
(tools_py37) C:\_dev\python_ws\_Libs_OpenSource\py-make>tox -r
GLOB sdist-make: C:\_dev\python_ws\_Libs_OpenSource\py-make\setup.py
py26 create: C:\_dev\python_ws\_Libs_OpenSource\py-make\.tox\py26
ERROR: cowardly refusing to delete `envdir` (it does not look like a virtualenv): C:\_dev\python_ws\_Libs_OpenSource\py-make\.tox\py26
Note that even using tox -r does not solve the problem.
Any idea why this happens ? Thanks for this project !
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (11 by maintainers)
Not a problem if we make the marker file the .tox-config1 we already write 👍
So what if tox before generating an environment puts a marker file in the folder and we check for the existence of this marker file?