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

Undeclared dependency on ‘scipy’ #3

Closed
bignose-debian opened this issue Aug 3, 2017 · 0 comments · Fixed by #7
Closed

Undeclared dependency on ‘scipy’ #3

bignose-debian opened this issue Aug 3, 2017 · 0 comments · Fixed by #7

Comments

@bignose-debian
Copy link

After installing ‘maxentropy’, and also ‘six’ (because of issue #1) and ‘numpy’ (because of issue #2):

$ python3 -m pip install six numpy maxentropy
Collecting six
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting numpy
  Using cached numpy-1.13.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting maxentropy
Installing collected packages: six, numpy, maxentropy
Successfully installed maxentropy-0.2.3 numpy-1.13.1 six-1.10.0

it fails to import:

$ python3 -c 'import maxentropy'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/bignose/bayesml/lib/python3.6/site-packages/maxentropy/__init__.py", line 84, in <module>
    from .basemodel import BaseModel
  File "/home/bignose/bayesml/lib/python3.6/site-packages/maxentropy/basemodel.py", line 10, in <module>
    from scipy import optimize
ModuleNotFoundError: No module named 'scipy'

The Distutils metadata has not declared this dependency.

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

Successfully merging a pull request may close this issue.

1 participant