Closed nhondong closed 6 years ago
pip3 install git+https://github.com/ohenrik/bitfinex.git works, but i still get:
from bitfinex.websockets import WssClient
ModuleNotFoundError: No module named 'bitfinex.websockets'; 'bitfinex' is not a package
if use from bitfinex.websockets.client import WssClient (windows and linux)
Traceback (most recent call last):
File "D:/Py-test2/2018/ccex_py36_201808/bitf1_wss1.py", line 16, in
Process finished with exit code 1
if you installed using "pip3 install git+https://github.com/ohenrik/bitfinex.git" try and use the wss example from my pull request, it will work. https://github.com/dantimofte/bitfinex/blob/master/examples/wss_example.py
OMG, this was a beginner Error. I had a file named bitfinex.py in my scriptfolder...
Sorry for that.
still, the problem with "pip3 install bitfinex-v2" is real, you should reopen this until it's been fixed
this is now fixed :)
Command: pip3 install bitfinex-v2 returns:
Collecting bitfinex-v2 Downloading https://files.pythonhosted.org/packages/a8/a0/e10703a05c2ed27d07ce4d5bdaabda3ed60030706bc2f1e6c935fe71cc7e/bitfinex-v2-0.5.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "/tmp/pip-build-62awd5et/bitfinex-v2/setup.py", line 15, in
with open("README.md", "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'