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 'mdlp._mdlp' #37

Open
NeilChangYanpeng opened this issue Apr 20, 2021 · 3 comments
Open

ModuleNotFoundError: No module named 'mdlp._mdlp' #37

NeilChangYanpeng opened this issue Apr 20, 2021 · 3 comments

Comments

@NeilChangYanpeng
Copy link

Hello,Henry,
I installed the package and ran the example code following the README.md

image

Then I got this error:

`D:\Anaconda3\envs\cdt\python.exe "E:/causal_discovery/minimum description length/mdlp-discretization-master/demo/demo.py"
Traceback (most recent call last):
File "E:/causal_discovery/minimum description length/mdlp-discretization-master/demo/demo.py", line 1, in
from mdlp.discretization import MDLP
File "E:\causal_discovery\minimum description length\mdlp-discretization-master\mdlp\discretization.py", line 17, in
from mdlp._mdlp import MDLPDiscretize
ModuleNotFoundError: No module named 'mdlp._mdlp'

Process finished with exit code 1`

Can you give me some help? Thank you.

@NeilChangYanpeng NeilChangYanpeng changed the title ModuleNotFoundError ModuleNotFoundError: No module named 'mdlp._mdlp' Apr 20, 2021
@martino-vic
Copy link

martino-vic commented Sep 6, 2021

Same, windows 10, python 3.9, jupyter lab

Screenshot (826)

I followed these instructions: https://stackoverflow.com/questions/7508803/how-do-i-import-function-from-pyx-file-in-python
Now I get this error:

ImportError: Building module mdlp._mdlp failed: ["distutils.errors.CompileError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2\n"]

Some promising workaround: sammchardy/python-binance#148

@80070003
Copy link

Same question, did anybody solved it?

@elisammz
Copy link

elisammz commented Mar 10, 2024

Same problem. Did any get a solution?
Python 3.8.18, MacOs

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

4 participants