ImportError: No module named site

Discussion about Docker
Locked
User avatar
deejc
Posts: 111
Joined: 09 Mar 2021, 03:35

ImportError: No module named site

Post 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
F2-220 WITH 2 x WD RED 2TB RUNNING 4.2.17
User avatar
deejc
Posts: 111
Joined: 09 Mar 2021, 03:35

Re: ImportError: No module named site

Post by deejc »

I swapped 210 for a 220 and it’s doesn’t seem to happen any more
F2-220 WITH 2 x WD RED 2TB RUNNING 4.2.17
Locked