Error in generating ligand topology using CGenFF and python 3.9

GROMACS version: 5.1.2
GROMACS modification: No
Python version:3.9
After using this command python3 cgenff_charmm2gmx_py3_nx2.py JZ4 jz4_fixed.mol2 jz4.str charmm36-jul2022.ff
( I used this command to install networkx to solve gcd error: conda install -y networkx">=2.5")
I get the following error:


What’s wrong and how can i solve it?

maybe you can try to get “network v2.3”,using “pip install” or “conda install”