classic confinement requires manually setting PATH and PYTHONPATH
Bug #1670749 reported by
Corey Bryant
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
I have to manually set PATH and PYTHONPATH to include $SNAP/bin/ and $SNAP/lib/
environment:
PATH: $PATH:$SNAP/bin/
PYTHONPATH: $PYTHONPATH:
Note: This is when using the python plugin, so perhaps it's limited to that.
summary: |
- PATH/PYTHONPATH incomplete in classic confinement + classic confinement requires manually setting PATH and PYTHONPATH |
description: | updated |
description: | updated |
tags: | added: openstack |
summary: |
- classic confinement requires manually setting PATH and PYTHONPATH + opclassic confinement requires manually setting PATH and PYTHONPATH |
summary: |
- opclassic confinement requires manually setting PATH and PYTHONPATH + classic confinement requires manually setting PATH and PYTHONPATH |
no longer affects: | snappy |
information type: | Public → Public Security |
To post a comment you must log in.
Oh, this might be my problem with switching ubuntu-image to classic confinement. It's a Python 3 application, but suffers what looks like to be exactly this problem (my post to the snapcraft list is probably being held for moderator approval).
I'll test this workaround.