小编Cod*_*uch的帖子

AttributeError: module 'networkx' has no attribute 'utils'

from networkx import *
import matplotlib.pyplot as plt
Run Code Online (Sandbox Code Playgroud)

I've imported the networkx library which previously (yesterday) allowed me to create a random graph. Running the same code again today I'm getting import errors. I am using this on Jupyter notebook/Anaconda Python.

AttributeError                            Traceback (most recent call last)
<ipython-input-13-d245e6f3c125> in <module>()
----> 1 from networkx import *
  2 import matplotlib.pyplot as plt

C:\Anaconda3\lib\site-packages\networkx\__init__.py in <module>()
 96 from networkx.tests.test import run as test
 97 
---> 98 import networkx.drawing
 99 from networkx.drawing import …
Run Code Online (Sandbox Code Playgroud)

python importerror networkx anaconda

7
推荐指数
1
解决办法
5449
查看次数

标签 统计

anaconda ×1

importerror ×1

networkx ×1

python ×1