Error at the first example in README: AttributeError: module 'dill' has no attribute '_dill'
MEMBER
It looks like the bug comes from `dill`. Which version of `dill` are you using ?
2020-06-19T11:52:19Z
https://github.com/huggingface/datasets/issues/288#issuecomment-646594079
https://api.github.com/repos/huggingface/datasets/issues/288
MDEyOklzc3VlQ29tbWVudDY0NjU5NDA3OQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/646594079/reactions
2020-06-19T11:52:19Z
https://api.github.com/repos/huggingface/datasets/issues/comments/646594079
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
Thank you. It is version 0.2.6, which version is better?
2020-06-19T22:25:50Z
https://github.com/huggingface/datasets/issues/288#issuecomment-646881266
https://api.github.com/repos/huggingface/datasets/issues/288
MDEyOklzc3VlQ29tbWVudDY0Njg4MTI2Ng==
https://api.github.com/repos/huggingface/datasets/issues/comments/646881266/reactions
2020-06-19T22:25:50Z
https://api.github.com/repos/huggingface/datasets/issues/comments/646881266
https://avatars.githubusercontent.com/u/14964542?v=4
https://api.github.com/users/wutong8023/events{/privacy}
https://api.github.com/users/wutong8023/followers
https://api.github.com/users/wutong8023/following{/other_user}
https://api.github.com/users/wutong8023/gists{/gist_id}
https://github.com/wutong8023
wutong8023
MDQ6VXNlcjE0OTY0NTQy
https://api.github.com/users/wutong8023/orgs
https://api.github.com/users/wutong8023/received_events
https://api.github.com/users/wutong8023/repos
https://api.github.com/users/wutong8023/starred{/owner}{/repo}
https://api.github.com/users/wutong8023/subscriptions
User
https://api.github.com/users/wutong8023
public
MEMBER
0.2.6 is three years old now, maybe try a more recent one, e.g. the current 0.3.2 if you can?
2020-06-20T13:24:29Z
https://github.com/huggingface/datasets/issues/288#issuecomment-646994151
https://api.github.com/repos/huggingface/datasets/issues/288
MDEyOklzc3VlQ29tbWVudDY0Njk5NDE1MQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/646994151/reactions
2020-06-20T13:24:47Z
https://api.github.com/repos/huggingface/datasets/issues/comments/646994151
https://avatars.githubusercontent.com/u/7353373?v=4
https://api.github.com/users/thomwolf/events{/privacy}
https://api.github.com/users/thomwolf/followers
https://api.github.com/users/thomwolf/following{/other_user}
https://api.github.com/users/thomwolf/gists{/gist_id}
https://github.com/thomwolf
thomwolf
MDQ6VXNlcjczNTMzNzM=
https://api.github.com/users/thomwolf/orgs
https://api.github.com/users/thomwolf/received_events
https://api.github.com/users/thomwolf/repos
https://api.github.com/users/thomwolf/starred{/owner}{/repo}
https://api.github.com/users/thomwolf/subscriptions
User
https://api.github.com/users/thomwolf
public
NONE
Thanks guys! I upgraded dill and it works.
2020-06-21T03:31:45Z
https://github.com/huggingface/datasets/issues/288#issuecomment-647074020
https://api.github.com/repos/huggingface/datasets/issues/288
MDEyOklzc3VlQ29tbWVudDY0NzA3NDAyMA==
https://api.github.com/repos/huggingface/datasets/issues/comments/647074020/reactions
2020-06-21T03:31:45Z
https://api.github.com/repos/huggingface/datasets/issues/comments/647074020
https://avatars.githubusercontent.com/u/14964542?v=4
https://api.github.com/users/wutong8023/events{/privacy}
https://api.github.com/users/wutong8023/followers
https://api.github.com/users/wutong8023/following{/other_user}
https://api.github.com/users/wutong8023/gists{/gist_id}
https://github.com/wutong8023
wutong8023
MDQ6VXNlcjE0OTY0NTQy
https://api.github.com/users/wutong8023/orgs
https://api.github.com/users/wutong8023/received_events
https://api.github.com/users/wutong8023/repos
https://api.github.com/users/wutong8023/starred{/owner}{/repo}
https://api.github.com/users/wutong8023/subscriptions
User
https://api.github.com/users/wutong8023
public
MEMBER
Awesome
2020-06-21T09:05:11Z
https://github.com/huggingface/datasets/issues/288#issuecomment-647101174
https://api.github.com/repos/huggingface/datasets/issues/288
MDEyOklzc3VlQ29tbWVudDY0NzEwMTE3NA==
https://api.github.com/repos/huggingface/datasets/issues/comments/647101174/reactions
2020-06-21T09:05:11Z
https://api.github.com/repos/huggingface/datasets/issues/comments/647101174
https://avatars.githubusercontent.com/u/7353373?v=4
https://api.github.com/users/thomwolf/events{/privacy}
https://api.github.com/users/thomwolf/followers
https://api.github.com/users/thomwolf/following{/other_user}
https://api.github.com/users/thomwolf/gists{/gist_id}
https://github.com/thomwolf
thomwolf
MDQ6VXNlcjczNTMzNzM=
https://api.github.com/users/thomwolf/orgs
https://api.github.com/users/thomwolf/received_events
https://api.github.com/users/thomwolf/repos
https://api.github.com/users/thomwolf/starred{/owner}{/repo}
https://api.github.com/users/thomwolf/subscriptions
User
https://api.github.com/users/thomwolf
public
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:469: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:470: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:471: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:472: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:473: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:476: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
/Users/parasol_tree/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
  return f(*args, **kwds)
/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Traceback (most recent call last):
  File "/Users/parasol_tree/Resource/019 - Github/AcademicEnglishToolkit /test.py", line 7, in <module>
    import nlp
  File "/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/nlp/__init__.py", line 27, in <module>
    from .arrow_dataset import Dataset
  File "/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/nlp/arrow_dataset.py", line 31, in <module>
    from nlp.utils.py_utils import dumps
  File "/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/nlp/utils/__init__.py", line 20, in <module>
    from .download_manager import DownloadManager, GenerateMode
  File "/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/nlp/utils/download_manager.py", line 25, in <module>
    from .py_utils import flatten_nested, map_nested, size_str
  File "/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/nlp/utils/py_utils.py", line 244, in <module>
    class Pickler(dill.Pickler):
  File "/Users/parasol_tree/anaconda3/lib/python3.6/site-packages/nlp/utils/py_utils.py", line 247, in Pickler
    dispatch = dill._dill.MetaCatchingDict(dill.Pickler.dispatch.copy())
AttributeError: module 'dill' has no attribute '_dill'