微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在安装 bcrypt 时修复 pypy3 错误?

如何解决如何在安装 bcrypt 时修复 pypy3 错误?

我正在尝试使用 pypy3 -mpip install bcrypt 在 pypy3 上安装 bcrypt 但我收到以下错误

  Using cached bcrypt-3.2.0.tar.gz (42 kB)
  Installing build dependencies ... -done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/pypy3 /usr/share/python-wheels/pep517-0.8.2-py2.py3-none-any.whl/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpggtleaxx
       cwd: /tmp/pip-install-ern1xaau/bcrypt
  Complete output (1 lines):
  /usr/bin/pypy3: can't find '__main__' module in '/usr/share/python-wheels/pep517-0.8.2-py2.py3-none-any.whl/pep517/_in_process.py'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/pypy3 /usr/share/python-wheels/pep517-0.8.2-py2.py3-none-any.whl/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpggtleaxx Check the logs for full command output.```

is there a way to fix it?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。