How to install Python (any version) in Windows when you've no admin privileges?

后端 未结 7 1650
臣服心动
臣服心动 2020-12-23 16:32

The "NO ADMIN PRIVILEGES" part is key. I need to install Python but I do not have access to it in order to run the installation in a proper way. I\'m also behind a

7条回答
  •  天命终不由人
    2020-12-23 17:28

    From the Python website, download the MSI version of Python you wish to install.

    Then open your command prompt and use this command:

    msiexec /a python-2.7.10.msi /qb TARGETDIR=C:\python27
    

    Substitute python-2.7.10.msi, if you downloaded Python 3 and adjust your target directory to where you want it to go.

    The /qb flag will give you a small dialog progress bar.

提交回复
热议问题