# Install python package on node red in synology docker

**URL:** https://discourse.nodered.org/t/install-python-package-on-node-red-in-synology-docker/47549
**Category:** General
**Created:** [23 June 2021 20:24 UTC](https://discourse.nodered.org/t/install-python-package-on-node-red-in-synology-docker/47549 "2021-06-23T20:24:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deejay](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@deejay](https://discourse.nodered.org/u/deejay)
#### Post date: [23 June 2021 20:24 UTC](https://discourse.nodered.org/t/install-python-package-on-node-red-in-synology-docker/47549/1 "2021-06-23T20:24:56Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [22 August 2021 20:25 UTC](https://discourse.nodered.org/t/install-python-package-on-node-red-in-synology-docker/47549/2 "2021-08-22T20:25:32Z")

</div>

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