You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation is completed but when I try to import bnpy I get this error. I'm on Python 2.7, any idea what is the issue for it and how to fix it?
>>> import bnpy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "bnpy/__init__.py", line 20, in <module> import allocmodel File "bnpy/allocmodel/__init__.py", line 7, in <module> from topics.FiniteTopicModel import FiniteTopicModel File "bnpy/allocmodel/topics/FiniteTopicModel.py", line 3, in <module> import LocalStepManyDocs File "bnpy/allocmodel/topics/LocalStepManyDocs.py", line 15, in <module> from bnpy.util.lib.sparseResp.LibSparseResp \ ImportError: No module named lib.sparseResp.LibSparseResp
The text was updated successfully, but these errors were encountered:
On Mon, Jul 1, 2019 at 5:54 PM Ameya Daigavane ***@***.***> wrote:
I'm having a lot of issues on 2.7 as well.
- Had to downgrade munkres to v1.0.12. The current version 1.1.2
causes a SyntaxError on execution.
- After this, when running the HMM example:
python -m bnpy.Run temp/test.csv HDPHMM DiagGauss memoVB --K 8
I get AttributeError: 'XData' object has no attribute 'nDoc'.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22?email_source=notifications&email_token=AASBQBA6PNCSUID3VKOYVR3P5J4JZA5CNFSM4HIC7HDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY7OXOA#issuecomment-507440056>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASBQBAV62HSGADBMLUDDBTP5J4JZANCNFSM4HIC7HDA>
.
Another issue is, PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
This just causes the entire thing to crash on my end.
Installation is completed but when I try to import bnpy I get this error. I'm on Python 2.7, any idea what is the issue for it and how to fix it?
>>> import bnpy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "bnpy/__init__.py", line 20, in <module> import allocmodel File "bnpy/allocmodel/__init__.py", line 7, in <module> from topics.FiniteTopicModel import FiniteTopicModel File "bnpy/allocmodel/topics/FiniteTopicModel.py", line 3, in <module> import LocalStepManyDocs File "bnpy/allocmodel/topics/LocalStepManyDocs.py", line 15, in <module> from bnpy.util.lib.sparseResp.LibSparseResp \ ImportError: No module named lib.sparseResp.LibSparseResp
The text was updated successfully, but these errors were encountered: