From 952c4a5d5340b0866c7f77fae38a714b75dfd21d Mon Sep 17 00:00:00 2001 From: discretegames Date: Sat, 5 Nov 2022 16:35:25 -0700 Subject: added right aligned drake image and a few tweaks to ms store guide --- .../guides/python-guides/windows/microsoft-store.md | 8 ++++++-- .../content/python-on-windows/ms_store_drake.png | Bin 0 -> 1092683 bytes 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 pydis_site/static/images/content/python-on-windows/ms_store_drake.png (limited to 'pydis_site') 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 daa296de..9e0aa4df 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 @@ -1,8 +1,10 @@ --- -title: Why NOT to install Python from the Microsoft Store +title: Why not to install Python from the Microsoft Store description: This guide explains the issues with using Python installed from the Microsoft Store --- +[](/static/images/content/python-on-windows/ms_store_drake.png) + Microsoft provides versions of Python for Windows [on the Microsoft Store](https://apps.microsoft.com/store/search/python) as an alternative to using the [full installer from python.org](https://www.python.org/downloads). **We recommend you install Python on Windows using the @@ -39,6 +41,8 @@ Here are some common issues with using Python from the Microsoft Store: `C:\Users\\AppData\Local\Programs\Python\Python311\Scripts` (for Python 3.11). If for some reason you want both installed, put the ones you want the commands for higher up in Path. + You can find the path of the executable for a version of Python by running `import sys; print(sys.executable)` in it. + - ##### 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 @@ -46,7 +50,7 @@ Here are some common issues with using Python from the Microsoft Store: normally happen. You can change this behavior by searching "Manage app execution aliases" in the Start menu and toggling off "App - Installer" for python.exe and python3.exe. + Installer" for python.exe (and for python3.exe do do the same for the `python3` command). - #### You can't specify or easily see the patch version diff --git a/pydis_site/static/images/content/python-on-windows/ms_store_drake.png b/pydis_site/static/images/content/python-on-windows/ms_store_drake.png new file mode 100644 index 00000000..7cb59c8f Binary files /dev/null and b/pydis_site/static/images/content/python-on-windows/ms_store_drake.png differ -- cgit v1.2.3