diff options
author | 2022-11-17 19:01:12 +0000 | |
---|---|---|
committer | 2022-11-17 19:01:12 +0000 | |
commit | 0e1a5e2c8b0ae4c4def6d857675899a3f05b3384 (patch) | |
tree | cd94a94b7a37ab2845682e096c762a90ea8d87a6 | |
parent | Merge pull request #794 from discretegames/add-windows-guide (diff) |
Typo fixesadd-windows-guide
-rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md | 4 | ||||
-rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/windows/microsoft-store.md | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md b/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md index b8153e86..6d66661e 100644 --- a/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md +++ b/pydis_site/apps/content/resources/guides/python-guides/windows/common-issues.md @@ -131,12 +131,12 @@ You pip installed a command line program like [`pyinstaller`](https://pypi.org/p [`black`](https://pypi.org/project/black/) that is intended to be run from the command line, but it does not work. Two common causes for this are: -- You are using Python from the Microsoft Store ([which we don't recommend](../miscrosoft-store)). +- You are using Python from the Microsoft Store ([which we don't recommend](../microsoft-store)). To check if this is the case, type `pip -V`. If the path output includes something like `PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0`, you are using Python from the Microsoft Store. To fix this you will either have to use the full path to the scripts you want to use, or [uninstall the - Microsoft Store Python](../miscrosoft-store/#uninstalling) and [install Python + Microsoft Store Python](../microsoft-store/#uninstalling) and [install Python properly](../installing-and-using-python) with a [python.org installer](https://www.python.org/downloads). - You manually modified your PATH Environment Variable incorrectly diff --git a/pydis_site/apps/content/resources/guides/python-guides/windows/microsoft-store.md b/pydis_site/apps/content/resources/guides/python-guides/windows/microsoft-store.md index 0a752fb3..96a54023 100644 --- a/pydis_site/apps/content/resources/guides/python-guides/windows/microsoft-store.md +++ b/pydis_site/apps/content/resources/guides/python-guides/windows/microsoft-store.md @@ -21,19 +21,19 @@ releases can be found [here](https://www.python.org/downloads/windows). Here are some common issues with using Python from the Microsoft Store: -- ##### Command line tools won't work +- #### Command line tools won't work Most command line tools, like [`black`](https://pypi.org/project/black/) or [`pyinstaller`](https://pypi.org/project/pyinstaller/), won't work directly (without specifying the full path, or invoking them as a module if they allow it). This happens because they normally work by adding an executable to the `\Scripts` directory, which isn't added to Path on the Microsoft Store version of Python. -- ##### It can cause issues with permissions +- #### It can cause issues with permissions - Some modules and scripts wont work with it because of restricted permissions. This is explained [in the Python + Some modules and scripts won't work with it because of restricted permissions. This is explained [in the Python documentation](https://docs.python.org/3/using/windows.html#redirection-of-local-data-registry-and-temporary-paths) -- ##### It can cause Path confusion +- #### It can cause Path confusion Path is the Windows environment variable that determine what programs run when you type commands in terminals. (Actually there are two Paths, a user one and a system one that has precedence, but they get [combined when @@ -50,7 +50,7 @@ Here are some common issues with using Python from the Microsoft Store: You can learn more about the Windows Path in [this guide](../putting-python-on-path). -- ##### Confusing app execution alias behaviour +- #### Confusing app execution alias behaviour Typing `python` into a terminal when it is not already installed or not properly on Path may open up the Microsoft Store to the Python app, pushing you to install it and confusingly hiding the command not found error that would |