Ubuntu python related

Ubuntu

更新软件源

https://zhuanlan.zhihu.com/p/142014944

拷贝到sources.list文件最开始,这是软件的源网址。不同ubuntu版本有一个codename,比如20.04叫focal,ubuntu 18.04是(bionic),源需要对应安装的版本。

最后,

apt-get update,该命令会检索sources.list列举的源网址,并更新到本地。即将更新软件列表

apt-get upgrade,该名录会比较本地软件列表中软件版本,与已安装软件版本,如果已安装的旧,就更新软件。因此,这一步不是必须执行的。可以等候需要的时候再更新软件。

 

Python

pip--python install package

  specify package version: pip install pyproj==2.6.1.post1

poetry--python dependency management tool

invoke--python automatic installation tool

 

posted on 2022-08-22 23:04  yanhc  阅读(24)  评论(0编辑  收藏  举报

导航