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 /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:[email protected] <[email protected]> on behalf of Mike Dewhirst<[email protected]> 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visithttps://groups.google.com/d/msgid/trac-users/f3b6152b-5172-da05-7a92-251a856387dc%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>.
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/901628af-9b1e-9461-37c7-386e753390f7%40dewhirst.com.au.
OpenPGP_signature
Description: OpenPGP digital signature
