& before the path allows PowerShell to run a Script...

main
Robert 8 months ago
parent 3472407cb3
commit 9c2f76b5d0
  1. 18
      README.md

@ -6,14 +6,24 @@ Photo De-Duplication
``` ```
cd dedup cd dedup
python -m venv C:\Users\$env:USERNAME\Common\env_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 pip install xxhash opencv-python
``` ```
## Usage Windows: ## 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 python dedup.py 0.jpg 1.jpg
``` ```
@ -45,4 +55,4 @@ python dedup.py 0.jpg 1.jpg
./get_dups.sh $HOME/Pictures ./get_dups.sh $HOME/Pictures
``` ```
[Image of ScreenShot](Screenshot2025-04-26.png) [![Image of ScreenShot](Screenshot2025-04-26.png)]

Loading…
Cancel
Save