Weather Software > WeeWX Software

installed weewx

(1/2) > >>

alpha13:
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>

N0NB:
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

gszlag:
You may find this link helpful https://weewx.com/docs/5.0/

alpha13:

--- Quote from: gszlag on March 12, 2024, 07:31:30 AM ---You may find this link helpful https://weewx.com/docs/5.0/

--- End quote ---

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

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

Navigation

[0] Message Index

[#] Next page

Go to full version