Skip to content
BEGINNER

Setting Up a Development Environment⚓︎

This page lists the dependencies required to run the tutorials in this documentation and explains how to run them.

All tutorials use the Symbol SDK, which supports both the NEM and Symbol networks. It is the recommended library for building NEM applications, so the steps below apply to every tutorial.

Select the language you prefer:

PrerequisitesPython 3.10 or later
Installation Install the Symbol SDK version 3.3.1 with:
pip install symbol-sdk-python --upgrade
Running the Sample Code Download a sample and run it with:
python hello-world.py

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:

sudo apt install python3-dev build-essential

Then run the Symbol SDK installation again.

PrerequisitesAny actively supported version of Node.js
Installation Create a project folder and install the Symbol SDK version 3.3.1 as a dependency:
mkdir nem-dev && cd nem-dev
npm init -y
npm install symbol-sdk
Running the Sample Code Download a sample and run it with:
node hello-world.mjs

Next Steps⚓︎