
Traceback (most recent call last):


 "/home/trey/script.py", line 6, in <module>

import numpy as np


 "/home/trey/.local/lib/python3.6/site-packages/numpy/__init__.py", line 142, in <module>

from . import core


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/__init__.py", line 59, in <module>

from . import numeric


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/numeric.py", line 3093, in <module>

from . import fromnumeric


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 17, in <module>

from . import _methods


 "/home/trey/.local/lib/python3.6/site-packages/numpy/core/_methods.py", line 158, in <module>

_NDARRAY_ARRAY_FUNCTION = mu.ndarray.__array_function__

AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__'


Traceback (most recent call last):

 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1254, in __run
compileflags, 1) in test.globs

 "<doctest networkx.drawing.nx_pydot.pydot_layout[2]>", line 1, in <module>
pos=nx.pydot_layout(G,prog='dot')

 "/Users/loic/Projects/python/networkx/nx-master/networkx/drawing/nx_pydot.py", line 284, in pydot_layout
pos=node.get_pos()[1:-1] # strip leading and trailing double quotes
AttributeError: 'list' object has no attribute 'get_pos'