I want to use python file.How do I modify mainfest file?

32 views
Skip to first unread message

wmcdyx2021

unread,
Apr 28, 2022, 6:55:44 AM4/28/22
to us...@gramineproject.io

I want to run python code .I use the hellowworld template.I add some codes in helloworld.py,like:

#! /usr/bin/env python3
import unittest
from pypbc import *

.........
.........

But,there are some errors when I do follows:
root@18:~/graphene/Examples/python# make
gramine-manifest
-Dlog_level=error
-Darch_libdir=/lib/x86_64-linux-gnu
-Dentrypoint=/usr/bin/python3.6
python.manifest.template >python.manifest

root@18:~/graphene/Examples/python# graphene-direct ./python scripts/helloworld.py
error: Using insecure argv source. Graphene will continue application execution, but this configuration must not be used in production!
Hello World
Traceback (most recent call last):
File "scripts/helloworld.py", line 17, in
from pypbc import *
ImportError: libpbc.so.1: cannot open shared object file: No such file or directory

What should I add in python.manifest?
Could you help me?
Thank you very much!



 

Reply all
Reply to author
Forward
0 new messages