What is the difference between directly downloading flask-3.0.3.tar.gz
or
flask-3.0.3-py3-none-any.whl
from https://pypi.org/ and run the command pip install flask
?
I tried to download some libraries but I don't undestand if it does not matter the way I download these libraries.
If you have internet connectivity then the simplest option is to use pip install flask
.whl files are Build files. If you want to perform an offline installation then copy the wheel file and install it using that.
pip install filename.whl
.tar.gz contains the source code, examples, docs for the library.
unzip the files and change to that directory
python setup.py install
.tar.gz option is used where .whl binary files are not allowed.