unikraft / app-duktape

kraft-ready repo for building JavaScript/duktape applications with Unikraft
2 stars 4 forks source link

"ImportError: No module named yaml" #8

Open justin9939 opened 1 year ago

justin9939 commented 1 year ago

When running make, the following error will appear: Traceback (most recent call last): File "tools/configure.py", line 29, in <module> import yaml ImportError: No module named yaml

This is likely because duktape uses Python 2, which is largely obsolete. The version of yaml in configure.py is for Python 3. The Makefiles used were from my pull request here: https://github.com/unikraft/app-duktape/pull/7

razvand commented 1 year ago

5 HP