I run Debian stable on my box and I want to install the binance connector library
https://github.com/binance/binance-connector-python
to query binance.
I use pipx and everything seems to be OK (see below)Then I do the following
and everything looks fine, but then when I open a new shell and/or relogin, I still get this
why is the binance library not found? Any suggestion is really appreciated and merry Xmas to everyone!
https://github.com/binance/binance-connector-python
to query binance.
I use pipx and everything seems to be OK (see below)
Code:
$ sudo pipx install binance-connector --include-deps⚠️ Note: normalizer was already on your PATH at /usr/bin/normalizer installed package binance-connector 3.5.1, installed using Python 3.11.2 These apps are now globally available - normalizer - wsdump⚠️ Note: '/root/.local/bin' is not on your PATH environment variable. These apps will not be globally accessible until your PATH is updated. Run `pipx ensurepath` to automatically add it, or manually modify your PATH in your shell's config file (i.e. ~/.bashrc).done! ✨ 🌟 ✨
Code:
$ pipx ensurepath/home/lorenzo/.local/bin is already in PATH.⚠️ All pipx binary directories have been added to PATH. If you are sure youwant to proceed, try again with the '--force' flag.$ sudo pipx ensurepath[sudo] password for lorenzo: /root/.local/bin has been been added to PATH, but you need to open a new terminal or re-login for this PATH change to take effect.You will need to open a new terminal or re-login for the PATH changes to takeeffect.Otherwise pipx is ready to go! ✨ 🌟 ✨
Code:
$ python3.11Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> from binance.spot import SpotTraceback (most recent call last): File "<stdin>", line 1, in <module>ModuleNotFoundError: No module named 'binance'
Statistics: Posted by larry77 — 2023-12-25 13:35 — Replies 0 — Views 32