PTVS
PTVS copied to clipboard
Interpreter usage tagged as 0.0
There seems to be a significant number of users running code where we tag their Python version as 0.0. I was reviewing telemetry data and saw that there are more recent VS versions where this is more prevalent query particularly when looking at EventName=='vs/python/launch' and Properties["vs.python.version"]
Stella mentioned there was a previous fix for this https://github.com/microsoft/PTVS/pull/6891 that should have helped but looks like there might be another issue given this showing on newer release versions.
Associated code can be found below https://github.com/microsoft/PTVS/blob/e2e45530c76ff8ed42f38302f57fea05208c4594/Python/Product/PythonTools/PythonTools/Project/DefaultPythonLauncher.cs#L68
Curious if this might be happening for people who are using venv vs conda or perhaps another environment manager? Or if we just arent finding/recognizing these interpreters.