Skip to content

Add guide for working with Python on Windows #773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 44 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
c0b16b2
Add initial guide for errors with Python on Windows
wookie184 Sep 25, 2022
2781ed9
Split up into multiple pages and add more content
wookie184 Oct 21, 2022
65a3ee2
Wrap lines and make some more changes
wookie184 Oct 21, 2022
f072093
Made some changes after proof-reading
wookie184 Oct 21, 2022
6a609a3
Move guides to a subdirectory
wookie184 Nov 2, 2022
2972b42
Edit creating-python-environment-windows.md to link to the page on in…
wookie184 Nov 2, 2022
aa1cbc4
Minor improvements to wording and layout
wookie184 Nov 2, 2022
efa1ef3
Rewrote and added more info to python on ms store article
discretegames Nov 5, 2022
952c4a5
added right aligned drake image and a few tweaks to ms store guide
discretegames Nov 5, 2022
13779f3
final tweaks to ms store article
discretegames Nov 6, 2022
3668202
Redid windows guide titles/slugs/descriptions to be consistent with p…
discretegames Nov 6, 2022
19caa0a
Rewrote safe method for adding Python to path, in own article
discretegames Nov 6, 2022
40ad001
finished detailed, screenshot full, putting python on path guide
discretegames Nov 7, 2022
a7c59dd
Proofread, tweaked, added links to common windows issues guide. (Also…
discretegames Nov 7, 2022
4d734b0
tweaks and link fixes to windows guides, still in reorg process
discretegames Nov 7, 2022
f1961a0
reorg of windows guides, moved py launcher into installing and using,…
discretegames Nov 8, 2022
4bb5c57
added toc to windows guides
discretegames Nov 8, 2022
54a596e
Finished recommended Python Windows install instructions
discretegames Nov 8, 2022
3dc24ec
completed more install info section of Windows guide
discretegames Nov 8, 2022
c2fdf87
re-added venv section to windows guide
discretegames Nov 8, 2022
790d076
finished py launcher section, finishing Windows guide reorg
discretegames Nov 8, 2022
ee5e1ba
Added WSL2 section to windows guide; other tweaks
discretegames Nov 8, 2022
c7f37e9
Proofread windows guides and added image links everywhere
discretegames Nov 8, 2022
529cc5a
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 9, 2022
6d2db8c
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 9, 2022
c6147f9
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 9, 2022
b3406ec
emphasized NOT
discretegames Nov 9, 2022
0aca0e2
Merge branch 'add-windows-guide' of https://github.com/discretegames/…
discretegames Nov 9, 2022
885eacb
added shtlrs Windows guide suggestions
discretegames Nov 9, 2022
be31bfd
Note about admin needed, and added subheading to Path guide.
discretegames Nov 9, 2022
b8bc86c
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
26f36b2
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
e3975c9
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
0bb9447
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
f612d4c
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
236963d
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
9b21ec8
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
db505b4
Update pydis_site/apps/content/resources/guides/python-guides/windows…
discretegames Nov 13, 2022
d065f2e
Added some of wookies Windows guide review suggestions
discretegames Nov 13, 2022
3dc5756
Merge branch 'add-windows-guide' of https://github.com/discretegames/…
discretegames Nov 13, 2022
c3bb0b5
NOT back to Not and wrapped things to 120chars
discretegames Nov 13, 2022
d59465b
removed import workaround and mentioned 32-bit download in windows gu…
discretegames Nov 13, 2022
5641448
Merge pull request #794 from discretegames/add-windows-guide
wookie184 Nov 17, 2022
0e1a5e2
Typo fixes
wookie184 Nov 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Typo fixes
  • Loading branch information
wookie184 committed Nov 17, 2022
commit 0e1a5e2c8b0ae4c4def6d857675899a3f05b3384
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy