Skip to content

Commit

Permalink
Doc remove Python install in MSStore &run as admin
Browse files Browse the repository at this point in the history
Remove Python install from Microsoft store and run as admin from Doc:

Lisa and pip libs Installation paths are different between the python
distributions installed from packages vs MicrosoftStore:
Using python 3.10 as an example,
(1). Installed from Microsoft Store, the libs installation path is:
"C:\Users\<alias>\AppData\Local\Packages\PythonSoftwareFoundation.
Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts"
(2). Installed from Python Package:
C:\Users\<alias>\AppData\Roaming\Python\Python310\Scripts

In (2) option, path could be included in Python Package installation
stage. There is a option to Add Path to Env Var. However, in the (1)
option, we don't have such kind of the config. User need to add it
manually. To facilitate users from missing config, remove the
instruction installing python from Microsoft Store.

At the same time, no need to run as admin during installation
as it will bring some other problems.
  • Loading branch information
panfengxue authored and squirrelsc committed Mar 13, 2023
1 parent dccfc95 commit e343d69
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions docs/installation_windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ LISA has been tested to work with `Python 3.8 64-bit <https://www.python.org/>`_
The latest version of Python 3 is recommended. If you find that LISA is not compatible
with higher version Python, `please file an issue <https://github.com/microsoft/lisa/issues/new>`__.

Install from Microsoft Store (recommended)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

It is recommended to install Python from the Microsoft Store. Packages are regularly
published by the Python Software Foundation and will set up paths as needed.

To install from the Microsoft Store, search for Python in the store interface or,
if no other Python version is installed, running `python3` from the command line
will bring up the latest version.
More details can be found `here<https://docs.python.org/3/using/windows.html#windows-store>`.

Install using full installer (alternative)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The full installer allows greater customization and doesn't have the security restriction
of the Microsoft Store packages, so may be preferred in some situations.

Expand Down Expand Up @@ -96,8 +82,7 @@ This installation method is used to run LISA if no change in source code is desi
python3 -m pip install --upgrade pip
The example below will install LISA directly for the invoking user.
To install system-wide, run from and Administrator console.
The example below will install LISA directly for the invoking user. No need to run as Administrator.

.. code:: bash
Expand Down

0 comments on commit e343d69

Please sign in to comment.