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

Nice #1

Open
sabbathin opened this issue Jul 9, 2021 · 2 comments
Open

Nice #1

sabbathin opened this issue Jul 9, 2021 · 2 comments

Comments

@sabbathin
Copy link

Pretty cool job, unfortunately there are still some modules missing in the js version. As a matter of fact, there's a subtle error in the readme, wich leads you to clone python api version. I dont handle python, tried to run it but failed, but I can't wait for JS, in wich I'd be more helpful once it's done, we could wrap it around GPU kernel. Good luck.

@CalebEverett
Copy link
Owner

CalebEverett commented Jul 9, 2021

The application requires the python api server to be running. If you clone the python api repo and start the server per the instructions there, and then clone and start the React app in this repo, it should work.

@sabbathin
Copy link
Author

Thank you for you answer, well, my mistake. Did not see that comming, however, this is is all I get with my "pythonesse super powers", followed instructions, even used the pre-commits wich I did not see the first 3 times i read the readme. Not your fault of course silly long COVID playing on me. I better stay off and wait until the green bar is fuul, good luck.
+←[32mINFO←[0m: Uvicorn running on ←[1mhttp://127.0.0.1:8000←[0m (Press CTRL+C to quit)
←[32mINFO←[0m: Started reloader process [←[36m←[1m276←[0m] using ←[36m←[1mstatreload←[0m
Process SpawnProcess-1:
Traceback (most recent call last):
File "c:\users\qaval\appdata\local\programs\python\python39\lib\multiprocessing\process.py", line 315, in _bootstrap
self.run()
File "c:\users\qaval\appdata\local\programs\python\python39\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self.kwargs)
File "c:\users\qaval\appdata\local\programs\python\python39\lib\site-packages\uvicorn\subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "c:\users\qaval\appdata\local\programs\python\python39\lib\site-packages\uvicorn\server.py", line 50, in run
loop.run_until_complete(self.serve(sockets=sockets))
File "c:\users\qaval\appdata\local\programs\python\python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "c:\users\qaval\appdata\local\programs\python\python39\lib\site-packages\uvicorn\server.py", line 57, in serve
config.load()
File "c:\users\qaval\appdata\local\programs\python\python39\lib\site-packages\uvicorn\config.py", line 318, in load
self.loaded_app = import_from_string(self.app)
File "c:\users\qaval\appdata\local\programs\python\python39\lib\site-packages\uvicorn\importer.py", line 25, in import_from_string
raise exc from None
File "c:\users\qaval\appdata\local\programs\python\python39\lib\site-packages\uvicorn\importer.py", line 22, in import_from_string
module = importlib.import_module(module_str)
File "c:\users\qaval\appdata\local\programs\python\python39\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in load_unlocked
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "C:\Users\qaval.virtualenvs\futures-api-V9lV2C1M.\api_init
.py", line 5, in
from binance import AsyncClient
ImportError: cannot import name 'AsyncClient' from 'binance' (c:\users\qaval\appdata\local\programs\python\python39\lib\site-packages\binance_init
.py)

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

2 participants