Weather Software > WeeWX Software

installed weewx

(1/2) > >>

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\", line 7, in <module>
  File "C:\virtual\weewx-venv\Lib\site-packages\", line 58, in main
    module = importlib.import_module(f'weectllib.{subcommand}_cmd')
  File "C:\Users\Fran\AppData\Local\Programs\Python\Python312\Lib\importlib\", 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\", line 12, in <module>
    import weectllib.station_actions
  File "C:\virtual\weewx-venv\Lib\site-packages\weectllib\", line 9, in <module>
    import grp
ModuleNotFoundError: No module named 'grp'

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

To my knowledge WeeWX is only supported on Linux based systems.  You may wish to confirm that on the user support forum:

You may find this link helpful


--- Quote from: gszlag on March 12, 2024, 07:31:30 AM ---You may find this link helpful

--- End quote ---

It's the first thing I did

vinceskahan: 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.


[0] Message Index

[#] Next page

Go to full version