Closed nazguul512 closed 8 months ago
Hello @nazguul512!
We offer the library since 2.0.0 as compiled C-Extention for Python. This is architecture specific and there is no suitable wheel for the Raspberry.
May I ask you to come to the support chat. The chat is free, but we can work more dynamically on a solution for you: https://www.lucit.tech/get-support.html
Best regards, Oliver
Closed in chat.
Hello! The new update works now also on all raspberry models: https://pypi.org/project/unicorn-binance-websocket-api/2.2.0/
The installation of the entire Unicorn Binance Suite can take up to an hour due to the compilation! Especially after "Building Wheels ..." not much happens on the screen for a long time, just be patient!
These are the dependencies of such a system, it is best to install everything once in advance: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-suite/wiki/Installation#for-apt-ubuntu-debian-on-raspberry-pi
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
Version of this library.
lucit_licensing_python: not found unicorn_fy: not found unicorn_binance_local_depth_cache: not found unicorn_binance_rest_api: not found unicorn_binance_trailing_stop_loss: not found unicorn_binance_websocket_api: not found
Hardware?
Raspberry Pi
Operating System?
Linux
Python version?
Python3.10
Installed wheel files
Installed packages
Logging output
No response
Processing method?
stream_buffer
Used endpoint?
binance.us
Issue
while trying to install this library and use it, i get this error on running pip install: pip install unicorn-binance-websocket-api Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting unicorn-binance-websocket-api Using cached unicorn-binance-websocket-api-2.1.4.tar.gz (1.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [21 lines of output] Traceback (most recent call last): File "/home/pi/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/pi/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/pi/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-cwvlhdg1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-cwvlhdg1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-cwvlhdg1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 28, in
File "/tmp/pip-build-env-cwvlhdg1/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1010, in cythonize
module_list, module_metadata = create_extension_list(
File "/tmp/pip-build-env-cwvlhdg1/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 845, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
File "/tmp/pip-build-env-cwvlhdg1/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 117, in nonempty
raise ValueError(error_msg)
ValueError: 'unicorn_binance_websocket_api/init.py' doesn't match any files
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have used this library in the past, one year ago and it worked flawlessly, no issue on install or anything. Since then, I have upgraded the python version from its original provided in RapiOS to python3.10. Now, I have to reinstall all pip packages to python3.10, even thou I have them installed already for the old version of python. No other pip packages I needed throwed me this kind of error, I don't even understand it.