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

Visual Studio Python Environment missing in IronPython 2.7.8 but works in 2.7.7 #4092

Closed
GLantaff opened this issue Apr 20, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@GLantaff
Copy link

If I install IP 2.7.7, I can create IronPython projects and VS will find the "IronPython 2.7 (32-bit)" Python Environment.
If I then uninstall 2.7.7 and install 2.7.8, The IronPython Environments are gone.

Any thoughts?

@huguesv
Copy link
Contributor

huguesv commented Apr 20, 2018

They changed the location from Program Files (x86) to Program Files, and the registry key from Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\IronPython\2.7\InstallPath to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\IronPython\2.7\InstallPath.

Workaround: Using regedit.exe, add a copy of the IronPython\2.7\InstallPath under WOW6432Node. I checked that it was detected and I was able to run a couple of IronPython projects after that.

@huguesv
Copy link
Contributor

huguesv commented Apr 20, 2018

Note to whoever wants to fix this: Look in Python\Product\IronPythonResolver\resolver.cs, GetPythonInstallDir needs to check for 32-bit and 64-bit registry views.

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

2 participants