Python Installation Process

Hello, I’m new to python and was going through this installation process:

to which I have a couple of questions. I’ve already installed to windows version.

  1. Setting the envrionment variable C:\Program Files\Python36-32 does exactly what?
    Currently I already have
    C:\Program Files\Python310
    C:\Program Files\Python36-32\Scripts
    Whats the difference?

  2. I went into the command prompt and typed
    pip install --upgrade pip setuptools wheel pywin32 distribute
    What does this exactly do?
    It gives me an error

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in c:\users\user\appdata\roaming\python\python310\site-packages (22.1.1)
Requirement already satisfied: setuptools in c:\program files\python310\lib\site-packages (58.1.0)
Collecting setuptools
Using cached setuptools-62.3.2-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting pywin32
Using cached pywin32-304-cp310-cp310-win_amd64.whl (12.1 MB)
Collecting distribute
Using cached distribute-0.7.3.zip (145 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 14, in
File “C:\Users\User\AppData\Local\Temp\pip-install-dlryvnbu\distribute_4b38be120d4c44acb586d1bef229652e\setuptools_init_.py”, line 2, in
from setuptools.extension import Extension, Library
File “C:\Users\User\AppData\Local\Temp\pip-install-dlryvnbu\distribute_4b38be120d4c44acb586d1bef229652e\setuptools\extension.py”, line 5, in
from setuptools.dist import get_unpatched
File “C:\Users\User\AppData\Local\Temp\pip-install-dlryvnbu\distribute_4b38be120d4c44acb586d1bef229652e\setuptools\dist.py”, line 7, in
from setuptools.command.install import install
File "C:\Users\User\AppData\Local\Temp\pip-install-dlryvnbu\distribute_4b38be120d4c44acb586d1bef229652e\setuptools\command_init
.py", line 8, in
from setuptools.command import install_scripts
File “C:\Users\User\AppData\Local\Temp\pip-install-dlryvnbu\distribute_4b38be120d4c44acb586d1bef229652e\setuptools\command\install_scripts.py”, line 3, in
from pkg_resources import Distribution, PathMetadata, ensure_directory
File “C:\Users\User\AppData\Local\Temp\pip-install-dlryvnbu\distribute_4b38be120d4c44acb586d1bef229652e\pkg_resources.py”, line 1518, in
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module ‘importlib._bootstrap’ has no attribute ‘SourceFileLoader’
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

  1. pip install python3 doesn’t work. Doesn’t it just install python? But I already have installed the executable.