i have a conda environment which i use to run some python scripts. Up until just recently (2-3 days) i could activate it and run my scripts without problem. But now when i run
conda activate WCL
it gives me an error :
Failed to create temp directory "C:\CONDA_~1\2\conda-<RANDOM>\"
Any ideas what to do here ?
Obs : My windows server 2018 user is mirel.voicu without spaces. In theory it should be ok but I think you can reproduce the error by first changing TEMP and TMP variables to C:\conda_tmp to be sure this is done as others suggested and after that create a bat windows file that contains 2 commands: 1. "call conda activate 'some_env' >> output.txt" to dump command output into a log txt file 2. " call conda deactivate" to deactivate the environment. After creating the bat file schedule that bat file to run many many times. I have a bat that performs this operation once a day and after a month or so of running continuosly it finaly gives me the error.
Meanwhile i will try to update conda. I admit i installed my last version around september 2020.