November 20, 2022

#144 - Install Python and VSCode in a Windows PC without admin rights

1. From SW Center install Microsoft Visual Studio Code and install the extension Python (shortcut is CTRL + SHIFT + X)

2. From Python download the latest available release of the "Windows embeddable package (64-bit)", currently v3.11.0

3. From CMD line execute the following cmd: > mkdir %USERPROFILE%\bin\python > cd bin > cd python

4. Extract the zipped file downloaded at Step 2 here at "C:\Users\myuser\bin\python" folder

5. From CMD set this configuration paths > setx PYTHON_HOME "%USERPROFILE%\bin\python" > setx PATH "%PYTHON_HOME%;%PATH%"

6. Check the installation by opening a new prompt window and typing python --version

7. On VSCode select the python interpreter that was just installed (.exe inside \bin\python)


No comments:

Post a Comment