[英]How to upgrade from Python 3.5 to 3.6?
我的機器在 Windows 上運行,我試圖了解它,但人們只在其他討論中談論 mac 和brew
。 請問有沒有需要寫的命令行可以升級內核 還是得去官網下載3.6的包然后卸載3.5再安裝3.6(我不想那樣做因為這對我來說聽起來很混亂)
我有3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)]
有什么幫助嗎?
在 Unix 上,糾正軟鏈接就足夠了。 據我所知,在 Windows 上,人們會玩弄路徑。 這是最詳細的答案。
如果有人使用 MacOS、Linux 或 WSL,則可以使用asdf 。
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1
編輯~/.bashrc
文件並添加$HOME/.asdf/asdf.sh
重啟你的終端,你就可以使用asdf
為了添加插件,在你的情況下Python ,你可以運行這個 -
asdf plugin add python
asdf list all python
asdf install python latest
asdf global python latest
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.