-
Notifications
You must be signed in to change notification settings - Fork 428
Description
(chatbot) root@sambot:/home/samni/chatbot/AntiFraudChatBot-test# python dialog.py
Traceback (most recent call last):
File "dialog.py", line 28, in
import paddlehub as hub
File "/home/samni/anaconda3/envs/chatbot/lib/python3.7/site-packages/paddlehub/init.py", line 18, in
import paddle
ModuleNotFoundError: No module named 'paddle'
(chatbot) root@sambot:/home/samni/chatbot/AntiFraudChatBot-test# pip install paddle
Collecting paddle
Using cached paddle-1.0.2.tar.gz (579 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 36, in
File "", line 34, in
File "/tmp/pip-install-bx1hmi2i/paddle_1fbbf321c159451885d56f4885f29927/setup.py", line 3, in
import paddle
File "/tmp/pip-install-bx1hmi2i/paddle_1fbbf321c159451885d56f4885f29927/paddle/init.py", line 5, in
import common, dual, tight, data, prox
ModuleNotFoundError: No module named 'common'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
请问这个问题如何解决 谢谢