[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    Re: [Trac] ModuleNotFoundError: No module named 'trac'
From:       Mike Dewhirst <miked () dewhirst ! com ! au>
Date:       2023-06-26 8:36:44
Message-ID: 292ae89a-f7ab-5fa6-3100-2d0b153fe3b4 () dewhirst ! com ! au
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (multipart/alternative)]


Thank you Markus ... I got it from 
https://download.edgewall.org/trac/Trac-latest-dev.tar.gz

Cheers

Mike

On 26/06/2023 5:43 pm, Markus Rosjat wrote:
> hey mike,
> 
> if you are still looking for 1.5.4   there isn't a pypi package and you 
> need to go to the subversion repo from edgewall to get the version.
> 
> here is the link to 1.5.4 
> https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/
> 
> or just go to trunk for the latest 
> https://svn.edgewall.org/repos/trac/trunk
> 
> you need to install subversion for this and then you might try to pip 
> install it like so
> 
> pip install -e svn+https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/
> 
> cheers
> 
> Markus
> 
> Am Mo., 26. Juni 2023 um 08:47  Uhr schrieb Mike Dewhirst 
> <miked@dewhirst.com.au>:
> 
> Many thanks Tony ...
> 
> Mike
> 
> On 26/06/2023 4:41 pm, 'Tony Brian Albers (XTOAL)' via Trac Users
> wrote:
> > Hi Mike,
> > 
> > Are you using pip in the OS or in a virtualenv? You should use it in a virtualenv \
> > to prevent packages from polluting your OS. 
> > Something like this:
> > 
> > $ cd
> > $ python3 -m venv tracinst
> > $ source tracinst/bin/activate
> > (trac)$ pip install --upgrade pip
> > (trac)$ pip install https://download.edgewall.org  <http://download.edgewall.org> \
> > /trac/Trac-latest-dev.tar.gz (trac)$ pip install babel docutils pygments textile \
> > psycopg2-binary 
> > (remove the spaces in the URL)
> > 
> > HTH
> > 
> > /tony
> > 
> > --
> > Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA
> > Transition Manager - FIT/TMS Delivery Team - Signalling Integrations
> > Banedanmark, Signalling Systems
> > Carsten Niebuhrs Gade 43, 1577 Copenhagen V
> > 
> > ________________________________________
> > From:trac-users@googlegroups.com  <trac-users@googlegroups.com>  \
> > <mailto:trac-users@googlegroups.com>  on behalf of Mike \
> >                 Dewhirst<miked@dewhirst.com.au>  <mailto:miked@dewhirst.com.au>
> > Sent: 26 June 2023 08:28
> > To: Trac Users
> > Subject: [Trac] ModuleNotFoundError: No module named 'trac'
> > 
> > CAUTION: This email originated from outside the organization.
> > 
> > 
> > Using do-release-upgrade, I upgraded Ubuntu from 2020.04 LTS to 2022.04 last \
> > night to discover Trac has unexpectedly stopped working under Python 3. 
> > We are now running on Python 3.10 and PostgreSQL 14. Previously it was Py 3.8 and \
> > PostgreSQL 12 which seemed to suit Trac very well over the last couple of years 
> > I tried pip install trac==1.5.4 but got "No matching distribution..."
> > 
> > Pip can only see 1.4.x and no 1.5.x releases.
> > 
> > How can I get Trac working again?
> > 
> > Many thanks
> > 
> > Mike
> > 
> > 
> > 
> > --
> > 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 totrac-users+unsubscribe@googlegroups.com<mailto:trac-users+unsubscribe@googlegroups.com> \
> > <mailto:trac-users+unsubscribe@googlegroups.com>. To view this discussion on the \
> > web visithttps://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a \
> > 856387dc%40dewhirst.com.au<https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email&utm_source=footer> \
> > <https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email&utm_source=footer>.
> >  
> 
> 
> -- 
> Signed email is an absolute defence against phishing. This email has
> been signed with my private key. If you import my public key you can
> automatically decrypt my signature and be sure it came from me. Your
> email software can handle signing.
> 
> -- 
> 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 trac-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au
>  <https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au?utm_medium=email&utm_source=footer>.
>  
> -- 
> 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 trac-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/trac-users/CAJ4osO%3DKQ8b6Rbp7EWTW_jhQB_F_tfAO_Qz_M6fSi0yDX_JPfw%40mail.gmail.com \
>  <https://groups.google.com/d/msgid/trac-users/CAJ4osO%3DKQ8b6Rbp7EWTW_jhQB_F_tfAO_Qz_M6fSi0yDX_JPfw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 


