天天看點

ubuntu系統的python3.6更新到python3.7

(1)安裝

(2)修改預設版本(3.6 → 3.7)

△踩過的坑:

我在裝python更新的時候不小心把python環境弄壞了,導緻

bash: /home/bsp/perl5/perlbrew/etc/bashrc: No such file or directory

解決:此時,如果還想使用指令

需要切換使用者到root

執行:<code>su root</code>