thanks that seems to work ! cheers markus
Am Mi., 5. Okt. 2022 um 10:59 Uhr schrieb Jun Omae <[email protected]>: > On Wed, Oct 5, 2022 at 5:37 PM Markus Rosjat <[email protected]> > wrote: > > > > Hey all, > > > > did someone successfully installed a 1.5.3 on a windows linux subsystem? > When i pip trac i get the following import errors: > > > > (env) mr@GH-MR-NB-WIN11:~/trac/ghweb$ pip install --find-links= > https://trac.edgewall.org/wiki/TracDownload Trac > > Looking in links: https://trac.edgewall.org/wiki/TracDownload > > Requirement already satisfied: Trac in > /home/mr/trac/env/lib/python3.8/site-packages (1.5.3) > > Requirement already satisfied: setuptools>=30.3 in > /home/mr/trac/env/lib/python3.8/site-packages (from Trac) (44.0.0) > > Requirement already satisfied: jinja2>=2.9.3 in > /home/mr/trac/env/lib/python3.8/site-packages (from Trac) (3.1.2) > > Requirement already satisfied: MarkupSafe>=2.0 in > /home/mr/trac/env/lib/python3.8/site-packages (from jinja2>=2.9.3->Trac) > (2.1.1) > > (env) mr@GH-MR-NB-WIN11:~/trac/ghweb$ trac-admin . initenv > > Traceback (most recent call last): > > File "/home/mr/trac/env/bin/trac-admin", line 5, in <module> > > from trac.admin.console import run > > File > "/home/mr/trac/env/lib/python3.8/site-packages/trac/admin/console.py", line > 34, in <module> > > from trac.env import Environment > > File "/home/mr/trac/env/lib/python3.8/site-packages/trac/env.py", line > 52, in <module> > > from trac.web.chrome import Chrome > > File > "/home/mr/trac/env/lib/python3.8/site-packages/trac/web/chrome.py", line > 40, in <module> > > from trac.mimeview.api import RenderingContext, get_mimetype > > File > "/home/mr/trac/env/lib/python3.8/site-packages/trac/mimeview/__init__.py", > line 14, in <module> > > from trac.mimeview.api import * > > File > "/home/mr/trac/env/lib/python3.8/site-packages/trac/mimeview/api.py", line > 70, in <module> > > from trac.resource import Resource > > File "/home/mr/trac/env/lib/python3.8/site-packages/trac/resource.py", > line 21, in <module> > > from trac.util.presentation import classes > > File > "/home/mr/trac/env/lib/python3.8/site-packages/trac/util/presentation.py", > line 24, in <module> > > from jinja2 import Markup, Undefined, contextfilter, > evalcontextfilter > > ImportError: cannot import name 'Markup' from 'jinja2' > (/home/mr/trac/env/lib/python3.8/site-packages/jinja2/__init__.py) > > > > cheers > > > > MArkus > > > > Try to use thttps://svn.edgewall.org/repos/trac/trunk instead of Trac > 1.5.3. > > See also: https://trac.edgewall.org/ticket/13404 > > -- > 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/CAEVLMajmtuyPm38YDQ6A%2B_qxwM2S2LZx78aBiFZeFM6raK2-zw%40mail.gmail.com > . > -- 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/CAJ4osOkmaP4jVq3_rpVGoRaYnUjADj51VDSQknjusrm6%2BLmHhQ%40mail.gmail.com.
