In a computer¶
On a modern operating system, all you need is Python 3.6 or higher.
If installing on a very barebones operating system,
make sure you have
and the libraries
In a CI environment¶
All you need is support for Docker CE 17 or higher.
On Windows, you also need
CPU: 4 cores @1.8GHz
RAM: 4GiB DDR3 @1.6Ghz
Disk space: 10GiB
If you don’t have any of the above requirements, but you are on a recent version of Windows, you can install everything using Chocolatey. There are many ways to perform each step, and we will list only one here. Refer to the links for alternatives and details.
Open an administrative shell. Probably the easiest way to do this is hit Windows+R, type in
cmdand then hit Control+Shift+Enter to ensure it is run as administrator.
Once in the shell, run this command:
> @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" ^ -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ^ ((New-Object System.Net.WebClient).^ DownloadString('https://chocolatey.org/install.ps1'))" ^ && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Now install Python 3:
> choco install python3
Refresh the environment so you can call
pipfrom the command line directly:
Now you can install