Install python package on node red in synology docker

I run /nodered/node-red/ in docker on a Synology NAS.
I can run the command 'python3 --version' using the 'exec' node that returns 'python 3.8.10'.
When I try to run a python3 script with the command 'python3 <path to the .py file> all is fine until it encounters the statement 'import requests' which causes the error: "ModuleNotFoundError: No module named 'requests'".
In an attempt to install this module using the bash (5.0) terminal I get the message that the 'apt' or 'sudo' command is unknown. How can I install this module to solve my problem?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.