thisbejim / Pyrebase

A simple python wrapper for the Firebase API.
2.05k stars 525 forks source link

legacy-install-failure × Encountered error while trying to install package. ╰─> pycryptodome #446

Closed rehan985 closed 1 year ago

rehan985 commented 1 year ago

I am facing this issue while installing the pyrebase using this command


pip3 install pyrebase 

pip install pyrebase 

python3.10 pip install pyrebase

Attempting uninstall: requests Found existing installation: requests 2.31.0 Uninstalling requests-2.31.0: Successfully uninstalled requests-2.31.0 Running setup.py install for pycryptodome ... error error: subprocess-exited-with-error

× Running setup.py install for pycryptodome did not run successfully. │ exit code: 1 ╰─> [361 lines of output] running install C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\Crypto

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pycryptodome

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

AsifArmanRahman commented 1 year ago

Neither pyrebase or pyrebase4 support Python 3.10+.


You can use firebase-rest-api.

rehan985 commented 1 year ago

yes ,It works for me .Thanks