Traceback (most recent call last):

File "/home/aarushi/gromacs/cgenff_charmm2gmx_py3_nx2.py", line 54, in

import networkx as nx

File "/home/aarushi/gromacs/myenv/lib/python3.10/site-packages/networkx/__init__.py", line 114, in

import networkx.generators

File "/home/aarushi/gromacs/myenv/lib/python3.10/site-packages/networkx/generators/__init__.py", line 14, in

from networkx.generators.intersection import *

File "/home/aarushi/gromacs/myenv/lib/python3.10/site-packages/networkx/generators/intersection.py", line 13, in

from networkx.algorithms import bipartite

File "/home/aarushi/gromacs/myenv/lib/python3.10/site-packages/networkx/algorithms/__init__.py", line 16, in

from networkx.algorithms.dag import *

File "/home/aarushi/gromacs/myenv/lib/python3.10/site-packages/networkx/algorithms/dag.py", line 23, in

from fractions import gcd

ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.10(m(m((((((((myenv)

could you please help me fixing this error?

More Aarushi Pradeep's questions See All
Similar questions and discussions