Hi, The Scenario:
Trac version 11.4 The aim: to connect to the trac from iPad thru tracViewer app. The tool: the XMLRPC trac plugin has to be installed on the server side. The problem: how to install the XMLRPC on the server. The things done: 1. virtual python environment has been installed succesfully (in $HOME/env) The show stopper: the variable $PYTHONPATH. To what it shall be set to? The unknown: how this virtual python environment works and what I shall to do to install the plugin The error message of the showstopper: ================================================================================= [BAT]$ which easy_install /usr/bin/easy_install [BAT]$ source env/bin/activate (env)[terranova]$ which easy_install /home/kik/env/bin/easy_install (env)[BAT]$ easy_install --install-dir=$PYTHONPATH http://trac-hacks.org/svn/xmlrpcplugin 0.10 # 0.10 TEST FAILED: does NOT support .pth files error: bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: and your PYTHONPATH environment variable currently contains: '' Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations Please make the appropriate changes for your system and try again. ======================================================================================= Please help. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
