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?
pip install <path-to-tar-gz> should work. If it does not, your tar. gz is probably packaged incorrectly, and you should either contact package maintainers, or (if you are the maintainer), look for help by posting here how it went wrong for you.
A “pip: command not found” error occurs when you fail to properly install the package installer for Python (pip) needed to run Python on your computer. To fix it, you will either need to re-install Python and check the box to add Python to your PATH or install pip on your command line.
Overview. pip download does the same resolution and downloading as pip install , but instead of installing the dependencies, it collects the downloaded distributions into the directory provided (defaulting to the current directory).
The correct syntax for the installation is:
pip install --user ./Downloads/PyGUI-2.5.4.tar.gz
The --user
is used to give the necessary permissions to install the package. Always check for the correct path and Upper and Lower case in your path(Your path was to 'downloads' with small 'd' ).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With