I just got my RPi up and running for the first time. So far, all I've done is install Chromium on it.
I'm trying to install the Google API directory for Python so I can try an experiment with Google Calendar and I am quite obviously a noob at this because even these seemingly simple instructions are not working for me.
That's from the Google Developer site.Installing the Google Data Library
Download the Google Data Python library if you haven't done so. Look for the latest version on the Python project's downloads page.
After downloading the library, unpack it using unzip or tar zxvf depending on the type of download you chose.
Now you are ready to install the library modules so that they can be imported into Python. There are several ways you can do this:
If you have the ability to install packages for all users to access, you can runfrom the unpacked archive's main directory.Code: Select all
./setup.py install
If you want to install these modules for use in your home directory, you can run.Code: Select all
./setup.py install --home=<your home directory>
In some cases, you want to avoid installing the modules altogether. To do that, modify your PYTHONPATH environment variable to include a directory which contains the gdata and atom directories for the Google Data Python client library. For instructions on modifying your PYTHONPATH, see the Appendix at the end of this article.
One final option that I'll mention, is copying the gdata and atom directories from the src directory into whatever directory you are in when you execute python. Python will look in the current directory when you do an import, but I don't recommend this method unless you are creating something quick and simple.
Once you've installed the Google Data library, you're ready to take the library for a test drive.
I'm not sure what the commands are there that start with "./" but they don't work for crap on my terminal. I've downloaded the gdata zip file as directed in the instructions and unzipped it to a directory I made. If someone could help me with this from that point to get python to be able to use the Google API stuff properly, I'd really appreciate it. You might need to really dumb your instructions down for me. Thanks
Michael