pik-copan / pyunicorn

Unified Complex Network and Recurrence Analysis Toolbox
http://pik-potsdam.de/~donges/pyunicorn/
Other
195 stars 86 forks source link

Error when I import pyunicorn #109

Closed manmeet3591 closed 6 years ago

manmeet3591 commented 6 years ago

I am getting the following error.

import pyunicorn Traceback (most recent call last): File "", line 1, in File "pyunicorn/init.py", line 35, in from .core import * File "pyunicorn/core/init.py", line 35, in from .network import Network, NetworkError, nz_coords, cached_const File "pyunicorn/core/network.py", line 44, in from pyunicorn.core._ext.numerics import _local_cliquishness_4thorder, \ ImportError: No module named numerics

jdonges commented 6 years ago

It seems like you have not compiled the cython extensions contained in the numerics module correctly. The easiest way to install pyunicorn properly is to use „pip install pyunicorn“, where the precompiled extensions are already included.

Am 06.04.2018 um 09:31 schrieb Manmeet Singh notifications@github.com:

I am getting the following error.

import pyunicorn Traceback (most recent call last): File "", line 1, in File "pyunicorn/init.py", line 35, in from .core import * File "pyunicorn/core/init.py", line 35, in from .network import Network, NetworkError, nz_coords, cached_const File "pyunicorn/core/network.py", line 44, in from pyunicorn.core._ext.numerics import _local_cliquishness_4thorder, ImportError: No module named numerics

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pik-copan/pyunicorn/issues/109, or mute the thread https://github.com/notifications/unsubscribe-auth/ADCbeyS0DCt5zYPxMFfrgHeH4ae7Vormks5tlxnBgaJpZM4TJnUC.

manmeet3591 commented 6 years ago

Thanks. It worked.

I was trying to do pip install previously as well, but some dependency issues were coming up that time maybe. This time it works