epfl-lts2 / pygsp

Graph Signal Processing in Python
https://pygsp.rtfd.io
BSD 3-Clause "New" or "Revised" License
483 stars 93 forks source link

Trouble in from_networkx and to_networkx #58

Closed HowIII closed 5 years ago

HowIII commented 5 years ago

I am kind of new to Python. I installed the pygsp package in conda. But when I tried to use the to_networkx() function, it always said that the 'Graph' object has no attribute 'to_networkx'. Could someone help me ? Thanks!

mdeff commented 5 years ago

Those functions are only available in the development version of the PyGSP. It's not yet on PyPI nor conda-forge. If you want to use it, install the development version with pip install git+https://github.com/epfl-lts2/pygsp (rather than pip install pygsp or conda install -c conda-forge pygsp).

HowIII commented 5 years ago

Those functions are only available in the development version of the PyGSP. It's not yet on PyPI nor conda-forge. If you want to use it, install the development version with pip install git+https://github.com/epfl-lts2/pygsp (rather than pip install pygsp or conda install -c conda-forge pygsp). Got it. Thanks for the answer!