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

no tools found after installation #32

Open
bhomass opened this issue Jun 8, 2020 · 2 comments
Open

no tools found after installation #32

bhomass opened this issue Jun 8, 2020 · 2 comments

Comments

@bhomass
Copy link

bhomass commented Jun 8, 2020

I went thru the git clone and python setup.py install steps. no errors, but there is no apps subdirectory, and mlnquery and mlnlearn are not found any where.

How to get those built or downloaded?

@bhomass
Copy link
Author

bhomass commented Jun 8, 2020

since I don't see the tools, I did python mlnlearn.py like it said in issue 24, but I get
File "/home/bruce/anaconda3/envs/pracmln/lib/python3.6/site-packages/pracmln/mln/learning/bpll.py", line 41, in
from ..util import fsum, temporary_evidence
ImportError: cannot import name 'fsum'

This I don't know how to work around. it's in the bpll.py code. There is a try exception section importing either mpmath or math. what can be wrong there?

@tariqutb
Copy link

tariqutb commented Jan 17, 2021

you can go to pracmln --> mln --> util.py
then change line 42 "USE_MPMATH = True" to "USE_MPMATH = False"

Note: I have downloaded the whole project and import everything manually
Environment:
Python: 3.6.9
OS: Windows 10
With anaconda

@Ab-Abdurrahman

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