Page 1 of 1

ImportError: No module named site

Posted: 09 Mar 2021, 21:45
by deejc
hello,
i am running Linuxserver.io headphones docker container in TNAS F2-210, each time i delete and recreate the container it works fine, if the container restarts then it fails to start correctly with this error :

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site

any ides why it may be Ok on first creation then not working after that ?

thanks a lot

i have since installed python 3 and am now using docker-compose so i'll see if its any better

Re: ImportError: No module named site

Posted: 23 Mar 2021, 21:39
by deejc
I swapped 210 for a 220 and it’s doesn’t seem to happen any more