Cool - some quick testing things I noticed in a ubuntu2204 vagrant vm... The vagrant base ubuntu2204 VM is very minimal so I needed to add a couple packages:
- sudo apt-get update - sudo apt-get install -y python3-venv # for venv itself - sudo apt-get install -y gcc # to compile pyephem within the venv I also did the station create explicitly just to try that too (which worked fine): - weectl station create --driver weewx.drivers.simulator --no-prompt Also tested calling weewxd from outside of the venv via a full path ala ~/weewx_venv/bin/weewxd which I suppose is where a future systemd startup file use if an absolute path was specified (???) Re: your installer mechanisms options, I lean toward this way since it relies on just core python and not a third party wrapper tool that might theoretically go away someday or might not work on all the unusual/creative places folks run weewx on like NAS or under WSL and the like. For the future, I guess I'd like to also see docs re: how to upgrade weewx and/or switch to a specified version of weewx. Sometimes folks need/want to freeze to a particular version. Very cool though as-is ! On Friday, December 30, 2022 at 2:16:31 PM UTC-8 Tom Keffer wrote: > For those who are still interested, finally something concrete! > > 1. The document outlining the goals and strategies of V5 has been updated. > https://github.com/weewx/weewx/wiki/Version-5 > > 2. New document on strategies for installing WeeWX using pip: > https://github.com/weewx/weewx/wiki/pip-install-strategies > > I'd really like some feedback on this one. Did I miss any viable > approaches? I'm leaning towards using pipx to do the install, although I > could be talked into other approaches. > > 3. Best of all, there is now an alpha version of WeeWX, which can be > installed entirely using pip! > Try this to install into a virtual environment (which you can then delete > when you're done playing): > > *cd ~* > *# Create a virtual environment in weewx-venv* > *python3 -m venv weewx-venv* > *# Activate it* > *source weewx-venv/bin/activate* > *# Then install WeeWX into it using pip* > *python3 -m pip install weewx * > > > To use it, create a new station with > > *weectl station create* > > > This will create a directory ~/weewx-data, which will hold the > configuration file, skins, and (after startup) the database, and HTML files. > > Then run: > > *weewxd* > > > -tk > > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/dd37c564-b6c9-4ab1-8be2-a10dff099207n%40googlegroups.com.