lithoss Posted August 3, 2019 Share Posted August 3, 2019 (edited) I've installed python 3 using the nerd pack plugin and python itself seems to be working correctly. I've also installed pip and a few packages using info from the thread linked below. Those also seem to work fine. However when the unraid system is rebooted it loses all the installed packages and pip itself as well. Using any pip command results in not found. I have a feeling there's an easy solution but I'm still learning the ropes of unraid and can't seem to find it. Thanks for any help. Edited August 3, 2019 by lithoss Quote Link to comment
trurl Posted August 3, 2019 Share Posted August 3, 2019 The Unraid OS is in RAM. Plugins are reinstalled at boot but anything you want to install from the command line will have to be scripted to run at boot with the User Scripts plugin. 1 Quote Link to comment
lithoss Posted August 3, 2019 Author Share Posted August 3, 2019 That makes sense. Thanks Quote Link to comment
primeval_god Posted August 3, 2019 Share Posted August 3, 2019 What are you using python for and does it need low level access to the unRAID? Depending on what you are doing it might be easier to setup your python environment in a docker container. Quote Link to comment
trurl Posted August 3, 2019 Share Posted August 3, 2019 51 minutes ago, primeval_god said: What are you using python for and does it need low level access to the unRAID? Depending on what you are doing it might be easier to setup your python environment in a docker container. Or even a VM. Docker or VM would persist across reboots, and would also be arguably safer since these would be isolated. Quote Link to comment
lithoss Posted August 3, 2019 Author Share Posted August 3, 2019 (edited) I have a few python scripts monitoring some household sensors and a couple slack bots. It's all http post and simple sqlite database stuff. Vm's seem overkill but I agree might be a better solution. Still trying to figure out how to properly dockerize them to see if I like that method better. Experimenting mostly 😁 Edited August 3, 2019 by lithoss Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.