Page MenuHomeSolus

Networkx needs Scipy 1.1.0 (Python3)
Closed, ResolvedPublic

Description

Networkx hasn't been working for me this week on Python3 (still works on Python2).
Building Scipy 1.1.0 (which isn't in unstable yet but I presume will be soon) and installing this Scipy fixed this.

I think Networkx did not need to be rebuild against this Scipy though (I did this initially but believe it wasn't necessary after testing the version in the repos).

Here is the error:

>>> import networkx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/networkx/__init__.py", line 114, in <module>
    import networkx.generators
  File "/usr/lib/python3.6/site-packages/networkx/generators/__init__.py", line 13, in <module>
    from networkx.generators.geometric import *
  File "/usr/lib/python3.6/site-packages/networkx/generators/geometric.py", line 27, in <module>
    from scipy.spatial import cKDTree as KDTree
  File "/usr/lib/python3.6/site-packages/scipy/spatial/__init__.py", line 95, in <module>
    from .qhull import *
  File "qhull.pyx", line 2155, in init scipy.spatial.qhull
AttributeError: 'cython_function_or_method' object has no attribute '__func__'

Related Objects

Event Timeline

padraig created this task.Aug 31 2018, 9:28 AM
JoshStrobl closed this task as Resolved.Sep 19 2018, 7:48 AM
JoshStrobl claimed this task.
JoshStrobl edited projects, added Software; removed Lacks Project.