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

Error on trying to import FM_FTRL #21

Closed
yulsa opened this issue Apr 23, 2018 · 1 comment
Closed

Error on trying to import FM_FTRL #21

yulsa opened this issue Apr 23, 2018 · 1 comment

Comments

@yulsa
Copy link

yulsa commented Apr 23, 2018

I installed wordbatch on mac (OS X El Capitan).

import wordbatch doesn't give errors
but from wordbatch.models import FM_FTRL throws this error:

ImportError                               Traceback (most recent call last)
<ipython-input-5-6f5587655718> in <module>()
----> 1 from wordbatch.models import FM_FTRL

/Users/yuliamahtani/anaconda/lib/python3.5/site-packages/wordbatch/models/__init__.py in <module>()
      2 from .fm_ftrl import FM_FTRL
      3 from .nn_relu_h1 import NN_ReLU_H1
----> 4 from .nn_relu_h2 import NN_ReLU_H2

wordbatch/models/nn_relu_h2.pyx in init wordbatch.models.nn_relu_h2 (wordbatch/models/nn_relu_h2.c:24869)()

/Users/yuliamahtani/anaconda/lib/python3.5/site-packages/randomgen/__init__.py in <module>()
      1 from randomgen.dsfmt import DSFMT
      2 from randomgen.generator import RandomGenerator
----> 3 from randomgen.mt19937 import MT19937
      4 from randomgen.pcg32 import PCG32
      5 from randomgen.pcg64 import PCG64

/Users/yuliamahtani/anaconda/lib/python3.5/site-packages/randomgen/mt19937.pyx in init randomgen.mt19937()
      9 cimport numpy as np
     10 
---> 11 from randomgen.common import interface
     12 from randomgen.common cimport *
     13 from randomgen.distributions cimport brng_t

ImportError: cannot import name interface

please help

@yulsa
Copy link
Author

yulsa commented Apr 23, 2018

Ok, I think something got in conflict between homebrew and conda. I originally added homebrew based on comments regarding how to install wordbatch on mac (issue: #1). It messed up a whole bunch of my libraries, including matplotlib. I clean uninstalled homebrew, and strangely enough Wordbatch seems to have started to work now.

@yulsa yulsa closed this as completed Apr 23, 2018
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

1 participant