错误:无法创建临时目录"C:\ Users \ user \ AppData \ Local \ Temp \ conda-< RANDOM> \"; [英] Error : Failed to create temp directory "C:\Users\user\AppData\Local\Temp\conda-<RANDOM>\"
本文介绍了错误:无法创建临时目录"C:\ Users \ user \ AppData \ Local \ Temp \ conda-< RANDOM> \";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试激活"conda激活tensorflow_cpu"
When I try to Activate "conda activate tensorflow_cpu"
conda activate tensorflow_cpu
错误:无法创建临时目录"C:\ Users \ user \ AppData \ Local \ Temp \ conda-\"
Error : Failed to create temp directory "C:\Users\user\AppData\Local\Temp\conda-\"
推荐答案
这是由于conda开发人员的错误所致.错误是临时路径的名称带有空格,因此要克服此问题,请重新分配环境变量TEMP,TMP.(对于Windows)
It is due to a bug from conda developers. The bug is the temp path is having names with spaces, so to overcome please reassign the Env Variables TEMP, TMP. (for windows)
- 转到环境变量
- 在用户变量"部分中查找TEMP,TMP
- 双击TMP并在变量值"中键入"C:\ conda_tmp"
- 类似地针对TEMP
- 关闭环境变量部分
- 重新启动anaconda提示符,错误应消失
这篇关于错误:无法创建临时目录"C:\ Users \ user \ AppData \ Local \ Temp \ conda-< RANDOM> \";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文