Update install-librephotos.sh#66
Conversation
|
1.) usermod requires -G parameter |
|
Even with 20.04 which it says it works, |
| curl -SL https://github.com/LibrePhotos/librephotos-docker/releases/download/0.1/clip-embeddings.tar.gz | tar -zxC $BASE_DATA/data_models/ | ||
| mkdir -p ~/.cache/torch/hub/checkpoints/ | ||
| # Make sure pip can do it's work | ||
| rm /usr/lib/python3.11/EXTERNALLY-MANAGED |
There was a problem hiding this comment.
I also had the issue detailed in #62 - At least for me, this fix alone didn't work. I needed to remove the EXTERNALLY-MANAGED file PRIOR to running the install.
There was a problem hiding this comment.
I understand."EXTERNALLY-MANAGED" does not exist for me and "rm -f /usr/lib/python3.11/EXTERNALLY-MANAGED" avoids the shell script to abort.
There was a problem hiding this comment.
Don't think that's needed. To install packages for python 3.11 we are using --break-system-packages pip flag. See backend/Dockerfile.
No description provided.