Confusion installing Forecast

170 views
Skip to first unread message

blu...@gmail.com

unread,
Jan 15, 2021, 9:49:53 PM1/15/21
to weewx-user
I know I'm being dense, but the instructions on git for installing forecast say to point at wee_extension @ weewx-forecast.tgz

Where do I get this file?  Only download option I see is for .zip.

And, if I do a git clone and run install.py manually, I get an error.

Traceback (most recent call last):
  File "install.py", line 5, in <module>
    from weecfg.extension import ExtensionInstaller
ModuleNotFoundError: No module named 'weecfg'

gjr80

unread,
Jan 15, 2021, 10:03:56 PM1/15/21
to weewx-user
Hi,

You haven’t said what instructions on git you are following but as far as I can tell the download and install instructions for the forecasting extension in the WeeWX wiki only refer to .zip. That being said there are some some issues (runtime not install) with the forecasting extension in the wiki; however, I believe this fork is working.

In terms of running install.py, it was never going to work, install.py is meant to be called by wee_extension not executed directly by the user.

Gary

Kevin Davis

unread,
Jan 15, 2021, 10:22:47 PM1/15/21
to weewx...@googlegroups.com
Oh ok!

I ended up on this git repo.


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9d19ba30-9561-4f40-a735-55f04466553an%40googlegroups.com.

gjr80

unread,
Jan 15, 2021, 10:37:00 PM1/15/21
to weewx-user
Yes, that is the repo I linked to in my previous post that is mentioned in the WeeWX wiki. But as I said I see no mention there of .tgz only .zip. The download instructions tell you how to get the zip and the install instructions tell you how to install from it. But you probably won’t have much success with that repo when it comes to running the forecast extension, better to use the second repo I linked. The same download/install instructions should work for the second repo.

Gary

Kevin Davis

unread,
Jan 15, 2021, 10:46:10 PM1/15/21
to weewx...@googlegroups.com
I'm working off the branch you sent, but the one I initially was working off does ref the tgz not zip

1) run the installer:

wee_extension --install weewx-forecast.tgz

John Kline

unread,
Jan 15, 2021, 11:26:51 PM1/15/21
to weewx...@googlegroups.com
Use the instructions in the second link Gary provided.

wee_extension --install weewx-forecast-3.4.0b11.zip


On Jan 15, 2021, at 7:46 PM, Kevin Davis <blu...@gmail.com> wrote:



Kevin Davis

unread,
Jan 16, 2021, 1:06:28 AM1/16/21
to weewx...@googlegroups.com
The file provided by the Zip download on the fork Gary linked, https://github.com/chaunceygardiner/weewx-forecast, is called weewx-forecast-master.zip not weewx-forecast-3.4.0b11.zip

What am I missing?

gjr80

unread,
Jan 16, 2021, 1:27:21 AM1/16/21
to weewx-user
OK, granted John's repo (the second repo link) refers to a different .zip file name compared to Matthews repo (the WeeWX wiki linked repo), but the name of the .zip file is not important, what is important is that the name of the file that you get when you download the repo is the same as the file you use to install with wee_extension. So if your downloaded file is weewx-forecast.zip then that is what you use with wee_extension to install.

Gary

John Kline

unread,
Jan 16, 2021, 8:29:00 AM1/16/21
to weewx...@googlegroups.com
What he was missing is that he was downloading head and not the release.

On Jan 15, 2021, at 10:27 PM, gjr80 <gjrod...@gmail.com> wrote:



Kevin Davis

unread,
Jan 16, 2021, 11:28:43 AM1/16/21
to weewx...@googlegroups.com
I think I'm tracking now.  From this fork: https://github.com/chaunceygardiner/weewx-forecast

If I download weewx-forecast-master.zip from there, it is the latest release, which in this case IS 3.4.0b11.

Had I needed a specific release, I can go to the Release link on the right side.

Sorry it took me a bit to get spun up.






You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/fANkffMCVjc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9FDB0AEC-713B-4183-9BF2-F4290638A5CE%40johnkline.com.

John Kline

unread,
Jan 16, 2021, 12:16:35 PM1/16/21
to weewx...@googlegroups.com
As a general rule, downloading head on a github repository is not equivalent to getting the latest release.  Head may contain changes not yet released (and perhaps not yet fully tested).

In this case, you can see here:
that nothing was submitted after the latest release.  That is, in this case, they are the same.

On Jan 16, 2021, at 8:28 AM, Kevin Davis <blu...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages