Skip to content
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

ModuleNotFoundError: No module named 'lgamma._ext.functions._functions' #1

Open
dolphina opened this issue Jan 19, 2021 · 1 comment

Comments

@dolphina
Copy link

Hello,
When I try to run the code, I get this error:
File "IBP-VAE-MNIST.py", line 10, in
import training
File "C:\Users\asus\desktop\IBP-VAE-master\training.py", line 6, in
from commonTraining import kl_divergence, kl_discrete, log_sum_exp,
File "C:\Users\asus\desktop\IBP-VAE-master\commonTraining.py", line 12, in
from lgamma.beta import Beta
File "C:\Users\asus\desktop\IBP-VAE-master\lgamma\beta.py", line 3, in
from .internals import polygamma, lgamma
File "C:\Users\asus\desktop\IBP-VAE-master\lgamma\internals.py", line 4, in
from .ext import functions
File "C:\Users\asus\desktop\IBP-VAE-master\lgamma_ext\functions_init
.py", line 3, in
from ._functions import lib as _lib, ffi as _ffi
ModuleNotFoundError: No module named 'lgamma._ext.functions._functions'

How to solve it?
Thx in advance.

@Prasanna1991
Copy link
Owner

As I stated in the readme, I borrowed compilation codes from the previous repository. Your issue also seems to be related to that. Did you try the compilation part, and was it OK? If you're facing it even after your compilation was fine, please let me know via email, and we can schedule a quick chat to go over the setup process. Also, I hope you properly installed the given conda package.

Sorry for not being of too much help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants