pypa / packaging-problems

An issue tracker for the problems in packaging
152 stars 35 forks source link

Could not find a version that satisfies the requirement flit_core<4,>=3.8 #665

Open AndyT2859 opened 1 year ago

AndyT2859 commented 1 year ago

Problem description

I get a read timeout error when i try to install packages from pypi.org so i tried to manually download and install the package for wheel and I am getting the error "Could not find a version that satisfies the requirement flit_core<4,>=3.8" I have installed flit-core 3.8 because it is the latest version but wheel won't install and I am guessing it is looking for flit-core 4 and I couldn't find anything later than 3.8.

merwok commented 1 year ago

"Could not find a version that satisfies the requirement flit_core<4,>=3.8"

I have installed flit-core 3.8 because it is the latest version but wheel won't install and I am guessing it is looking

What is it? pip?

I am guessing it is looking for flit-core 4 and I couldn't find anything later than 3.8.

Your guess does not match the error message that’s talking about flit_core older than 4, not 4.

Can you give basic information about your operating system, python version, install command ?

mgouzenf commented 1 year ago

I have the same problem, while running this (the package resides in local folder): .\python.exe -m pip install -e wheel-0.41.1\

The same method works fine with flit_core: .\python.exe -m pip install -e flit_core-3.9.0\

Windows 11 22H2 (OS Build 22621.1848) Python 3.8.0

Any ideas?

mgouzenf commented 1 year ago

This one eventually worked: .\python -m pip install wheel-0.41.1.tar.gz -f flit_core-3.9.0.tar.gz --no-index --no-deps

ajk0822 commented 8 months ago

When installing the Flask package, the build dependency check says that flit_core<4 cannot be found. Please help me how to fix it.