On Sat, Nov 11, 2023 at 3:23 AM MARCOS GONÇALVES TEIXEIRA
<[email protected]> wrote:
>
> deli@vm-delivery:/$ pip show trac
> Name: Trac
> Version: 1.6
> Summary: Integrated SCM, wiki, issue tracker and project environment
> Home-page: https://trac.edgewall.org
> Author: Edgewall Software
> Author-email: [email protected]
> License: BSD
> Location: /home/deli/.local/lib/python3.10/site-packages
> Requires: jinja2, setuptools
> Required-by:
>
>
> this info you need?
> Em sexta-feira, 10 de novembro de 2023 às 12:58:45 UTC-3, MARCOS GONÇALVES 
> TEIXEIRA escreveu:
>>
>> I don't know exactly where it was installed, I used the command:
>> pip install Trac

You've installed Trac to $HOME/.local (pip install uses --user option
by default when you don't have root privileges).
I'd suggest globally installing or installing to venv, not
$HOME/.local. Apache process typically cannot read $HOME/.local
directory.

1. Uninstall Trac in $HOME/.local

pip uninstall -y Trac Jinja2

2. Create venv and install Trac to the venv

sudo python3 -m venv /usr/local/venv/trac
sudo /usr/local/venv/trac/bin/pip install Trac

3. Create Trac Environment

sudo /usr/local/venv/trac/bin/trac-admin /var/trac
sudo chown -R www-data:www-data /var/trac


-- 
Jun Omae <[email protected]> (大前 潤)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMaj_77DrCYnQSGz9S0D3F52YWFwyH7eXZ2YL97DFL5fQZw%40mail.gmail.com.

Reply via email to