Setup your Python environment

To be able to run Wasmer inside our Python application, we will need Python to be installed in our system.

The easiest way to get Pythonarrow-up-right in your system is to follow the official documentationarrow-up-right.

To ensure it is installed, let's run the following:

python --version # This will show the Python version
circle-check

Start a Python project

Now it's time to create a new project and add Wasmer as a dependency:

mkdir wasmer-project
cd wasmer-project
pip install wasmer
pip install wasmer_compiler_cranelift
circle-info

For a detailed installation instructions, please refer to Wasmer Python integration documentationarrow-up-right.

Next, let's take a look at some examples!

Exampleschevron-right

Last updated