Open NimaMojtahedi opened 1 year ago
Dear Joshua,
First of all, thank you for this great work and this nice package. I have some trouble importing the package from jupyter notebook. I just copy the error below.
ModuleNotFoundError Traceback (most recent call last) ...\Dev_Notebook.ipynb Cell 81 in <cell line: 1>() ----> 1 import dynetlsm
File c:\Users\nmojtahedi\Anaconda3\envs\test_env\lib\site-packages\dynetlsm__init__.py:1, in ----> 1 from .lsm import 2 from .hdp_lpcm import
File c:\Users\nmojtahedi\Anaconda3\envs\test_env\lib\site-packages\dynetlsm\lsm.py:17, in 15 from .metrics import network_auc 16 from .metropolis import Metropolis ---> 17 from .network_likelihoods import ( 18 dynamic_network_loglikelihood_directed, 19 dynamic_network_loglikelihood_undirected, 20 directed_network_probas, 21 approx_directed_network_loglikelihood, 22 directed_intercept_grad 23 ) 24 from .procrustes import longitudinal_procrustes_rotation 25 from .sample_latent_positions import sample_latent_positions
File c:\Users\nmojtahedi\Anaconda3\envs\test_env\lib\site-packages\dynetlsm\network_likelihoods.py:4, in 1 import numpy as np 3 from .latent_space import calculate_distances ... 9 directed_network_probas, 10 approx_directed_partial_loglikelihood, 11 approx_directed_network_loglikelihood)
ModuleNotFoundError: No module named 'dynetlsm.gaussian_likelihood_fast'
It would be great if you give me some hints on how to deal with this issue.
Best regards, Nima
I am experiencing the exact same issue as @NimaMojtahedi - @joshloyal are there any updates on this?
Dear Joshua,
First of all, thank you for this great work and this nice package. I have some trouble importing the package from jupyter notebook. I just copy the error below.
File c:\Users\nmojtahedi\Anaconda3\envs\test_env\lib\site-packages\dynetlsm__init__.py:1, in
----> 1 from .lsm import
2 from .hdp_lpcm import
File c:\Users\nmojtahedi\Anaconda3\envs\test_env\lib\site-packages\dynetlsm\lsm.py:17, in
15 from .metrics import network_auc
16 from .metropolis import Metropolis
---> 17 from .network_likelihoods import (
18 dynamic_network_loglikelihood_directed,
19 dynamic_network_loglikelihood_undirected,
20 directed_network_probas,
21 approx_directed_network_loglikelihood,
22 directed_intercept_grad
23 )
24 from .procrustes import longitudinal_procrustes_rotation
25 from .sample_latent_positions import sample_latent_positions
File c:\Users\nmojtahedi\Anaconda3\envs\test_env\lib\site-packages\dynetlsm\network_likelihoods.py:4, in
1 import numpy as np
3 from .latent_space import calculate_distances
...
9 directed_network_probas,
10 approx_directed_partial_loglikelihood,
11 approx_directed_network_loglikelihood)
ModuleNotFoundError: No module named 'dynetlsm.gaussian_likelihood_fast'
It would be great if you give me some hints on how to deal with this issue.
Best regards, Nima