Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

error while installing tensorflow in conda environment (CondaError: Cannot link a source that does not exist.)

Ask Question

Solved the problem. The env name "root" is for conda <= 4.3, otherwise use:

conda update -n base conda

I hope this helps.

Try to run conda clean --all --yes and conda update anaconda.

Do you have a conda.exe file in the following folder C:\ProgramData\Anaconda3\Scripts\?

Do you use the latest Conda?

Another solution could be to create a conda environments conda create -n name_environment pip python=3.5 and using pip to install tensorflow pip install tensorflow inside the new environment after having activated it (activate name_environment).

P.S. I can not write a comment because I do not have enough reputation. EDIT - Now i can!

thanks ... tried running conda clean an updated conda but still facing the same problem... I am able to install other libraries but having the problem with this one. ... worked by creating another environment – Rushabh Jan 5, 2019 at 14:27 Maybe this can help you: github.com/conda/conda/issues/7713 You could try to use conda config --add pinned_packages defaults::conda You should use that if you have conda from defaults instead of conda-forge and want to make sure it stays that way. Otherwise, to help you, I/we need more information about your environment – Elidor00 Jan 5, 2019 at 15:20

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.