Conda can't activate environment

你。 提交于 2019-12-05 18:55:17

I don't know why, but the folder containing your environments is env but conda is looking for a folder called envs - you have two options:

  1. Rename the env folder to envs
  2. set the CONDA_ENVS_PATH environment variable to point to your path.

I would recreate that environment. Sometimes, if something goes wrong during package installation, this can result in a broken environment configuration, e.g. missing/invalid files.

The activate script looks for a few subdirectories (and possibly more things) to decide if the given directory is a valid environment.

It is hard to diagnose your fault remotely, so I would suggest that you recreate that environment (simply rename the old folder).

If you want to diagnose the error, compare those two directories afterwards.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!