-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
import paddlehub is error #2327
Comments
有安装成功的吗? |
可以参考下面的环境:
|
大神,能不能弄一个docker的ubuntu镜像,这样我们直接用,自己装确实各种报错。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
python3.8和python3.9 win11x64都试了全报错,
pip install paddlepaddle-gpu==2.5.1
pip install paddlehub==2.4.0
error:
D:\python\test2.venv\lib\site-packages_distutils_hack_init_.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Traceback (most recent call last):
File "D:\python\test2\main.py", line 2, in
import paddlehub as hub
File "D:\python\test2.venv\lib\site-packages\paddlehub_init_.py", line 31, in
from paddlehub import datasets
File "D:\python\test2.venv\lib\site-packages\paddlehub\datasets_init_.py", line 16, in
from paddlehub.datasets.chnsenticorp import ChnSentiCorp
File "D:\python\test2.venv\lib\site-packages\paddlehub\datasets\chnsenticorp.py", line 19, in
from paddlehub.datasets.base_nlp_dataset import TextClassificationDataset
File "D:\python\test2.venv\lib\site-packages\paddlehub\datasets\base_nlp_dataset.py", line 21, in
import paddlenlp
File "D:\python\test2.venv\lib\site-packages\paddlenlp_init_.py", line 35, in
from . import (
File "D:\python\test2.venv\lib\site-packages\paddlenlp\data_init_.py", line 18, in
from .data_collator import *
File "D:\python\test2.venv\lib\site-packages\paddlenlp\data\data_collator.py", line 26, in
from ..transformers import BertTokenizer
File "D:\python\test2.venv\lib\site-packages\paddlenlp\transformers_init_.py", line 51, in
from .gpt.tokenizer import *
File "D:\python\test2.venv\lib\site-packages\paddlenlp\transformers\gpt\tokenizer.py", line 22, in
import jieba
ModuleNotFoundError: No module named 'jieba'
The text was updated successfully, but these errors were encountered: