Closed elisseee closed 7 years ago
If you've got pip installed you could do pip install httplib2 --upgrade
Thank you, that worked.
After installation it asked me about apiclient and discovery packages that I have installed also but still have an issue with this:
sudo python /home/pi/kivy/RPi-InfoScreen-Kivy/screens/agenda/authorise.py
Traceback (most recent call last):
File "/home/pi/kivy/RPi-InfoScreen-Kivy/screens/agenda/authorise.py", line 6, in
I understand that you do not have to debug all these steps for me but /agenda folder is important because I have to have a Calendar running but stumbling every step after Kivy installation. Thank you
pip install --upgrade google-api-python-client
from pip.download import path_to_url
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in
still...
That's one I haven't seen before! Try pip install --upgrade pip
At least something interesting for you)) That is what I got after running pip install --upgrade pip
sudo pip install --upgrade pip
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
Do a search for that error on google and look for an answer on stackoveflow. It's not an error with my code so it's hard for me to help.
thank you. I will continue my battle.)
One more question and I hope last one. The whole project structure should be like this /home/pi/kivy/RPi-InfoScreen-Kivy or like that: /home/pi/kivy/kivy/RPi-InfoScreen-Kivy
It shouldn't matter.
Got this far...
File "/home/pi/kivy/RPi-InfoScreen-Kivy/screens/agenda/authorise.py", line 55, in
Did you install the Google module i mentioned earlier?
Yes I did. I have been following every step from your instructions
Weird. Try adding this to the top of authorise.py underneath the import block
from oauth2client import file
It Run. Another error probably related to stackoverflow issue...
/usr/local/lib/python2.7/dist-packages/oauth2client/_helpers.py:255: UserWarning: Cannot access /root/.credentials/calendar-python-quickstart.json: No such file or directory warnings.warn(_MISSING_FILE_MESSAGE.format(filename))
Your browser has been opened to visit:
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.readonly&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2F&response_type=code&client_id=782979102144-ebpsu3kq0l7pdbbj1fu2m5qpucoec6e4.apps.googleusercontent.com&access_type=offline
If your browser is on a different machine then exit and re-run this application with the command-line parameter --noauth_local_webserver
I meant I have to search stackoverflow and this is not your issue anymore. Thank you for all your patience and help!
Look at the readme in the agenda folder. You need to run authorise.py separately the first time.
Yes. Now it worked and had been authorised in a browser. Thank you!
Hello. I am new to Python but have an experience with other Object Oriented Languages. In any case, I am trying to run your project after installing Kivy.
Could it be that Kivy version is different now than in main.py file? I have changed a version line there to "1.9.0" maybe should have to "1.9.1". Thank you in advance for your help. Additional info -Raspbian Jesse with all updates