首页 > 解决方案 > 如何在安装 bcrypt 时修复 pypy3 错误?

问题描述

我正在尝试在 pypy3 上安装 bcrypt,pypy3 -mpip install 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?

标签: pythonbcryptpypy

解决方案


推荐阅读