Closed fraser-mendeco closed 2 years ago
Can you please tell me more about how you are running Radarr? It looks like the linuxserver.io version. Curious find since python3 (since version 3.4) includes PIP meaning it should not fail at installing dependencies. Where did you find the py3-pip reference?
It is the Linux server.io version.
The py3-pip reference I found here (https://techoverflow.net/2021/03/07/how-to-install-python3-pip-pip3-in-alpine-linux/).
Using py3-pip seems to get me past the pip installation issue but then fails again at another point. See below:
today at 11:13:55 PM building 'Cryptodome.Hash._MD2' extension
today at 11:13:55 PM creating build/temp.linux-x86_64-3.9
today at 11:13:55 PM creating build/temp.linux-x86_64-3.9/src
today at 11:13:55 PM gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=64 -DLTC_NO_ASM -Isrc/ -I/usr/include/python3.9 -c src/MD2.c -o build/temp.linux-x86_64-3.9/src/MD2.o
today at 11:13:55 PM error: command 'gcc' failed: No such file or directory
today at 11:13:55 PM ----------------------------------------
today at 11:13:55 PMERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m5uej3mv/pycryptodomex_78c437ca54a64a77bb857c326367cc5c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m5uej3mv/pycryptodomex_78c437ca54a64a77bb857c326367cc5c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-gcvlzst3/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/pycryptodomex Check the logs for full command output.
today at 11:13:55 PM[custom-init] Install_TrailerTech.sh: exited 1
do those errors happen as a result of installing py3-pip
? (not enough log to see what part failed) I am assuming however that this is a result of installing FFmpeg.
do those errors happen as a result of installing
py3-pip
? (not enough log to see what part failed) I am assuming however that this is a result of installing FFmpeg.
Yes
very interesting indeed. Apparently there were some changes in how linuxserver packages up Radarr. I will have to do some reading on this because pip really should be a part of python3.4+ which to my knowledge 3.8 is used in Radarr. Obviously pip is not in your installation of python or it wouldn't fail to install the dependencies.
Any help, or other incite you have on the subject will help because for some reason I can not reproduce on my side.
Check out line 27 in the install script. I have added some build tools to facilitate the requirements for yt-dlp along with your suggestion for py3-pip
. Please test and report back with your results.
I think with those changes TrailerTech now installs.
today at 7:24:50 AM[custom-init] Install_TrailerTech.sh: executing...
today at 7:24:51 AM********** INSTALLING git **********
today at 7:24:51 AM********** INSTALLING python3 **********
today at 7:24:53 AM********** INSTALLING build-base **********
today at 7:24:58 AM********** INSTALLING python3-dev **********
today at 7:25:00 AM********** INSTALLING py3-pip **********
today at 7:25:01 AM********** INSTALLING ffmpeg **********
today at 7:25:03 AM*********** Adding script parent directory to safe directories in git ************
today at 7:25:03 AM********** UPDATING TrailerTech **********
today at 7:25:04 AM********** Setting Permissions for TrailerTechnician **********
today at 7:25:04 AM********** Installing TrailerTech Dependencies **********
today at 7:26:00 AM[custom-init] Install_TrailerTech.sh: exited 0
Thank for your help and responsiveness in getting these issues fixed :)
Updating fails on start up of Radarr. Seems like pip should now be installed with
py3-pip
rather thanpython3-pip