RjOllos schrieb am Mittwoch, 14. Oktober 2020 um 19:01:15 UTC+2:

> Looks similar to your previous issue:
> https://groups.google.com/g/trac-users/c/YNXiKhrdYic/m/PL4dcR1UAgAJ
>
> I would try:
>
> $ PYTHONPATH=/mnt/data/trac/.local/lib64/python2.7/site-packages pip2 list
>

Looks like.
This works.

However for uwsgi I have already set the PYTHONPATH.
That "trac-admin changeset added..."  is called from a cronjob script or 
manually for new changesets.
How would I set the $PYTHONPATH? It is currently not set. Nothing in /etc 
is setting this variable currently. How is it determined, configured at 
build time of python? I can set it in ~/.bash_profile, but then I must take 
care if sourced for interactive shells or for all, because there are these 
cronjobs as well.

However it seems that my old pip2 --user installed by distribution was 
installing to ~/.local/lib64/python2.7/site-packages and the new pip2 
locally installed at ~/bin/pip2 is installing to 
~/.local/lib/python2.7/site-packages.

I would prefer merging all to the new location and not setting the 
PYTHONPATH, adapting in uwsgi.conf
What do you think?

~Mo

-- 
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/bc1c3993-f9d2-4ecf-96e6-2b66e885862an%40googlegroups.com.

Reply via email to