1

I want to use a conda virtual environment with VS2017, but I get the error that it could not identify a virtual environment in the selected path. The screenshot below is not mine, but it's from this SO question, which is similar but does not solve my problem. My path is C:\Users\USERNAME\.conda\envs\tensorflow.

We could not identify a virtual environment in the selected path.

I have installed python 3.6 and anaconda 4.3.0 using the Visual Studio 2017 installer. Then I've followed the steps on SO to create a python 3.5 environment for tensorflow.

My guess is that Visual Studio doesn't recognize the python 3.5 installation, but I'm not sure what would be the best way to solve that without making a mess of my system.

There is a similar SO question, but it has no responses. Here is a gist of my python diagnostic info from VS 2017.

Community
  • 1
  • 1
Herman
  • 2,738
  • 19
  • 32

1 Answers1

1

Oops, it turns out that this SO answer is correct after all. It works after creating a custom environment within Visual Studio.

Community
  • 1
  • 1
Herman
  • 2,738
  • 19
  • 32