_CouchPotato_ 2023-01-08 17:52 采纳率: 20%
浏览 152

使用Anaconda pip安装paddle包 报错

使用Anaconda pip安装paddle包 报错 如图
subprocess-exited-with-error
(Python39) C:\Users\17128>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 "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\17128\AppData\Local\Temp\pip-install-ql_kbh8r\paddle_223cb0a23d454079956c5b78d60f81fb\setup.py", line 3, in <module>
          import paddle
        File "C:\Users\17128\AppData\Local\Temp\pip-install-ql_kbh8r\paddle_223cb0a23d454079956c5b78d60f81fb\paddle\__init__.py", line 5, in <module>
          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.

img

  • 写回答

1条回答 默认 最新

  • 碳水小王子 2023-01-08 20:20
    关注

    paddle的包安装真的很上头,我在配置的时候,同样的环境别人的电脑可以,我的就不可以,有两点建议1.创建一个新的虚拟环境,安装paddle,如果想要放到你的环境中的话,把文件包复制下来,再粘贴到你的环境中
    2.别人的电脑上配置好的paddle环境,复制粘贴到你的电脑上

    评论

报告相同问题?

问题事件

  • 创建了问题 1月8日

悬赏问题

  • ¥18 光催化第一性原理计算析氢效率STH怎么计算
  • ¥100 Mac 版foxmail 收邮件问题
  • ¥15 QWebEngineView
  • ¥15 如何使用shufflenet进行手写数字识别
  • ¥15 .net core 同时编辑怎么防止数据串了
  • ¥20 微信小程序播放直播流
  • ¥15 关于迷宫自走单片机循迹小车的知识
  • ¥15 python使用selenium工具爬取网站的问题
  • ¥15 visual studio中c语言用ODBC链接SQL SERVER
  • ¥15 关于#python#的问题:如何通过pywinauto获取到图中“窗格”内部的内容