Author Topic: installed weewx  (Read 584 times)

0 Members and 1 Guest are viewing this topic.

Offline alpha13

  • Member
  • *
  • Posts: 2
installed weewx
« on: March 10, 2024, 06:26:59 AM »
Aid  (windows10)
I haven't just installed WEEWX. When I run (weectl station create). causes the following message:

(weewx-venv) c:\virtual\weewx-venv\Scripts>weectl station create
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "c:\virtual\weewx-venv\Scripts\weectl.exe\__main__.py", line 7, in <module>
  File "C:\virtual\weewx-venv\Lib\site-packages\weectl.py", line 58, in main
    module = importlib.import_module(f'weectllib.{subcommand}_cmd')
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Fran\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\virtual\weewx-venv\Lib\site-packages\weectllib\station_cmd.py", line 12, in <module>
    import weectllib.station_actions
  File "C:\virtual\weewx-venv\Lib\site-packages\weectllib\station_actions.py", line 9, in <module>
    import grp
ModuleNotFoundError: No module named 'grp'

(weewx-venv) c:\virtual\weewx-venv\Scripts>

Offline N0NB

  • Amateur weather observer
  • Contributor
  • ***
  • Posts: 134
    • N0NB.us
Re: installed weewx
« Reply #1 on: March 11, 2024, 07:31:12 PM »
To my knowledge WeeWX is only supported on Linux based systems.  You may wish to confirm that on the user support forum:  https://groups.google.com/g/weewx-user

Offline gszlag

  • Forecaster
  • *****
  • Posts: 436
  • ..have you calibrated your barometer today?
    • Michael's Bay - Manitoulin Island weather
Re: installed weewx
« Reply #2 on: March 12, 2024, 07:31:30 AM »
You may find this link helpful https://weewx.com/docs/5.0/
Ambient Weather WS-2000
Ecowitt WS3900 console
Ecowitt GW1000/GW1100
Ecowitt WS68: Anemometer, UV/solar
Ecowitt WH40: Rain gauge
Ecowitt WH57 Lightning sensor
Ecowitt WH32E: Outside T & H sensor
Stratus Rain Gauge (manual)
Raspberry Pi 3B+ (WeeWX/CumulusMX)
Raspberry Pi Zero 2W (WeeWX/MQTT/Belchertown)
---
Barometer wiki: http://meshka.eu/Ecowitt/dokuwiki/doku.php?id=barometer#barometer
---
http://weather.glenns.ca (pwsdashboard - live)
http://weewx.glenns.ca
http://glenns.ca/cumulusmx2/index.htm
---
Uploading to: AWN, ecowitt.net, Weather Underground, PWSweather.com, AWEKAS, Windy.com, WOW

Offline alpha13

  • Member
  • *
  • Posts: 2
Re: installed weewx
« Reply #3 on: March 12, 2024, 09:06:46 AM »
You may find this link helpful https://weewx.com/docs/5.0/

It's the first thing I did
 ](*,)

Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 182
    • home site
Re: installed weewx
« Reply #4 on: March 13, 2024, 09:45:16 PM »
https://docs.python.org/3/library/grp.html says not available on windows.

Only thing I can suggest is building in Docker or in a virtual machine running Linux.   It's been enough years that I have no idea if you could possibly install cygwin and run python in there, but either way it would be a hack at best.  The Docker or VM path is more unixy.
WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture, WH34 soilTemp (pi4)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

Offline N0NB

  • Amateur weather observer
  • Contributor
  • ***
  • Posts: 134
    • N0NB.us
Re: installed weewx
« Reply #5 on: March 15, 2024, 09:09:28 AM »
I've read about Windows Subsystem for Linux (WSL) but I have ZERO experience with it.  That seems complex.  A more simple method might be a Raspberry Pi though they're not the best choice for reliability but it will give experience with a Linux based OS.