diff --git a/README.md b/README.md index 5b14e87..29b7b75 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,24 @@ Photo De-Duplication ``` cd dedup python -m venv C:\Users\$env:USERNAME\Common\env_dedup + +& C:\Users\$env:USERNAME\Common\env_dedup\Scripts\Activate.ps1 +``` +If you get an error like: "running scripts is disabled on this system" +It means your PowerShell execution policy is too restrictive. You can temporarily allow scripts by running: +``` +Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass +``` +Check to see if C:\Users\$env:USERNAME\Common\env_dedup\Scripts OR bin folder exists in Windows... +``` +If that does not work, then TRY: +& C:\Users\$env:USERNAME\Common\env_dedup\bin\Activate.ps1 + pip install xxhash opencv-python ``` ## Usage Windows: ``` -C:\Users\$env:USERNAME\Common\env_dedup\Scripts\Activate.ps1 -If that does not work, then TRY: -C:\Users\$env:USERNAME\Common\env_dedup\bin\Activate.ps1 python dedup.py 0.jpg 1.jpg ``` @@ -45,4 +55,4 @@ python dedup.py 0.jpg 1.jpg ./get_dups.sh $HOME/Pictures ``` -[Image of ScreenShot](Screenshot2025-04-26.png) +[![Image of ScreenShot](Screenshot2025-04-26.png)]