I'd like to be able to install weewx and run it using a virtual environment 
instead of using the system's interpreter.

When I run "sudo <path to vevn's python> setup.py install" I get an error 
about not being able to use both prefix and exec_prefix.
I commented out exec_prefix= in setup.py.
The install runs but a bunch of files are placed in the virtual 
environment's directory and not in /home/weewx.

I moved those files into /home/weewx myself and it seem to be working.

I'd like to be able to do that without those hacks.  If someone can give 
some pointers and it's a reasonable thing to be able to do I'd be happy to 
make the PR.

I'm using Ubuntu, pyenv to install python 3.10.8.
Using python venv to create the 3.10.8 virtual environment and then pip to 
install the required modules (so no apt installed packages).

Gearoid.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" 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/weewx-user/8fa1b5ce-7c78-449f-bf56-b9a2b53de99dn%40googlegroups.com.

Reply via email to