When I download PyGUI-2.5.4.tar.gz
from http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ and then run
pip install downloads/PyGUI-2.5.4.tar.gz
I get a long error, the root of which appears to be the following:
tarfile.ReadError: not a gzip file
Any ideas what I'm doing wrong?
You can install tar.gz with pip Install a particular source archive file.
You can also install it with extracting tar.gz file. First you should extract it using using tar command.
And then use the setup.py file to install the package .
or
( use sudo only in linux )
Source: https://pip.readthedocs.io/en/stable/reference/pip_install/#git