Using pip to install python packages under FreeBSD isn't a great idea. Freshports can keep everything up to date for you. I've been running weewx on my FreeBSD server for several years.
On Thursday, January 14, 2021 at 5:43:24 PM UTC-6 [email protected] wrote: > that didn't work in 2. > I managed to install python37 and pip > i then had to install with the commands below and follow the packages per > debian10 instructions > pip install configobj > pip install serial > pip install usb > pip install pip > pip install cheetah3 > pip install ephem > > But i get an error with > pip install pil - "could not find a package that satisfies the > requirement pil" > Do i need pil? > > I have a WH2900 Fine Offset and in the forums it talks about using the > interception driver, but this is not an option during install. > > > > On Thursday, January 14, 2021 at 9:55:30 PM UTC+1 [email protected] wrote: > >> I have used weewx on FreeNAS / TrueNAS for many years and it works well, >> for hardware that sends loop data to an IP address. Have not tried it with >> usb hardware. >> >> 1. Create and run weewx in it's own standard jail. Given that you want >> to play with FreeBSD I assume you are familiar with jails and you can >> handle this. All further instructions assume that you are working within >> the active running jail. >> 2. Python packages are named a little different than linux >> distributions. >> a) Start by installing python3 using pkg command. Available package >> names are python36, python37, python38, python39. Further instruction will >> assume you installed python37 >> b) Install py37-cheetah3 using the pkg command >> c) Install py37-configobj >> d) Install py37-pillow >> e) Install py37-sqlite3, assuming you are using sqlite database >> 3. Install weewx using the setup.py method >> 4. To run weewx directly con command line, cd to /home/weewx and use the >> ./bin/weewxd command, run this as su. >> 5. To start weewx automatically from at startup, copy the attached >> script to */usr/local/etc/rc.d/* >> 6. Add the following line *weewx_enable="YES"* to the */etc/rc.conf* >> file. Now weewx will start automatically and you can start and stop the >> service with *service weewx start* or *service weewx stop* command >> >> >> >> >> On Thursday, January 14, 2021 at 10:04:06 a.m. UTC-8 [email protected] >> wrote: >> >>> >>> I have a TrueNAS box and want to install in a FreeBSD jail. I'm a >>> complete knob, can anyone help with instructions for installing on FreeBSD. >>> Sadly, such great document for Linux, but none for FreeBSD (although i see >>> there is a startup script, for those who know how to get that far) >>> >> -- 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/9058d453-265f-4011-93b6-1ec6049a5b0bn%40googlegroups.com.
