A ƙasa akwai umarnin don shigarwa Python akan shahararrun tsarin aiki kamar Windows, macOS da Linux:
Python Ana kunnawa Windows
1. Ziyarci gidan yanar gizon hukuma Python a https://www.python.org/downloads/
2. Zazzage mai sakawa da ya dace don Windows tsarin aikin ku(32-bit ko 64-bit).
3. Gudanar da sauke fayil ɗin shigarwa kuma zaɓi Install Now
.
4. Tabbatar cewa kun duba zaɓi don ƙara zuwa canjin yanayi. Add Python x.x to PATH
Python PATH
5. Danna Install Now
kuma kammala Python shigarwa akan Windows.
Python Ana kunnawa macOS
1. macOS yawanci yana zuwa tare da Python riga-kafi. Koyaya, idan kuna son shigar da sabon sigar ko sarrafa Python juzu'i a faɗin tsarin, zaku iya amfani da Homebrew.
2. Shigar Homebrew ta ziyartar gidan yanar gizon https://brew.sh/ da bin umarnin.
3. Buɗe Terminal kuma shigar da umarni mai zuwa don shigarwa Python:
brew install python
Python Ana kunnawa Linux
1. Tron mafi yawan Linux rabawa, Python yawanci an riga an shigar dashi. Kuna iya bincika Python sigar da aka shigar ta hanyar gudanar da umarni mai zuwa a cikin Terminal:
python3 --version
2. Python ba ya nan ko kuna son shigar da sabon sigar, yi amfani da manajan fakitin tsarin ku don girka Python. A ƙasa akwai wasu umarni don shigarwa Python akan wasu shahararrun Linux rabawa:
Ubuntu kuma Debian:
sudo apt update
sudo apt install python3
- CentOS da kuma Fedora:
sudo dnf install python3
- Arch Linux:
sudo pacman -S python
Bayan shigarwa cikin nasara Python, zaku iya tabbatar da sigar da aka shigar ta hanyar gudanar da umarni python3 --version
(ko python --version
kunna Windows) a cikin Terminal(ko Command Prompt
a kunne Windows).