-- 
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

-- 
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 trac-users+unsubscribe@googlegroups.com. To view this discussion on the \
web visit https://groups.google.com/d/msgid/trac-users/292ae89a-f7ab-5fa6-3100-2d0b153fe3b4%40dewhirst.com.au.



[Attachment #7 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Thank you Markus ... I got it from <a
        class="moz-txt-link-freetext"
        href="https://download.edgewall.org/trac/Trac-latest-dev.tar.gz">https://download.edgewall.org/trac/Trac-latest-dev.tar.gz</a>
  <br>
      <br>
      Cheers<br>
      <br>
      Mike<br>
      <br>
      On 26/06/2023 5:43 pm, Markus Rosjat wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJ4osO=KQ8b6Rbp7EWTW_jhQB_F_tfAO_Qz_M6fSi0yDX_JPfw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">hey mike,
        <div><br>
        </div>
        <div>if you are still looking for 1.5.4   there isn't a pypi
          package and you need to go to the subversion repo from
          edgewall to get the version.  </div>
        <div><br>
        </div>
        <div>here is the link to 1.5.4  <a
            href="https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/"
            moz-do-not-send="true" \
class="moz-txt-link-freetext">https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/</a></div>
  <div><br>
        </div>
        <div>or just go to trunk for the latest  <a
            href="https://svn.edgewall.org/repos/trac/trunk"
            moz-do-not-send="true" \
class="moz-txt-link-freetext">https://svn.edgewall.org/repos/trac/trunk</a></div>  \
<div><br>  </div>
        <div>you need to install subversion for this and then you might
          try to pip install it like so  </div>
        <div><br>
        </div>
        <div>pip install -e svn+<a
            href="https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/"
            moz-do-not-send="true" \
class="moz-txt-link-freetext">https://svn.edgewall.org/repos/trac/tags/trac-1.5.4/</a></div>
  <div><br>
        </div>
        <div>cheers</div>
        <div><br>
        </div>
        <div>Markus</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Am Mo., 26. Juni 2023 um
          08:47  Uhr schrieb Mike Dewhirst &lt;<a
            href="mailto:miked@dewhirst.com.au" moz-do-not-send="true"
            class="moz-txt-link-freetext">miked@dewhirst.com.au</a>&gt;:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div>Many thanks Tony ... <br>
              <br>
              Mike<br>
              <br>
              On 26/06/2023 4:41 pm, 'Tony Brian Albers (XTOAL)' via
              Trac Users wrote:<br>
            </div>
            <blockquote type="cite">
              <pre>Hi Mike,

Are you using pip in the OS or in a virtualenv? You should use it in a virtualenv to \
prevent packages from polluting your OS.

Something like this:

$ cd
$ python3 -m venv tracinst
$ source tracinst/bin/activate
(trac)$ pip install --upgrade pip
(trac)$ pip install https://  <a href="http://download.edgewall.org" target="_blank" \
moz-do-not-send="true">download.edgewall.org</a>  /trac/Trac-latest-dev.tar.gz \
(trac)$ pip install babel docutils pygments textile psycopg2-binary

(remove the spaces in the URL)

HTH

/tony

--
Tony Albers - SCSA, SCNA, EMCIE, EMCBA, RHCSA
Transition Manager - FIT/TMS Delivery Team - Signalling Integrations
Banedanmark, Signalling Systems
Carsten Niebuhrs Gade 43, 1577 Copenhagen V

________________________________________
From: <a href="mailto:trac-users@googlegroups.com" target="_blank" \
moz-do-not-send="true" class="moz-txt-link-freetext">trac-users@googlegroups.com</a> \
<a href="mailto:trac-users@googlegroups.com" target="_blank" \
moz-do-not-send="true">&lt;trac-users@googlegroups.com&gt;</a> on behalf of Mike \
Dewhirst <a href="mailto:miked@dewhirst.com.au" target="_blank" \
                moz-do-not-send="true">&lt;miked@dewhirst.com.au&gt;</a>
Sent: 26 June 2023 08:28
To: Trac Users
Subject: [Trac] ModuleNotFoundError: No module named 'trac'

CAUTION: This email originated from outside the organization.


Using do-release-upgrade, I upgraded Ubuntu from 2020.04 LTS to 2022.04 last night to \
discover Trac has unexpectedly stopped working under Python 3.

We are now running on Python 3.10 and PostgreSQL 14. Previously it was Py 3.8 and \
PostgreSQL 12 which seemed to suit Trac very well over the last couple of years

I tried pip install trac==1.5.4 but got "No matching distribution..."

Pip can only see 1.4.x and no 1.5.x releases.

How can I get Trac working again?

Many thanks

Mike



--
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 <a href="mailto:trac-users+unsubscribe@googlegroups.com" target="_blank" \
moz-do-not-send="true" \
class="moz-txt-link-freetext">trac-users+unsubscribe@googlegroups.com</a><a \
href="mailto:trac-users+unsubscribe@googlegroups.com" target="_blank" \
moz-do-not-send="true">&lt;mailto:trac-users+unsubscribe@googlegroups.com&gt;</a>. To \
view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au" \
target="_blank" moz-do-not-send="true" \
class="moz-txt-link-freetext">https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au</a><a \
href="https://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email&amp;utm_source=footer" \
target="_blank" moz-do-not-send="true">&lt;https://groups.google.com/d/msgid/trac-user \
s/f3b6152b-5172-da05-7a92-251a856387dc%40dewhirst.com.au?utm_medium=email&amp;utm_source=footer&gt;</a>.


</pre>
            </blockquote>
            <br>
            <br>
            <pre cols="72">-- 
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.
</pre>
          </div>
          -- <br>
          You received this message because you are subscribed to the
          Google Groups "Trac Users" group.<br>
          To unsubscribe from this group and stop receiving emails from
          it, send an email to <a
            href="mailto:trac-users+unsubscribe@googlegroups.com"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">trac-users+unsubscribe@googlegroups.com</a>.<br>
  To view this discussion on the web visit <a
href="https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au?utm_medium=email&amp;utm_source=footer"
                
            target="_blank" \
moz-do-not-send="true">https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au</a>.<br>
  </blockquote>
      </div>
      -- <br>
      You received this message because you are subscribed to the Google
      Groups "Trac Users" group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a
        href="mailto:trac-users+unsubscribe@googlegroups.com"
        moz-do-not-send="true" \
class="moz-txt-link-freetext">trac-users+unsubscribe@googlegroups.com</a>.<br>  To \
view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/trac-users/CAJ4osO%3DKQ8b6Rbp7EWTW_jhQB_F_tfAO_Qz_M6fSi0yDX_JPfw%40mail.gmail.com?utm_medium=email&amp;utm_source=footer"
                
        moz-do-not-send="true">https://groups.google.com/d/msgid/trac-users/CAJ4osO%3DKQ8b6Rbp7EWTW_jhQB_F_tfAO_Qz_M6fSi0yDX_JPfw%40mail.gmail.com</a>.<br>
  </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.
</pre>
  </body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &quot;Trac \
Users&quot; group.<br /> To unsubscribe from this group and stop receiving emails \
from it, send an email to <a \
href="mailto:trac-users+unsubscribe@googlegroups.com">trac-users+unsubscribe@googlegroups.com</a>.<br \
/> To view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/trac-users/292ae89a-f7ab-5fa6-3100-2d0b153fe3b \
4%40dewhirst.com.au?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/trac-users/292ae89a-f7ab-5fa6-3100-2d0b153fe3b4%40dewhirst.com.au</a>.<br \
/>


["OpenPGP_signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic