NetworkX is an open-source Python package for the creation, manipulation, and computational study of complex networks and relational datasets. Developed within the scientific Python ecosystem, ...
The Python Packaging User Guide (packaging.python.org, “Installing packages”, checked 2026-10-29) recommends invoking pip through the interpreter and doing the install inside a virtual environment.