-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cython module not imported #86
Comments
Hallo, |
Hi all,
the code has to be compiled on each traget machine adfter installation.
The compile command for the cython code has to be executed in the right
folder, or else the resulting compiled object has to be moved to the
right location. Michael Lindner wrote that functionality - he said he
left details instructions as comments in the code. Could check and come
back to me if that doesn't help? Thanks.
Best,
Michael
…On Tue, 2022-11-15 at 03:49 -0800, axelhutt wrote:
Hallo,
I had the same problem on the MacOS 12.5.1. Where do you compile
hde_setup.py ? If I do it in IDTxl/idtxl (where hde_setup.py is
located), I get
the error message "could not create idtxl/hde_fast_embedding.cpython-
39-darwin.so: No such file or directory".
Can you help me out here ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
|
Hi all, I added a description of the installation process to this wiki page. Please note that the Cython fast embedding module is only needed for the history-dependence estimator. If you are not using it, the message does not affect you. I will modify the error message to make this clear. @infrareziduzi, out of curiosity, could you tell me which test you ran to get the error message? |
Hi, |
Same here: In [10]: network_analysis = MultivariateTE() ####### analysing target with index 0 from list [0, 1]
|
Hallo, I had this problem several months ago and 'solved' it by copying the corresponding library to the local directory where you call the script. This is just a workaround and no real solution, but it helped me to get results. Good luck with it. Axel |
Thanks Axel, I ran it in the IDTxl/idtxl folder and the error message is gone. It still takes a long time, however. Spectral Granger was instantaneous in comparison (via Eden-Kramer/spectral-connectivity). |
I quick test after installing idtxl 1.4 resulted in a message "Error importing Cython fast embedding module...". Cython definitely was instelld before. It turned out that "python hde_setup.py build_ext --inplace" and copying the result into the idtxl folder solved the issue. I would recommend to document this.
The text was updated successfully, but these errors were encountered: