I tried writing a line in make.conf to point to python 3.8 PYTHON_DEFAULT_VERSION='python3.8'
No luck still getting it to run. As for hardware access, i plan on using interceptor. From what I've read on here, it sounds doable to run weewx in a jail on freebsd. I just need to get the thing installed first! On Wednesday, September 22, 2021 at 10:16:42 AM UTC-4 [email protected] wrote: > Evan: > > In your jail you will need to install python3 and the packaging through > pkg first. You will need to find the FreeBSD equivalents of the required > packages as listed in the setup doc ( WeeWX: Installation using setup.py > <http://weewx.com/docs/setup.htm>) . > > Keep in mind that jails usually do not have access to the direct hardware, > so USB/serial passthrough maybe tough. > > It may make sense to setup a VM of Debian Buster on TrueNAS than trying to > run this through a jail. WeeWx does not need a lot of resources, so a small > VM (2GB, 2 cores) could be sufficient. > > DDJ > > > > On Wednesday, September 22, 2021 at 9:50:04 AM UTC-4 Evan Kimberly wrote: > >> I just tried that and it is telling me python3 command not found. >> >> On Wednesday, September 22, 2021 at 12:40:37 AM UTC-4 vince wrote: >> >>> Try "python3 setup.py build" and see if that works any better. >>> >>> Basically your system does not have a default "python", which we see in >>> some operating systems. >>> >>> On Tuesday, September 21, 2021 at 9:17:37 PM UTC-7 Evan Kimberly wrote: >>> >>>> I am still learning my way around bsd and command line in general and >>>> am having difficulty getting this up and running. I was reading a separate >>>> thread in this group 'FreeBSD / TrueNAS Jail Install Help' and am now >>>> stuck. >>>> >>>> My current steps as follow: >>>> Set up jail (In TrueNAS, 12.2-RELEASE-p9) >>>> pkg install python38 >>>> pkg install py38-cheetah3 >>>> pkg install py38-configobj >>>> pkg install py38-pillow >>>> pkg install py38-sqlite3 >>>> pkg install py38-ephem >>>> fetch https://weewx.com/downloads/weewx-4.5.1.tar.gz >>>> tar xvfz weewx-4.5.1.tar.gz >>>> cd weewx-4.5.1 >>>> ./setup.py build >>>> >>>> I get the title error at the last step. I am currently in the directory >>>> that setup.py exists in. The thread I was following suggested using >>>> python37, but I wasn't able to install those packages. When I run pkg >>>> search py37-(whatever) I don't get any results, so i changed up to 38. >>>> >>>> Any suggestions? >>>> >>> -- 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/a5e13854-d0fc-454b-9017-54426d44a61fn%40googlegroups.com.
