Hello,
I am trying to install Trac on my site in a shared hosting service.
I do not have admin rights, nor sudo, apt-get, easy-install, pip.
How can I install Trac from source?
I downloaded Trac to my host, uncompressed it and ran setup.py, but I keep
getting errors.
$ python ./setup.py install --home=/home/x/public_html/trac/Trac-1.0.13
Genshi is needed by Trac setup, pre-installing
running install
Checking .pth file support in /home/x/public_html/trac/Trac-1.0.13/lib/
python/
/usr/bin/python -E -c pass
TEST FAILED: /home/x/public_html/trac/Trac-1.0.13/lib/python/ 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:
/home/x/public_html/trac/Trac-1.0.13/lib/python/
and your PYTHONPATH environment variable currently contains:
'/home/x/public_html/trac/Trac-1.0.13'
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.
Any idea how I can install trac on my host? (without requiring admin rights)
Thanks
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.