[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-23 Thread Evan Kimberly
Hi Matt and Doug, Yes I was thinking I'd try that out and see how it went! Thanks for the tips! On Thursday, September 23, 2021 at 6:55:36 PM UTC-4 vince wrote: > On Thursday, September 23, 2021 at 3:19:40 PM UTC-7 do...@dougjenkins.com > wrote: > >> should there be an update to the setup docu

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-23 Thread vince
On Thursday, September 23, 2021 at 3:19:40 PM UTC-7 do...@dougjenkins.com wrote: > should there be an update to the setup documentation ( > http://weewx.com/docs/setup.htm ) for those users that use FreeBSD? If > there is a github repository for the setup documentation, I am willing to > make

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-23 Thread Doug Jenkins
Matt: So I stand corrected :) I tried your suggestion in another TrueNAS FreeBSD 12.2 jail and it worked. I checked the final weewxd and wee_reports files in /home/weewx/bin and their shebangs were set to #!/usr/local/bin/python3 as you indicated. *Evan: You may want to revise your install

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-23 Thread matthew wall
instead of doing the symlink, you should be able to do this: /usr/local/bin/python3 setup.py build /usr/local/bin/python3 setup.py install when you use setup.py to build and install, it modifies the shebang line of each entry point to refer to whatever python you used to invoke it. so whatever

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-22 Thread Evan Kimberly
Hi Doug, Thank you so much! That did the trick! I think it must have been the linking Python3 to to Python that I was missing. I really appreciate it! I am in the middle of doing initial setup on the station now. I'll have to come back to interceptor and webserver tomorrow. Thanks! On Wednesd

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-22 Thread Doug Jenkins
Evan: I got WeeWX to work in a TrueNAS jail today. I was able to set it up with the simulator driver and ran it from the command line (./bin/weewxd + ./bin/wee_reports) with no issues. This setup assumes you are going to use the sqlite database as your datasource. I will list the instructions

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-22 Thread Doug Jenkins
Ok, that helps a bit. I have created a jail on my TrueNAS (v12.0.U05) and I will try to get WeeWX to work with a simulator first. My Jail will be based on FreeBSD 12.2 The challenge is getting dependencies installed in Python. I was able to get Python3 installed and configured by running the f

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-22 Thread Evan Kimberly
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 inst

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-22 Thread Doug Jenkins
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 ) . Keep in mind that jails usually

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-22 Thread Evan Kimberly
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 syste

[weewx-user] Re: Help with TrueNAS install, 'env: python: no such file or directory'

2021-09-21 Thread vince
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 gene