Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTVS cannot find Python environment, "+ Custom..." button greyed out #2005

Closed
kyanha opened this issue Dec 30, 2016 · 3 comments
Closed

PTVS cannot find Python environment, "+ Custom..." button greyed out #2005

kyanha opened this issue Dec 30, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@kyanha
Copy link

kyanha commented Dec 30, 2016

I am having an issue where I cannot add a custom Python environment, because the "+ Custom..." button is greyed out. I had installed CPython 3.6, but that version was not listed in the dropdown list of the "+ Custom..." expando's version field when I attempted to set PTVS up to use it. I then quit Visual Studio 2015 Community, uninstalled CPython 3.6, and installed CPython 3.5. Ever since this happened I have been unable to fix the setup.

Is there anything I can do to fix this? Intellisense is not working and I really need it.

@r0f1
Copy link

r0f1 commented Dec 31, 2016

Exactly my issue, a couple of days ago: Try this:

#1994

@zooba zooba added this to the 2.2.6 milestone Jan 2, 2017
@zooba
Copy link
Member

zooba commented Jan 2, 2017

Fixing the registry key mentioned in #1994 should resolve the issue, but it's sounding like we'll need to release another update for 2.2 to prevent this crash.

@zooba zooba self-assigned this Jan 3, 2017
zooba added a commit to zooba/PTVS that referenced this issue Jan 3, 2017
…hes with Python 3.6 64-bit

Improves handling when loading invalid version numbers from the registry
Prevents unsupported version numbers being auto-detected when configuring an environment.
zooba added a commit that referenced this issue Jan 3, 2017
Fixes #1565, #1994, #2005 Auto-detect crashes with Python 3.6 64-bit
@zooba zooba closed this as completed Jan 3, 2017
@zooba
Copy link
Member

zooba commented Jan 4, 2017

There is a 2.2.6 RC release at https://github.com/Microsoft/PTVS/releases/tag/v2.2.6-rc with the fix for this issue. Please try it out and let us know if anything goes horribly wrong - we want to push the fix to all users within the next month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants