/usr/bin/env: ‘python’: No such file or directory ---- When I run the snap based on python , It prompts such error. How could I do then?
------------------------------------------------------------------------------------snapcraft.yaml file contnet : below ------
luhx@ubuntu:~/Projects/snap/duplicity/snap$ more snapcraft.yaml
name: aliyunduplicity
version: ‘1.0.0’
summary: aliyun oss duplicity supports full/incremental backup.
description: |
This is duplicity with Aliyun interface.
grade: devel
confinement: devmode
apps:
aliyunduplicity:
command: bin/aliyunduplicity
parts:
aliyunduplicity:
plugin: dump
source: /home/luhx/Downloads/duplicitysource
#organize:
#bin/aliyunduplicity: bin/aliyunduplicity.py
luhx@ubuntu:~/Projects/snap/duplicity/snap$
------------------------------------------------------------ snapcraft.yaml file content above --------
uhx@ubuntu:~/Projects/snap/duplicity/snap$
luhx@ubuntu:~/Projects/snap/duplicity/snap$ sudo snap install aliyunduplicity_1.0.0_amd64.snap --dangerous --devmode
aliyunduplicity 1.0.0 installed
luhx@ubuntu:~/Projects/snap/duplicity/snap$
luhx@ubuntu:~/Projects/snap/duplicity/snap$ aliyunduplicity
/usr/bin/env: ‘python’: No such file or directory
luhx@ubuntu:~/Projects/snap/duplicity/snap$