VS 2015 Python Environments Greyed Out - ptvs

I'm just getting started with Python and I want to use Visual Studio 2015 Community Edition (VS) for writing my code. However, after diligently following the instructions on GitHub (1) Install PTVS 2.2.2 (2) Install Windows Python 3.4.4, VS cannot find the Python interpreter and run the code. When I attempt to do so for VS manually via Options > Python Tools > Environment Option, all the buttons are greyed out (I cannot enter information) as well as the Python Environment Window
I've tried uninstalling, reinstalling, repairing and modifying VS, PTVS and Python 3.4 but to no avail. Is there something I'm missing? Much appreciate the help!

Right-tap the lower-left corner and choose Run in the Quick Access
Menu.
Type regedit and tap OK in the Run dialog. Go to:
KEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\PythonTools\Interpreters
Delete or Rename folder in this directory (you can see that some keys are referring to the 3.6 version).
Start Visual Studio 2015.

It seems Visual Studio 2015 Community Edition does not like Python 3.6.
If you just edit the registry:
KEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\PythonTools\Interpreters
as Luciano suggested, and replace the version key from 3.6 to 3.5 it works.

Related

Unity Could not find any supported Visual Studio installations

Problem picture
Environment:
Windows10 Professional Visual Studio 2017 Unity 2017.4.12f1
I changed the default installation path of Visual Studio 2017 and installed it successfully.
The install path as follows:
D:\win10\Program\visual_studio\2017
However, in the Build setting of Unity, it still can't find my Visual Studio 2017.
How can I solve the problem? Thanks~
Go to Edit > Preferences, and select your Visual Studio to be the preferred external editor. Use Browse if Visual Studio is not listed. More info here.
You need to install windows 10 SDK
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
Here's a third answer. I just bumped in to this, and checked that yes VS was the preferred editor, so I went to open up VS to try uninstalling and reinstalling the GameDevWithUnity workflow, but VS popped up a dialog saying I needed to reboot my computer before installation could complete. So it seems like VS was stuck in the middle of an upgrade, which makes it reasonable that Unity couldn't find an appropriate version. I rebooted and everyone is happy.

unable to uninstall/repare/modify visual studio 2013 getting vs2013 has stopped working error

Today i am trying to uninstall visual studio 2013 on my windows 7 PC when ever i click on change option in programs and features it goes to visual studio stopped working error window i even tried with the setup file as well its same with that as well tried the total uninstaller mentioned # https://msdn.microsoft.com/en-us/library/mt720585.aspx Still no luck
tried Revo Uninstaller as well its of no use
I tried disabling .Net Framework 3.5 no go uninstalled 4.5 no go re enabled 3.5 no go
So now i want to uninstall the VS2013 but have no idea how to do it
any help would be appreciated
Try to download this tool TotalUninstaller.zip from here.
Perform these steps to complete uninstall Visual Studio:
Extract .zip file
Open an administrator command prompt
Execute Setup.ForcedUninstall.exe
Type 'Y' to uninstall

Resharper does not detect visual studio 2015 is installed

I have Visual Studio 2015 community edition, it works just fine.
I now try to install the newest version of resharper, but it says I don't have VS2015.
I tried to repair visual studio but resharper still does not detect it.
How can I install resharper for VS2015?
BTW I'm using windows 7.
Thanks!
Yay, I solved it!
The problem was that for some reason I didn't have permissions for the registry key VisualStudio.DTE.14.0. This is the key that tells resharper whether VS2015 is installed or not.
To get my permissions back I did what this link says:
I downloaded sysinternals and used psexec -i -d -s c:\windows\regedit.exe to gain full access.
Then I added permissions to myself (right click on that registry key, then permissions and so on).
And after that the resharper could tell I have VS2015 installed!
Another helpful tip given by JetBrains (thanks #iamkrillin for telling me to ask them directly) is to check %localappdata%\JetBrains\Shared\v03 for the installation logs.
I'm really glad it worked =)

PTVS doesn't detect IronPython installation

I wanted to change interpreter to IronPython in Visual Studio 2010 with Python Tools for Visual Studio. Last time I hadn't problems with this I got CPython and IronPython on list but now IronPython magically disappeared. After this I tried to restore it and done this:
I reinstalled PTVS, this still didn't helped
I reinstalled IronPython in system and still nothing
So I thought to add this entry manual but I don't know what should I enter there. I can still create project in IronPython and IntelliSense properly suggest me assembles.
Could you show me how to force PTVS to rescan to look for IronPython or what should I enter to add this entry manually.
You probably are running the latest version of IronPython and re-installed PTVS. PTVS currently installs IronPython support conditionally on whether or not it detects that IronPython is installed. Something changed in the latest version of IronPython and the PTVS installer fails to detect that IronPython is installed.
The good news is you can manually select to install IronPython support. First un-install, then start the installer and on the very first screen there's an Advanced button. Click on that and when the feature tree comes up change IronPython support to be installed.
We've changed this for 1.5 so we'll always install IronPython support by default, so in the future this won't be an issue.

How to uninstall Visual Studio 2010 Beta 1

What are the steps necessary to properly uninstall VS 2010 Beta 1?
I'd recomend the following post: http://support.microsoft.com/kb/2001109
It works for me :)
Didn't have any problem with uninstalling it. I just went to Add/Remove Program (or whatever it is in other version of windows) in the control panel and uninstalled the main one (Visual Studio 2010). this also removed all the other related installations.

Resources