Setting Up a Development Environment⚓︎
This page lists the dependencies required to run the tutorials in this documentation and explains how to run them.
Select the language you prefer:
| Prerequisites | Python 3.10 or later |
| Installation | Install the Symbol SDK version 3.3.1 with: |
| Running the Sample Code | Download a sample and run it with: |
Troubleshooting
On some systems, installing the SDK may require additional system packages, because some Python dependencies are built from source.
If installation fails with errors related to missing headers, libraries, or compiler tools, install the required development packages for your system and run the installation again.
Common symptoms include errors mentioning gcc or pysha3.
On Ubuntu and Debian, it is typically enough to install:
Then run the Symbol SDK installation again.
| Prerequisites | Any actively supported version of Node.js |
| Installation | Create a project folder and install the Symbol SDK version 3.3.1 as a dependency: |
| Running the Sample Code | Download a sample and run it with: |
| Prerequisites | JBang
The tutorials use JBang to simplify Java version and dependency management, but it is not a requirement for applications. |
| Installation |
The Java snippets use JBang comments to select a compatible Java version and load the Symbol SDK directly from Maven Central:
When you run a snippet, JBang downloads the Symbol SDK and its dependencies into its local cache.
No |
| Running the Sample Code | Download a sample and run it with: |
Alternate SDK installation
If you are building a Java application instead of running standalone snippets, add the Symbol SDK to your project with your build tool.
Use Java 21 or later.
Troubleshooting
-
If the
jbangcommand is not found after installation, restart your terminal and try again. -
Java snippets declare
//JAVA 21+, so JBang will use a compatible JDK when available.If JBang cannot find or download one, install a Java 21 or later JDK and run the snippet again.
-
If the Symbol SDK dependency cannot be resolved, check your network connection, clear JBang's cache, and run the snippet again:
Next Steps⚓︎
- Proceed to Creating a Hello World Application