File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ RUN unsquashfs -d /snap/snapcraft/current snapcraft.snap
41
41
# Fix Python3 installation: Make sure we use the interpreter from
42
42
# the snapcraft snap:
43
43
RUN unlink /snap/snapcraft/current/usr/bin/python3
44
- RUN ln -s /snap/snapcraft/current/usr/bin/python3.* /snap/snapcraft/current/usr/bin/python3
44
+ RUN ls -la /snap/snapcraft/current/usr/bin/python3*
45
+ RUN cd /snap/snapcraft/current/usr/bin && ln -s $(ls python3.* | head -1) python3
45
46
RUN mkdir -p /snap/snapcraft/current/usr/lib/python3/dist-packages
46
47
RUN echo /snap/snapcraft/current/lib/python3.*/site-packages >> /snap/snapcraft/current/usr/lib/python3/dist-packages/site-packages.pth
47
48
RUN /snap/snapcraft/current/usr/bin/python3 /snap/snapcraft/current/usr/bin/pip3 install -U setuptools
You can’t perform that action at this time.
0 commit comments