Results 1 to 7 of 7
  1. #1


    Member Since
    Jul 05, 2007
    Posts
    88
    Specs:
    MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6
    gcalcli and macports
    I'm trying to put the agenda from my google calendar on my desktop via geektool, but I'm having trouble getting gcalcli to recognize the dependencies. According to the site, gcalcli requires python, dateutil, elementtree and gdata. I installed all of these via macports but when I try and run gcalcli it says gdata is missing.

    I have a feeling I may have two versions of python on my computer. One installed by xcode (py23) and the one I installed by macports (py24).

  2. #2

    lifeafter2am's Avatar
    Member Since
    Aug 25, 2006
    Location
    Central Florida
    Posts
    1,395
    Specs:
    MacBook Pro Unibody
    Did you install gcalcli using macports as well?

    And yes you will have multiple versions of python installed. This is the way that macports handles things. All of the dependancies for the programs it installs are handled internally.
    masakatsu agatsu

    @lifeafter2am

  3. #3


    Member Since
    Jul 05, 2007
    Posts
    88
    Specs:
    MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6
    Quote Originally Posted by lifeafter2am View Post
    Did you install gcalcli using macports as well?
    No, I tried but I didn't see it as a port. If there is one, what is it called? and how do I get it?

  4. #4

    lifeafter2am's Avatar
    Member Since
    Aug 25, 2006
    Location
    Central Florida
    Posts
    1,395
    Specs:
    MacBook Pro Unibody
    See, the thing is, as I said, MacPorts and the other programs like it handle all those things internally, so your program probably isn't looking in the right place for those programs. You can try modifying your $PATH to include those areas in which the MacPorts stuff is installed, that should work.
    masakatsu agatsu

    @lifeafter2am

  5. #5


    Member Since
    Jul 05, 2007
    Posts
    88
    Specs:
    MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6
    right. that makes sense. I should have thought of that. thanks.

  6. #6

    lifeafter2am's Avatar
    Member Since
    Aug 25, 2006
    Location
    Central Florida
    Posts
    1,395
    Specs:
    MacBook Pro Unibody
    Quote Originally Posted by aarnclayt View Post
    right. that makes sense. I should have thought of that. thanks.
    No problem! Let us know how it goes.
    masakatsu agatsu

    @lifeafter2am

  7. #7


    Member Since
    Jul 05, 2007
    Posts
    88
    Specs:
    MacBook 1.83 GHz intel c2d, 2gb ram, xp and os x.6
    I changed my PYTHONPATH in ~/.profile to /opt/local/lib/python2.4 which is where the macports python is installed, but when I run gcalcli I get this:

    Code:
    'import site' failed; use -v for traceback
    Traceback (most recent call last):
      File "/Users/awclayton/.scripts/gcalcli", line 55, in ?
        import inspect
      File "/opt/local/lib/python2.4/inspect.py", line 31, in ?
        import sys, os, types, string, re, dis, imp, tokenize, linecache
      File "/opt/local/lib/python2.4/os.py", line 133
        from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep,
                            ^
    SyntaxError: invalid syntax

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. fink or macports
    By funkytwig in forum Switcher Hangout
    Replies: 0
    Last Post: 01-13-2011, 09:08 AM
  2. gdb macports
    By greisen in forum OS X - Operating System
    Replies: 0
    Last Post: 08-29-2010, 10:15 AM
  3. MacPorts problem
    By pepsiboy in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 04-04-2010, 01:53 PM
  4. libtool in MacPorts
    By detonator413 in forum OS X - Operating System
    Replies: 0
    Last Post: 10-31-2009, 08:25 PM
  5. Help with macports
    By cradom in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 01-20-2008, 11:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •