keras-text icon indicating copy to clipboard operation
keras-text copied to clipboard

Jobib and Jsonpickle should be added as a dependencies

Open tgalery opened this issue 6 years ago • 1 comments

Importing Datasets leads to error.

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-35-a263e6a09a43> in <module>()
      5 warnings.filterwarnings('ignore')
      6 
----> 7 from keras_text.data import Dataset

~/miniconda/envs/deeplearn/lib/python3.6/site-packages/keras_text/data.py in <module>()
      4 import numpy as np
      5 
----> 6 from .import utils
      7 from .import sampling
      8 

~/miniconda/envs/deeplearn/lib/python3.6/site-packages/keras_text/utils.py in <module>()
      3 import numpy as np
      4 import pickle
----> 5 import joblib
      6 import jsonpickle
      7 

ModuleNotFoundError: No module named 'joblib'

tgalery avatar Apr 24 '18 22:04 tgalery

install joblib using conda: conda install joblib

ghost avatar Jul 24 '18 17:07 ghost