[Tutor] ERROR when attempting installation

Mats Wichmann mats at wichmann.us
Sat May 1 12:20:17 EDT 2021


On 5/1/21 10:10 AM, Sofia Eisenbeiser wrote:
> Hello!
> 
> I'm new to Python and need to install a (very cool) program called
> DeepLabCut.
> 
> Using Windows PowerShell to try to install the program but  when I run *pip
> install deeplabcut==2.1.10.4* I am receiving:* ERROR: Could not find a
> version that satisfies the requirement opencv-python-headless~=3.4.9.33
> (from deeplabcut) (from versions: 3.4.10.37, 3.4.11.39, 3.4.11.41,
> 3.4.11.43, 3.4.11.45, 3.4.13.47, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44,
> 4.4.0.46, 4.5.1.48)*
> *ERROR: No matching distribution found for opencv-python-headless~=3.4.9.33*
> 
> I've been searching online but can't figure out how to fix it. I have
> Python 3.9 installed & am using an updated version of pip.

You ended up with everything too modern :)

You need to get in contact with the project you're trying to install, 
and find out what their status is.  It's listing required versions of 
its dependencies.  If you go search on pypi.org, you'll see that the one 
it's complaining about has moved *way* beyond the pinned version:

https://pypi.org/project/opencv-python-headless/#files

and apparently the version that old is no longer available.  Only the 
DeepLabCut folks can know how to proceed...




More information about the Tutor mailing list