#Import python packages

1 messages · Page 1 of 1 (latest)

proven nova
#

Hi, First post here so hopefully it goes well.

#

.. ok just learned to NOT hit new line... I'm using exec within node-red to run some python. The python wont run in home-assistant terminal because it is missing some of the required packages... I've trawled the web without luck trying to figure out how to import packages. I am using hassio on a raspberry pi. cheers

wind dove
#

I'm not sure how Node-Red and the terminal are related

#

they're completely separate containers

proven nova
#

Hi Rob, I see, pure noob here and had hoped to run python using exec... python will run, but as soon as my code gets more complicated and requires additional packages i run into a problem.. I thought running in terminal may be a reasonable test ...

wind dove
#

not really, anything you want to do in Node Red won't have any bearing on what you can do from the terminal

proven nova
#

ok - that makes sense if I understand "container" correctly. will keep trying. thanks for replying 🙂

wind dove