Skip to content

Commit 6dea2da

Browse files
authored
Merge pull request #6955 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch master)
2 parents 1d263f8 + 79c4d01 commit 6dea2da

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

.openpublishing.publish.config.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,6 @@
104104
},
105105
"build_entry_point": "docs",
106106
"template_folder": "_themes"
107-
},
108-
{
109-
"docset_name": "vs-gamedev",
110-
"build_source_folder": "visualstudio/gamedev",
111-
"build_output_subfolder": "vs-gamedev",
112-
"locale": "en-us",
113-
"monikers": [],
114-
"moniker_ranges": [],
115-
"open_to_public_contributors": false,
116-
"type_mapping": {
117-
"Conceptual": "Content"
118-
},
119-
"build_entry_point": "docs",
120-
"template_folder": "_themes"
121107
}
122108
],
123109
"notification_subscribers": [],

docs/python/managing-python-environments-in-visual-studio.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,15 +256,16 @@ To correct an environment you wish to keep, first try using its installer's **Re
256256
To correct an environment that doesn't have a repair option, or to remove an invalid environment, use the following steps to modify the registry directly. Visual Studio automatically updates the **Python Environments** window when you make changes to the registry.
257257

258258
1. Run *regedit.exe*.
259-
1. Navigate to **HKEY_LOCAL_MACHINE\SOFTWARE\Python**. For IronPython, look for **IronPython** instead.
259+
1. Navigate to **HKEY_LOCAL_MACHINE\SOFTWARE\Python** or **HKEY_CURRENT_USER\SOFTWARE\Python**. For IronPython, look for **IronPython** instead.
260260
1. Expand the node that matches the distribution, such as **Python Core** for CPython or **ContinuumAnalytics** for Anaconda. For IronPython, expand the version number node.
261261
1. Inspect the values under the **InstallPath** node:
262262

263263
![Registry entries for a typical CPython installation](media/environments/environments-registry-entries.png)
264264

265265
- If the environment still exists on your computer, change the value of **ExecutablePath** to the correct location. Also correct the **(Default)** and **WindowedExecutablePath** values as necessary.
266266
- If the environment no longer exists on your computer and you want to remove it from the **Python Environments** window, delete the parent node of **InstallPath**, such as **3.6** in the image above.
267-
267+
- Invalid settings in **HKEY_CURRENT_USER\SOFTWARE\Python** override the settings in **HKEY_LOCAL_MACHINE\SOFTWARE\Python**
268+
268269
## See also
269270

270271
- [Install Python interpreters](installing-python-interpreters.md)

0 commit comments

Comments
 (0)