bigchaindb / bigchaindb-driver

Official Python driver for BigchainDB
https://www.bigchaindb.com
Apache License 2.0
104 stars 104 forks source link

keep getting errors for not being able to build wheels for python-rapidjson, cryptography, PyNaCl #513

Open chanxueli opened 1 year ago

chanxueli commented 1 year ago

Hello! I tried to pip install bigchaindb-driver but I keep getting errors that I cannot build wheels for the 3 packages as mentioned above. I tried to individually pip install each package and it still gives the same error. This is the error for PyNaCl which is the same error i got for the other 2 pacakages as well.

error message

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [41 lines of output] C:\Users\cxuel\csc3004-cloud-computing\bigchain_blockchain\venv\lib\site-packages\setuptools__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************

  !!
    dist.fetch_build_eggs(dist.setup_requires)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-cpython-310
  creating build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\encoding.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\exceptions.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\hash.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\hashlib.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\public.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\pwhash.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\secret.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\signing.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\utils.py -> build\lib.win-amd64-cpython-310\nacl
  copying src\nacl\__init__.py -> build\lib.win-amd64-cpython-310\nacl
  creating build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_box.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_generichash.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_hash.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_pwhash.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_scalarmult.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_secretbox.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_shorthash.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\crypto_sign.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\randombytes.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\sodium_core.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\utils.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  copying src\nacl\bindings\__init__.py -> build\lib.win-amd64-cpython-310\nacl\bindings
  running build_clib
  error: [WinError 193] %1 is not a valid Win32 application
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for PyNaCl Running setup.py clean for PyNaCl Failed to build python-rapidjson cryptography PyNaCl

ttmc commented 1 year ago

To understand the root of this error, see https://github.com/bigchaindb/bigchaindb-driver/graphs/contributors

abuvanth commented 1 year ago

error on mac m1

pbooox commented 3 months ago

did u found a solution?

ttmc commented 3 months ago

AFAIK, this software is currently unsupported and not being updated.