mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 01:34:38 +01:00
Don't use python packages from the user's home directory
PYTHONNOUSERSITE is required to ignore packages installed to `/home/user/.local/`. Since these folders are outside of our control, they can cause conflicts in ED's python env. https://discord.com/channels/1014774730907209781/1100375010650103808 Fixes #1193
This commit is contained in:
parent
92d8dfe963
commit
9399fb5371
@ -4,6 +4,8 @@ source ./scripts/functions.sh
|
|||||||
|
|
||||||
printf "\n\nEasy Diffusion\n\n"
|
printf "\n\nEasy Diffusion\n\n"
|
||||||
|
|
||||||
|
export PYTHONNOUSERSITE=y
|
||||||
|
|
||||||
if [ -f "scripts/config.sh" ]; then
|
if [ -f "scripts/config.sh" ]; then
|
||||||
source scripts/config.sh
|
source scripts/config.sh
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user