Closed EnnaSachdeva closed 2 years ago
After compiling the cython scripts, and running python sim.py gives the following error-
ModuleNotFoundError: No module named 'prediction.M2I.marginal_prediction.src.utils_cython'
Hello, I also encountered a similar problem. Have you solved it?
Try to also compile the utils_cython in marginal_prediction as follows?
cd prediction/M2I/marginal_prediction/src/
cython -a utils_cython.pyx && python setup.py build_ext --inplace
Try to also compile the utils_cython in marginal_prediction as follows?
cd prediction/M2I/marginal_prediction/src/
cython -a utils_cython.pyx && python setup.py build_ext --inplace
Hello, I tried the above commands but found some errors as follows, have you encountered similar errors?
I think these are just some warnings from Cython that do not block the compiling process.
Thank you very much, but I still get No module named 'prediction.M2I.relation_predictor.src.utils_cython'
error when I try to run python sim.py
after compiling the utils_cython.
Could you run the same script in the relation_predictor/src
folder and try again?
cd prediction/M2I/relation_predictor/src/
cython -a utils_cython.pyx && python setup.py build_ext --inplace
After compiling the cython scripts, and running python sim.py gives the following error-
ModuleNotFoundError: No module named 'prediction.M2I.marginal_prediction.src.utils_cython'