I am trying to activate overgrive
, a python 2.7 based connection app to Google Drive in Linux Mint 19, and it fails with a series errors, some of which I corrected but one error which seems to occur fairly often, I can't.
The developer of overgrive advised me to apply the following: sudo -H pip install --upgrade google-api-python-client
and the error it constantly generates is Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-oMAgsk/httplib2/
. Since error code 1 indicates an ownership issue, I took ownership of the /tmp folder but it didn't make a difference.
This app worked as installed and without pip in earlier versions of Linux Mint.
Can you run pip -V
successfully?
While you're there, can you check which pip
, which python
, and python -V
? I have a sneaking suspicion that there might be a mismatch between python2 and 3 somewhere.
httplib2
is a builtin package, and there's no reason pip would be doing anything with it other than possibly using it to download something. setup.py
is part of distutils, and could be pip trying to install itself.
Thanks for your reply, unfortunately between the time I posted and now, the motherboard of my Linux box developed a bad flu and had to return it to the manufacturer for replacement.
Will get back to you probably in a week. Thank again.
nilamo, thanks for opening my eyes and here is the requested information:
pip -V
pip 10.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
which pip
/usr/local/bin/pip
python -V
Python 2.7.12
which python
/usr/bin/python
From the overgrive GUI menu entry, I pasted into the terminal
python2 /opt/thefanclub/overgrive/overgrive
to see if here are any errors and I got the following error message:
Output:
Traceback (most recent call last):
File "overgrive.py", line 53, in <module>
ImportError: No module named oauth2client.client
So I searched the web for a solution to this error and came up with:
pip install --upgrade oauth2client
Which generated the following output:
Output:
Collecting oauth2client
Downloading https://files.pythonhosted.org/packages/82/d8/3eab58811282ac7271a081ba5c0d4b875ce786ca68ce43e2a62ade32e9a8/oauth2client-4.1.2-py2.py3-none-any.whl (99kB)
100% |████████████████████████████████| 102kB 2.4MB/s
Requirement not upgraded as not directly required: pyasn1>=0.1.7 in /usr/local/lib/python2.7/dist-packages (from oauth2client) (0.4.3)
Requirement not upgraded as not directly required: pyasn1-modules>=0.0.5 in /usr/local/lib/python2.7/dist-packages (from oauth2client) (0.2.2)
Requirement not upgraded as not directly required: six>=1.6.1 in /usr/local/lib/python2.7/dist-packages (from oauth2client) (1.11.0)
Requirement not upgraded as not directly required: httplib2>=0.9.1 in /usr/local/lib/python2.7/dist-packages (from oauth2client) (0.11.3)
Requirement not upgraded as not directly required: rsa>=3.1.4 in /usr/local/lib/python2.7/dist-packages (from oauth2client) (3.4.2)
Installing collected packages: oauth2client
Successfully installed oauth2client-4.1.2
I tried it again and lo and behold it started to work. Thanks again