ImportError: To be able to use this metric, you need to install the following dependencies['seqeval'] using 'pip install seqeval' for instance'
NONE
![图片](https://user-images.githubusercontent.com/28425091/153547502-6bb0938d-788b-4857-b946-c3cf08fefce4.png)
My datasets version
2022-02-11T06:39:44Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1035920815
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps49vuWv
https://api.github.com/repos/huggingface/datasets/issues/comments/1035920815/reactions
2022-02-11T06:39:44Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1035920815
https://avatars.githubusercontent.com/u/28425091?v=4
https://api.github.com/users/zhangyifei1/events{/privacy}
https://api.github.com/users/zhangyifei1/followers
https://api.github.com/users/zhangyifei1/following{/other_user}
https://api.github.com/users/zhangyifei1/gists{/gist_id}
https://github.com/zhangyifei1
zhangyifei1
MDQ6VXNlcjI4NDI1MDkx
https://api.github.com/users/zhangyifei1/orgs
https://api.github.com/users/zhangyifei1/received_events
https://api.github.com/users/zhangyifei1/repos
https://api.github.com/users/zhangyifei1/starred{/owner}{/repo}
https://api.github.com/users/zhangyifei1/subscriptions
User
https://api.github.com/users/zhangyifei1
public
NONE
![图片](https://user-images.githubusercontent.com/28425091/153547587-f4677166-af9b-44a0-95ad-b6dba873978a.png)

2022-02-11T06:40:18Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1035921046
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps49vuaW
https://api.github.com/repos/huggingface/datasets/issues/comments/1035921046/reactions
2022-02-11T06:40:18Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1035921046
https://avatars.githubusercontent.com/u/28425091?v=4
https://api.github.com/users/zhangyifei1/events{/privacy}
https://api.github.com/users/zhangyifei1/followers
https://api.github.com/users/zhangyifei1/following{/other_user}
https://api.github.com/users/zhangyifei1/gists{/gist_id}
https://github.com/zhangyifei1
zhangyifei1
MDQ6VXNlcjI4NDI1MDkx
https://api.github.com/users/zhangyifei1/orgs
https://api.github.com/users/zhangyifei1/received_events
https://api.github.com/users/zhangyifei1/repos
https://api.github.com/users/zhangyifei1/starred{/owner}{/repo}
https://api.github.com/users/zhangyifei1/subscriptions
User
https://api.github.com/users/zhangyifei1
public
COLLABORATOR
Hi! Some of our metrics require additional dependencies to work. In your case, simply installing the `seqeval` package with `pip install seqeval` should resolve the issue.
2022-02-13T16:07:12Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1038219411
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps494fiT
https://api.github.com/repos/huggingface/datasets/issues/comments/1038219411/reactions
2022-02-13T16:07:12Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1038219411
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
> Hi! Some of our metrics require additional dependencies to work. In your case, simply installing the `seqeval` package with `pip install seqeval` should resolve the issue.
I installed seqeval, but still reported the same error. That's too bad.

2022-03-19T15:14:30Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1073027546
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps4_9Rna
https://api.github.com/repos/huggingface/datasets/issues/comments/1073027546/reactions
2022-03-19T15:14:30Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1073027546
https://avatars.githubusercontent.com/u/69563759?v=4
https://api.github.com/users/htyhmn/events{/privacy}
https://api.github.com/users/htyhmn/followers
https://api.github.com/users/htyhmn/following{/other_user}
https://api.github.com/users/htyhmn/gists{/gist_id}
https://github.com/htyhmn
htyhmn
MDQ6VXNlcjY5NTYzNzU5
https://api.github.com/users/htyhmn/orgs
https://api.github.com/users/htyhmn/received_events
https://api.github.com/users/htyhmn/repos
https://api.github.com/users/htyhmn/starred{/owner}{/repo}
https://api.github.com/users/htyhmn/subscriptions
User
https://api.github.com/users/htyhmn
public
NONE
> > Hi! Some of our metrics require additional dependencies to work. In your case, simply installing the `seqeval` package with `pip install seqeval` should resolve the issue.
> > I installed seqeval, but still reported the same error. That's too bad.

Same issue here. What should I do to fix this error? Please help! Thank you.
2022-03-21T07:57:49Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1073570265
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps4__WHZ
https://api.github.com/repos/huggingface/datasets/issues/comments/1073570265/reactions
2022-03-21T07:57:49Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1073570265
https://avatars.githubusercontent.com/u/101393234?v=4
https://api.github.com/users/jasmoonli/events{/privacy}
https://api.github.com/users/jasmoonli/followers
https://api.github.com/users/jasmoonli/following{/other_user}
https://api.github.com/users/jasmoonli/gists{/gist_id}
https://github.com/jasmoonli
jasmoonli
U_kgDOBgsjUg
https://api.github.com/users/jasmoonli/orgs
https://api.github.com/users/jasmoonli/received_events
https://api.github.com/users/jasmoonli/repos
https://api.github.com/users/jasmoonli/starred{/owner}{/repo}
https://api.github.com/users/jasmoonli/subscriptions
User
https://api.github.com/users/jasmoonli
public
NONE
I tried to install **seqeval** package through anaconda instead of pip:
`conda install -c conda-forge seqeval`
It worked for me!
2022-03-21T09:47:21Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1073692486
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps4__z9G
https://api.github.com/repos/huggingface/datasets/issues/comments/1073692486/reactions
2022-03-21T09:47:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1073692486
https://avatars.githubusercontent.com/u/101393234?v=4
https://api.github.com/users/jasmoonli/events{/privacy}
https://api.github.com/users/jasmoonli/followers
https://api.github.com/users/jasmoonli/following{/other_user}
https://api.github.com/users/jasmoonli/gists{/gist_id}
https://github.com/jasmoonli
jasmoonli
U_kgDOBgsjUg
https://api.github.com/users/jasmoonli/orgs
https://api.github.com/users/jasmoonli/received_events
https://api.github.com/users/jasmoonli/repos
https://api.github.com/users/jasmoonli/starred{/owner}{/repo}
https://api.github.com/users/jasmoonli/subscriptions
User
https://api.github.com/users/jasmoonli
public
NONE
I can run it through the following steps:
![image](https://user-images.githubusercontent.com/69563759/159264511-1e252a4e-c8c8-44ab-b7bc-b4aac609bd9e.png)
Thank you for answering for me!
2022-03-21T12:53:25Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1073857721
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps5AAcS5
https://api.github.com/repos/huggingface/datasets/issues/comments/1073857721/reactions
2022-03-21T12:53:25Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1073857721
https://avatars.githubusercontent.com/u/69563759?v=4
https://api.github.com/users/htyhmn/events{/privacy}
https://api.github.com/users/htyhmn/followers
https://api.github.com/users/htyhmn/following{/other_user}
https://api.github.com/users/htyhmn/gists{/gist_id}
https://github.com/htyhmn
htyhmn
MDQ6VXNlcjY5NTYzNzU5
https://api.github.com/users/htyhmn/orgs
https://api.github.com/users/htyhmn/received_events
https://api.github.com/users/htyhmn/repos
https://api.github.com/users/htyhmn/starred{/owner}{/repo}
https://api.github.com/users/htyhmn/subscriptions
User
https://api.github.com/users/htyhmn
public
NONE
just change the file name seqeval.py to myseqeval.py
2023-03-09T08:41:32Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1461573800
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps5XHdio
https://api.github.com/repos/huggingface/datasets/issues/comments/1461573800/reactions
2023-03-09T08:41:32Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1461573800
https://avatars.githubusercontent.com/u/54617876?v=4
https://api.github.com/users/WEI-1228/events{/privacy}
https://api.github.com/users/WEI-1228/followers
https://api.github.com/users/WEI-1228/following{/other_user}
https://api.github.com/users/WEI-1228/gists{/gist_id}
https://github.com/WEI-1228
WEI-1228
MDQ6VXNlcjU0NjE3ODc2
https://api.github.com/users/WEI-1228/orgs
https://api.github.com/users/WEI-1228/received_events
https://api.github.com/users/WEI-1228/repos
https://api.github.com/users/WEI-1228/starred{/owner}{/repo}
https://api.github.com/users/WEI-1228/subscriptions
User
https://api.github.com/users/WEI-1228
public
MEMBER
Metrics are deprecated in `datasets` and `evaluate` should be used instead: https://github.com/huggingface/evaluate
2023-07-11T09:31:59Z
https://github.com/huggingface/datasets/issues/3703#issuecomment-1630482176
https://api.github.com/repos/huggingface/datasets/issues/3703
IC_kwDODunzps5hLy8A
https://api.github.com/repos/huggingface/datasets/issues/comments/1630482176/reactions
2023-07-11T09:31:59Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1630482176
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
hi :
I want to use the seqeval indicator because of direct load_ When metric ('seqeval '), it will prompt that the network connection fails. So I downloaded the seqeval Py to load locally. Loading code: metric = load_ metric(path='mymetric/seqeval/seqeval.py')

But tips:

Traceback (most recent call last):
  File "/home/ubuntu/Python3.6_project/zyf_project/transformers/examples/pytorch/token-classification/run_ner.py", line 604, in <module>
    main()
  File "/home/ubuntu/Python3.6_project/zyf_project/transformers/examples/pytorch/token-classification/run_ner.py", line 481, in main
    metric = load_metric(path='mymetric/seqeval/seqeval.py')
  File "/home/ubuntu/Python3.6_project/zyf_project/transformers_venv_0209/lib/python3.7/site-packages/datasets/load.py", line 610, in load_metric
    dataset=False,
  File "/home/ubuntu/Python3.6_project/zyf_project/transformers_venv_0209/lib/python3.7/site-packages/datasets/load.py", line 450, in prepare_module
    f"To be able to use this {module_type}, you need to install the following dependencies"
ImportError: To be able to use this metric, you need to install the following dependencies['seqeval'] using 'pip install seqeval' for instance'


**What should I do? Please help me, thank you**

