How to install Python using Windows Command Prompt

后端 未结 3 988
梦如初夏
梦如初夏 2020-12-17 01:23

Is it possible to install Python from cmd on Windows? If so, how to do it?

3条回答
  •  独厮守ぢ
    2020-12-17 02:11

    For Windows

    I was unable to find a way to Download python using just CMD but if you have python.exe in your system then you can use the below Method to install it (you can also make .bat file to automate it.)

    1. Install the python.exe file on your computer from the official site.

    2. Open CMD and change Your directory to the path where you have python.exe

    3. Past this code in your Command prompt make sure to change the name with your file version In the below code(e.g python-3.8.5.exe)

    python-3.6.0.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0

    It will also set the path Variables.

提交回复
热议问题