You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some example scripts (notably those related to Ethereum / EVM functionality) require **optional dependencies** that are not installed by default.
30
+
31
+
If you encounter import errors related to Ethereum libraries, install the ETH extra before running those examples.
32
+
33
+
#### Using uv (recommended)
34
+
35
+
```bash
36
+
uv sync --dev --extra eth
37
+
```
38
+
39
+
#### Using pip
40
+
41
+
```bash
42
+
pip install -e ".[eth]"
43
+
```
44
+
27
45
You'll need your environment variables and uv set up as outlined in /README.md [README](https://github.com/hiero-ledger/hiero-sdk-python/blob/main/README.md)
Copy file name to clipboardExpand all lines: docs/sdk_developers/setup.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,35 @@ pip install -e .
144
144
145
145
**Note:** This method requires you to have Python 3.10+ already installed on your system. Changes to your local code will be immediately reflected when you import the SDK.
146
146
147
+
## Installing Optional Dependencies
148
+
Some SDK features (such as Ethereum-related functionality) rely on optional dependencies that are not installed by default.
149
+
150
+
These optional dependencies are required for:
151
+
- Integration tests covering ETH-specific features
152
+
- Running ETH-related example scripts
153
+
154
+
Optional dependencies are provided via **extras**.
155
+
156
+
#### Using pip
157
+
To install the SDK for local development with Ethereum support enabled:
158
+
```bash
159
+
pip install -e ".[eth]"
160
+
```
161
+
162
+
#### Using uv (recommended)
163
+
For most contributors, start with the standard development environment:
164
+
```bash
165
+
uv sync
166
+
```
167
+
If you are working on ETH functionality, running ETH-related tests, or executing ETH examples, install the ETH extra explicitly:
168
+
```bash
169
+
uv sync --dev --extra eth
170
+
```
171
+
172
+
Optional: To install all available extras (useful full-matrix testing):
0 commit comments