packaging-problems
packaging-problems copied to clipboard
When installing the Flask package, the build dependency check says that flit_core < 4 cannot be found. Please help me how to fix it.
OS version
Windows 10
Python version
latest version.
Pip version
24.0
Guide link
No response
Problem description
in local pc, I ran a command 'pip install flask-3.0.2.targz'. I am trying to download the package and install it locally.
Error message
No response
A .tar.gz is a source distribution. To install that, pip needs to build it first, and to build it, it needs a build backend, so it goes downloading the build backend (Flit) on PyPI, which is not possible if the machine doesn't have network access. Try the wheel (.whl) file instead. However, Flask has a number of dependencies that you will need too.