Regarding this:
https://github.com/previmeteo/weewx-previmeteo#readme
Running this:
setup.py install --extension weewx-previmeteo-v0.1.tar.gz
ends up giving me this error:
bash: setup.py: command not found
So
I also tried….
python3
setup.py install --extension weewx-previmeteo-v0.1.tar.gz
which
gives me a similar error about not being able to fins setup.py
FYI,
there are about a gazillion “setup.py” files all over my machine – all
different sizes - but none in any weewx directory I can find –
Thoughts? Anyone publishing to previmeteo?
I’ll give them both a shot - thanks
-Kruse
📱(M): +1.201.925.4410
📞(O): +1.862.308.7040
📞(H): +1.201.857.8307
📠(F): +1.201.857.7188
--
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/WN4vQOyNFrQ/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/76727a09-c125-4f57-bd4a-26df9cb66df4n%40googlegroups.com.
Well here are the two attempts…. All the other extensions worked fine for me (I did have to use sudo for those as well) but they were all zip files. As this one is a ‘tar.gz’ am I missing the utility for doing so on my rpi maybe? – or I was searching around and is it possible someone tried to compress it twice?
pi@kruse-pi:~ $ sudo wee_extension --install weewx-previmeteo-v0.1.tar.gz
Request to install 'weewx-previmeteo-v0.1.tar.gz'
Extracting from tar archive weewx-previmeteo-v0.1.tar.gz
Traceback (most recent call last):
File "/usr/share/weewx/wee_extension", line 92, in <module>
main()
File "/usr/share/weewx/wee_extension", line 84, in main
ext.install_extension(options.install)
File "/usr/share/weewx/weecfg/extension.py", line 122, in install_extension
member_names = weecfg.extract_tar(extension_path,
File "/usr/share/weewx/weecfg/__init__.py", line 1805, in extract_tar
tar_archive = tarfile.open(filename, mode='r')
File "/usr/lib/python3.9/tarfile.py", line 1616, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
pi@kruse-pi:~ $ sudo /home/weewx/bin/wee_extension --install weewx-previmeteo-v0.1.tar.gz
sudo: /home/weewx/bin/wee_extension: command not found
From: rklud...@gmail.com <rklud...@gmail.com>
Sent: Thursday, June 30, 2022 10:35 PM
To: 'weewx...@googlegroups.com' <weewx...@googlegroups.com>
Subject: RE: [weewx-user] Re: Unable to publish to previmeteo
I’ll give them both a shot - thanks
-Kruse
📱(M): +1.201.925.4410
📞(O): +1.862.308.7040
📞(H): +1.201.857.8307
📠(F): +1.201.857.7188
From: weewx...@googlegroups.com <weewx...@googlegroups.com> On Behalf Of vince
Sent: Thursday, June 30, 2022 10:20 PM
To: weewx-user <weewx...@googlegroups.com>
Subject: [weewx-user] Re: Unable to publish to previmeteo
If you did a package install of weewx, try "sudo wee_extension --install weewx-previmeteo-v0.1.tar.gz", assuming you are in the same working directory as the .tar.gz file
--
--
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/WN4vQOyNFrQ/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/af7a2274-27ed-4b98-b6bc-345a41a679een%40googlegroups.com.