hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
34.59k stars 4.88k forks source link

An error occurred while downloading on Apple Computer (m1) pip3 pip3 version pip-24.2, What should I do #151

Open hardwin1014 opened 1 month ago

hardwin1014 commented 1 month ago
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
TianzeWang commented 1 month ago

I think you can try create a new conda env / virtualenv, and do all the installation. It should work

jdyer09 commented 1 month ago

@hardwin1014 If you just unpin numpy in the requirement file, it might work. Mine at least installed, and I wound up with numpy==1.26.4

AquiGorka commented 1 month ago

Try updating requirements.txt: numpy==1.23.5 -> numpy>=1.23.5,<1.27, this worked for me.

hardwin1014 commented 4 weeks ago

@hardwin1014 If you just unpin numpy in the requirement file, it might work. Mine at least installed, and I wound up with numpy==1.26.4

After using your method, I encountered a new problem image

hardwin1014 commented 4 weeks ago

Try updating requirements.txt: numpy==1.23.5 -> numpy>=1.23.5,<1.27, this worked for me.

No matching distribution was found for opencv-python==4.8.1.78 image

AquiGorka commented 4 weeks ago

Are you sure you are using python 3.10.x?

hardwin1014 commented 3 weeks ago

Are you sure you are using python 3.10.x?

I use Python 3.11.9