Python Path

The AccessGrid Python module is installed in a non-standard location on all (most?) platforms. To run any code that uses the AccessGrid Python module, the path to this module must be included in the search path for Python modules.


For bash:

. /Applications/

For csh:

source  /Applications/


Inside the Application

Applications can also help locate the AccessGrid Python module using a utility module included with the AccessGrid. The following code will select version 3 of the AccessGrid and put the path to this version of the module on the path, before proceeding with the rest of the script.

import agversion

This mechanism is used by the programs included with the Access Grid installers (for example, VenueClient, VenueManagement, VenueServer).

login or register to post comments