Spaces:
Paused
Paused
Merge pull request #8 from opentensor/extending-readme-known-bug
Browse files
README.md
CHANGED
@@ -31,6 +31,8 @@ streamlit run dashboard.py
|
|
31 |
```
|
32 |
Alternatively, you can [deploy the app for free on streamlit](https://blog.streamlit.io/host-your-streamlit-app-for-free/), but be warned that the app is limited to 1GB of RAM.
|
33 |
|
|
|
|
|
34 |
|
35 |
# Validators
|
36 |
This repo contains a streamlit [dashboard]([url](https://opendashboard-v110.streamlit.app/)) which can be used to inspect and analyze the live network. It works by pulling validator data from [wandb](https://wandb.ai/opentensor-dev/openvalidators?workspace=default) and using this data for **metric tracking** and **interactive data visualizations**.
|
@@ -145,3 +147,22 @@ If this happens, you can export the recommended variable and rerun
|
|
145 |
```
|
146 |
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python streamlit run metadash.py
|
147 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
```
|
32 |
Alternatively, you can [deploy the app for free on streamlit](https://blog.streamlit.io/host-your-streamlit-app-for-free/), but be warned that the app is limited to 1GB of RAM.
|
33 |
|
34 |
+
### Secrets
|
35 |
+
This component needs an environtment variable called `WANDB_API_KEY` with a working api key to communicate with [wandb](https://docs.wandb.ai/).
|
36 |
|
37 |
# Validators
|
38 |
This repo contains a streamlit [dashboard]([url](https://opendashboard-v110.streamlit.app/)) which can be used to inspect and analyze the live network. It works by pulling validator data from [wandb](https://wandb.ai/opentensor-dev/openvalidators?workspace=default) and using this data for **metric tracking** and **interactive data visualizations**.
|
|
|
147 |
```
|
148 |
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python streamlit run metadash.py
|
149 |
```
|
150 |
+
|
151 |
+
### Possible fix
|
152 |
+
|
153 |
+
Since the original source of this bugfix is the conflicts between the requirements:
|
154 |
+
```
|
155 |
+
ERROR: Cannot install -r /mount/src/dashboards/requirements.txt (line 1), -r /mount/src/dashboards/requirements.txt (line 10) and -r /mount/src/dashboards/requirements.txt (line 3) because these package versions have conflicting dependencies.
|
156 |
+
|
157 |
+
The conflict is caused by:
|
158 |
+
streamlit 1.23.1 depends on protobuf<5 and >=3.20
|
159 |
+
wandb 0.15.3 depends on protobuf!=4.21.0, <5 and >=3.15.0; python_version == "3.9" and sys_platform == "linux"
|
160 |
+
bittensor 5.3.3 depends on protobuf==3.19.5
|
161 |
+
To fix this you could try to:
|
162 |
+
1. loosen the range of package versions you've specified
|
163 |
+
2. remove package versions to allow pip attempt to solve the dependency conflict
|
164 |
+
|
165 |
+
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
|
166 |
+
```
|
167 |
+
|
168 |
+
We can fix this by aligning the requirements so that everyone has a common range of protobuf package versions to work with...
|