当我PyGUI-2.5.4.tar.gz
从http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/下载并运行
pip install downloads/PyGUI-2.5.4.tar.gz
我收到一个长错误,其根源似乎是以下内容:
tarfile.ReadError: not a gzip file
有什么想法我做错了吗?
您可以使用pip安装tar.gz。安装特定的源归档文件。
pip install ./Package-1.0.4.tar.gz
您也可以通过解压缩tar.gz文件进行安装。首先,您应该使用tar命令将其提取。
tar -xzvf PyGUI-2.5.4.tar.gz
cd PyGUI-2.5.4.tar.gz
然后使用setup.py文件安装软件包。
python setup.py install
要么
sudo python setup.py install
(仅在linux中使用sudo)
来源:https : //pip.readthedocs.io/en/stable/reference/pip_install/#git
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句