aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar discretegames <[email protected]>2022-11-05 16:35:25 -0700
committerGravatar discretegames <[email protected]>2022-11-05 16:35:25 -0700
commit952c4a5d5340b0866c7f77fae38a714b75dfd21d (patch)
tree0a92f0832231c2554bfdcc27c4ec2dc8f83d6d7b /pydis_site
parentRewrote and added more info to python on ms store article (diff)
added right aligned drake image and a few tweaks to ms store guide
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/content/resources/guides/python-guides/windows/microsoft-store.md8
-rw-r--r--pydis_site/static/images/content/python-on-windows/ms_store_drake.pngbin0 -> 1092683 bytes
2 files changed, 6 insertions, 2 deletions
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
---
+[<img style="margin:1rem;" align="right" width="480px" src="/static/images/content/python-on-windows/ms_store_drake.png">](/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\<user>\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
--- /dev/null
+++ b/pydis_site/static/images/content/python-on-windows/ms_store_drake.png
Binary files differ