さくらインターネットでtrac(2)
「さくらのレンタルサーバで Python 外部モジュールを使う」を参考にしたらどうだろうか?と考える。
PYTHONPATHを加える
.cshrcに下記を加えてみました。
setenv PYTHONPATH ~/local/src/trac-0.9.6-ja-1
trac-adminを実行したら、エラーが消えたよ!
%trac-admin $HOME/var/trac/repo initenv Creating a new Trac environment at /home/dependence/var/trac/repo Trac will first ask a few questions about your environment in order to initalize and prepare the project database. Please enter the name of your project. This name will be used in page titles and descriptions. Project Name [My Project]>