库介绍
NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
官网:https://networkx.org/
安装经验
pip install networkx==2.8
不带版本会提示网络错误,带了版本就能安装成功了。
操作系统:ubuntu
python版本:3.12
环境:pyenv jupyter notebook
实际上是在jupyter中安装的
!pip install networkx==2.8