Closed wwrko closed 1 month ago
I have the exact same error with my Apple M1 MacOS 13.6.7.
On windows 11 here and I have the same issue (even on the latest dashboard update), manually did conda env create -f environment_conda.yml
which got me to atleast load the dashboard but getting other errors
above was "solved" by changing port (
BACKEND_API_PORT
) in CONFIG.py
to 8501.
But then I get another error instead, related to the backend_api_client
I think, lines are dependant on which page I'm trying to load (the different functions that are being called)
For users wanting to try out the Dashboard, the recommended deploy method for now is using Fede's repo - https://github.com/cardosofede/hummingbot-deploy
Describe the bug
**I tried several times with. make env_remove and make env_create.
After installed :**
% conda activate dashboard (dashboard) xxx@MacBook-Air dashboard % make run streamlit run main.py
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501 Network URL: http://198.18.0.1:8501
2024-05-26 11:15:40.812 Uncaught app exception Traceback (most recent call last): File "/Users/rongwang/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script exec(code, module.dict) File "/Users/rongwang/Project/humingbot/dashboard/main.py", line 6, in
from utils.os_utils import read_yaml_file, dump_dict_to_yaml
File "/Users/rongwang/Project/humingbot/dashboard/utils/os_utils.py", line 8, in
from hummingbot.smart_components.strategy_frameworks.directional_trading import DirectionalTradingControllerBase, DirectionalTradingControllerConfigBase
ModuleNotFoundError: No module named 'hummingbot.smart_components'
++++
~~~it shows failed to import the modular : hummingbot.smart_components.strategy_frameworks.directional_trading .
I checked the Python modular: hummingbot, there was no such class/function ...
can anyone help ? thanks
Steps to reproduce bug