I have been implementing serverless functions (python) and would like to implement multiple packages under one app. Each of these functions require access to a separate toolset (
toolset.py) which I’ve placed in the lib folder. Since the toolset requires additional python libraries (psycopg2), I’ve created a requirements.txt file within the lib folder and an associated
I have followed the same
build.sh structure in the tutorials but on compilation, I receive the following error:
╭──────────── project build ───────────╼ │ Started running ./build.sh in /.app_platform_workspace/lib │ ./build.sh: line 5: virtualenv: command not found │ │ › Error: './build.sh' exited with code 127
The code is hosted on Github and remote builds are triggered on repo updates.
What is the correct structure for the
build.sh file in the lib folder?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.