From 5d7a1ee7be0ab2e583a3bab6f0c924b996bb811c Mon Sep 17 00:00:00 2001 From: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Date: Sat, 3 Feb 2024 12:31:07 -0800 Subject: [PATCH] Add troubleshooting for py not found (#101) After debugging a new install on Discord it seems like py.exe does not exist in the new installation folders for python. It does exist in C:\WINDOWS which seems to link to any installed python version. --- .../setup/setting-up-a-development-environment.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/en/general-development/setup/setting-up-a-development-environment.md b/src/en/general-development/setup/setting-up-a-development-environment.md index 39bb90ec..03d701d6 100644 --- a/src/en/general-development/setup/setting-up-a-development-environment.md +++ b/src/en/general-development/setup/setting-up-a-development-environment.md @@ -161,6 +161,9 @@ Check that python is installed from the website and not the Microsoft Store. If If you are on Windows and get redirected to the Microsoft Store or encounter a message in your terminal claiming that Python is not installed. This issue may be caused by a stupid Microsoft shortcut. Which you can disable by searching for `Manage App Execution Aliases` and disabling the two python references +### py not found +If python was installed from the website and the `python` command works, but you still get the error 'py is not installed', then check if `C:\WINDOWS\py.exe` works. If so, then add `C:\WINDOWS` to your path. + ## System.DllNotFoundException: Unable to load DLL 'freetype6' or one of its dependencies: The specified module could not be found. ```PS C:\Users\Larme\Downloads\space-station-14> dotnet run --project Content.Client