One of my previous post when installing python was to use the XML file which was by far the best approach in installing Python v3.8.x silently. After some experimenting using XML, it stopped functioning after i've upgraded to windows 10 v2004. after some thoughts, i then decided to use their other method to install this software unto windows.
you must first download either the python v3.8.5 64 bit installer software or their python v3.8.5 32 bit installer software from python.org.
afterwards, fire up your DOS prompt/terminal and run the terminal as administrator instead of a regular user to gain access to install this python software unto the C-Drive.
enter a command to change your directory to your download folder where the python installer executable has been placed.
C:\users\UserName\Download> python-3.8.5-amd64.exe /quiet InstallAllUsers=1 TargetDir=c:\Python38 AssociateFiles=1 CompileAll=1 PrependPath=0 Shortcuts=0 Include_doc=1 Include_debug=0 Include_dev=0 Include_exe=1 Include_launcher=1 InstallLauncherAllUsers=1 Include_lib=1 Include_pip=1 Include_symbol=0 Include_tcltk=1 Include_test=1 Include_tools=1
Now, wait 10 to 15 seconds before entering command onto the command prompt. There is still one additional task we must do before we could call this a successful install due to pip package manager. In the next block, we will show you how we can simply install pip unto your windows 10.
Ok, in order to install pip, we first must upgrade pip to the latest version since if you plan to use it immediately after installing Python by using the method from above , it will complaint to you that you have an older pip package manager.
so now, we will upgrade pip. Execute the below commands inside your ADMIN command prompt window !!
C:\users\UserName\Download> C:\Python38\python.exe -m pip install --upgrade pip
To install python packages, you will have to do the following.
C:\users\UserName\Download> C:\python38\scripts\pip.exe install requests diceware scipy