Could Not Find a Version That Satisfies the Requirement in Python

Could not find a version that satisfies the requirement <package>

This approach (having all dependencies in a directory and not downloading from an index) only works when the directory contains all packages. The directory should therefore contain all dependencies but also all packages that those dependencies depend on (e.g., six, pytz etc).

You should therefore manually include these in requirements.txt (so that the first step downloads them explicitly) or you should install all packages using PyPI and then pip freeze > requirements.txt to store the list of all packages needed.

Pip could not find a version that satisfies the requirement

From PyPI, jurigged is only supported as of Python >= 3.8 (see also here)

pip doesn't find anything to install because you do not meet the requirements.

Upgrade to Python >= 3.8 and do the same: pip install jurigged

Could not find a version that satisfies the requirement evaluate

Look at the left side-bar on PyPi package page for evaluate. Near the bottom is the "Programming Language" section. It lists availability for Python version 3.7 to 3.10.

You will need to create a new environment with one of those versions of Python.

Could not find a version that satisfies the requirement html-form-to-dict (from versions: none)

The better solution is to build a universal wheel, so that py2 users can also install from .whl and not fallback to .tar.gz release.

To do that, add into your setup call:

# in setup.py
from setuptools import setup

setup(
...
options={"bdist_wheel": {"universal": True}},
)

Now your wheel file will be named like html_form_to_dict-2022.3.1-py2.py3-none-any.whl, and it will be available to Python 2.7 users also. You can still upload the sdist (.tar.gz) alongside, if you want.

ERROR: No matching distribution found and ERROR: Could not find a version that satisfies the requirement

The chosen package called Deep-Object-Removal seems to be very outdated (last commit 4years ago) and not maintained any longer, i would suggest to search for any currently supported alternative.

If you try to install this version of opencv_python in a clean python venv (with python3.10) you get an error:

pip install opencv_python==3.3.0.10
ERROR: Could not find a version that satisfies the requirement opencv_python==3.3.0.10 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66)
ERROR: No matching distribution found for opencv_python==3.3.0.10

If you have a look at the files at pypi for this version of opencv_python you notice that this version of the pkg. has been yanked.

Additional there is no pkg. for python3.10, the last support whl file seems to be for python3.6.

You can try to adapt the requirements.txt with a newer one of opencv_python or install python3.6 and download the specific version by hand and install the whl file,( but this may lead to new errors).
But again i would recommend to use another, currently supported package instead of Deep-Object-Removal.



Related Topics



Leave a reply



Submit