-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
win11的wsl2,Ubuntu 22.04,5070 Laptop,python 3.10.19,paddlepaddle 3.2.2,paddlex 3.3.10。
最开始是直接部署PaddleSpeech,报错不支持5070,所以换PaddleX的CPU版试试,结果示例代码都报错。
`from paddlex import create_pipeline
pipeline = create_pipeline(pipeline="multilingual_speech_recognition")
output = pipeline.predict(input="zh.wav")
for res in output:
res.print()
res.save_to_json(save_path="./output/")`
Traceback (most recent call last): File "/home/abc/paddlex/paddlex.py", line 1, in <module> from paddlex import create_pipeline File "/home/abc/paddlex/paddlex.py", line 1, in <module> from paddlex import create_pipeline ImportError: cannot import name 'create_pipeline' from partially initialized module 'paddlex' (most likely due to a circular import)
`pip list
Package Version
aistudio-sdk 0.3.8
annotated-types 0.7.0
anyio 4.11.0
bce-python-sdk 0.9.53
certifi 2025.10.5
cffi 2.0.0
chardet 5.2.0
charset-normalizer 3.4.4
click 8.3.1
colorlog 6.10.1
exceptiongroup 1.3.0
filelock 3.20.0
fsspec 2025.10.0
ftfy 6.3.1
future 1.0.0
h11 0.16.0
hf-xet 1.2.0
httpcore 1.0.9
httpx 0.28.1
huggingface_hub 1.1.5
idna 3.11
Jinja2 3.1.6
MarkupSafe 3.0.3
modelscope 1.32.0
networkx 3.4.2
numpy 2.2.6
opt-einsum 3.3.0
packaging 25.0
paddlepaddle 3.2.2
paddlex 3.3.10
pandas 2.3.3
pillow 12.0.0
pip 25.3
prettytable 3.17.0
protobuf 6.33.0
psutil 7.1.3
py-cpuinfo 9.0.0
pycparser 2.23
pycryptodome 3.23.0
pydantic 2.12.4
pydantic_core 2.41.5
python-dateutil 2.9.0.post0
pytz 2025.2
PyYAML 6.0.2
regex 2025.11.3
requests 2.32.5
ruamel.yaml 0.18.16
ruamel.yaml.clib 0.2.15
safetensors 0.6.2
setuptools 80.9.0
shellingham 1.5.4
six 1.17.0
sniffio 1.3.1
soundfile 0.13.1
tqdm 4.67.1
typer-slim 0.20.0
typing_extensions 4.15.0
typing-inspection 0.4.2
tzdata 2025.2
ujson 5.11.0
urllib3 2.5.0
wcwidth 0.2.14
wheel 0.45.1`
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy

