We have a dotnet application which calls a simple python hello word program inside it :
The snapcraft.yaml is as below
name: processorsnap
version: '0.1'
summary: A simple example snap for dotnet in snaps
description: A simple example snap for dotnet in snaps
grade: devel
confinement: strict
base: core
apps:
processorsnap:
command: IoT_AnalyticsProcessor.Service
daemon: simple
plugs:
- network-bind
- network
parts:
processorsnap:
source: .
plugin: dump
stage-packages:
- libasn1-8-heimdal
- libcurl3
- libgssapi3-heimdal
- libhcrypto4-heimdal
- libheimbase1-heimdal
- libheimntlm0-heimdal
- libhx509-5-heimdal
- libkrb5-26-heimdal
- libldap-2.4-2
- liblttng-ust0
- libroken18-heimdal
- librtmp1
- libsasl2-2
- libunwind8
- liburcu4
- libwind0-heimdal
- icu-devtools
- wget
- zlib1g
- python
but when i snap it and run it i get the below error :
the actual output when i run normally without snapping is as below :
Am i missing something related to python here like plugin or stage or build packages ?