pip can't find distribution of PyGTK after python update

469 views Asked by At

I've installed python 2.7.10 from tar.xz, which was downloaded from official site. Then I've linked /usr/local/bin/python2.7 with /usr/bin/python2.7 and /usr/bin/python. Also I've reinstall pip sudo apt-get install python-pip --reinstall.

Now, when I try to install PyGTK via pip sudo pip install PyGTK, I get:

The directory '/home/s-quark/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/s-quark/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting PyGTK
  Could not find a version that satisfies the requirement PyGTK (from versions: )
  Some externally hosted files were ignored as access to them may be unreliable (use --allow-external PyGTK to allow).
No matching distribution found for PyGTK
0

There are 0 answers