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

bayesloop module fails to load, pythin 3.7.7 64-bit #37

Closed
amilenovic opened this issue Apr 25, 2021 · 2 comments
Closed

bayesloop module fails to load, pythin 3.7.7 64-bit #37

amilenovic opened this issue Apr 25, 2021 · 2 comments

Comments

@amilenovic
Copy link

I wanted to try out the bayesloop. I followed the installation instructions in the documentation, but module import failed:

Python 3.7.7 (default, May  6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import bayesloop
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\workspace\tools\Miniconda3\lib\site-packages\bayesloop\__init__.py", line 4, in <module>
    from .core import Study, HyperStudy, ChangepointStudy, OnlineStudy
  File "D:\workspace\tools\Miniconda3\lib\site-packages\bayesloop\core.py", line 15, in <module>
    from scipy.misc import factorial
ImportError: cannot import name 'factorial' from 'scipy.misc' (D:\workspace\tools\Miniconda3\lib\site-packages\scipy\misc\__init__.py)

I tried to resolve the problem, following https://stackoverflow.com/questions/56283294/importerror-cannot-import-name-factorial but that didn't resolve.

Any idea on how to overcome this issue?

@christophmark
Copy link
Owner

@amilenovic Sorry for the delayed reply, try to install from current master, I fixed those imports by now (factorial and others have been moved to scipy.special).

@christophmark
Copy link
Owner

This is finally fixed now not only on master, but also in the new 1.5.3 release.

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