Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chanxueli opened this issue May 21, 2023 · 4 comments

Comments

@chanxueli
Copy link

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
Copy link
Contributor

ttmc commented May 21, 2023

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

@abuvanth
Copy link

error on mac m1

@pbooox
Copy link

pbooox commented May 22, 2024

did u found a solution?

@ttmc
Copy link
Contributor

ttmc commented May 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants