Rails: Pycall can't import CountVectorizer from 'sklearn.feature_extraction.text'

164 Views Asked by At

I am having an issue (undefined method module_eval when trying to import CountVectorizer from sklearn.feature_extraction.text.

My code:

pyfrom :'sklearn.feature_extraction.text', import: :CountVectorizer

enter image description here

Am I missing something, or is this library not supported yet on pycall?

0

There are 0 best solutions below