Installing downloaded tar.gz files with pip [duplicate]
问题 This question already has answers here : How to install Python packages from the tar.gz file without using pip install (7 answers) Closed 1 year ago . 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? 回答1: You can install tar.gz with pip Install a particular