CentOS 7.9 64bit clean install
Directions on http://weewx.com/docs/redhat.htm don't result in a workable
weewx.
Note- those instructions do NOT have a step for wee_config --install
Starting weewx installation over from scratch....
Below is a complete transcript. One IMPORTANT thing to notice is the
"installed drivers" output section seems to show there are a LOT of missing
driver components!!!!
ALL of these steps are 100% repeatable. Variants using "wee_config
--reconfigure" result in the SAME failures!
Anyone know who the creator of the rpm repo is??
Any help would be appreciated.
thanks
rich


Uninstall and try again:

----------------- yum remove weewx

----------------- rpm --import http://weewx.com/keys.html

----------------- curl -s http://weewx.com/yum/weewx-el7.repo | sudo tee
/etc/yum.repos.d/weewx.repo
[weewx]
name=weewx
baseurl=http://weewx.com/yum/weewx/el7
enabled=1
gpgcheck=0

----------------- yum install weewx
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.den01.meanservers.net
 * epel: mirror.oss.ou.edu
 * extras: mirror.den01.meanservers.net
 * updates: mirror.vcu.edu
weewx                                                    | 3.0 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package weewx.noarch 0:4.2.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                 Repository
Size
================================================================================
Installing:
 weewx           noarch           4.2.0-1.el7             weewx
1.3 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 1.3 M
Installed size: 4.8 M
Is this ok [y/d/N]:
Downloading packages:
weewx-4.2.0-1.el7.noarch.rpm                               | 1.3 MB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : weewx-4.2.0-1.el7.noarch
1/1
Listing /usr/share/weewx ...
Listing /usr/share/weewx/schemas ...
Listing /usr/share/weewx/user ...
Listing /usr/share/weewx/weecfg ...
Listing /usr/share/weewx/weedb ...
Listing /usr/share/weewx/weeimport ...
Listing /usr/share/weewx/weeplot ...
Listing /usr/share/weewx/weeutil ...
Listing /usr/share/weewx/weewx ...
Listing /usr/share/weewx/weewx/drivers ...
Starting weewx (via systemctl):  [  OK  ]
  Verifying  : weewx-4.2.0-1.el7.noarch
1/1

Installed:
  weewx.noarch 0:4.2.0-1.el7

Complete!

# this next step is NOT in the instructions but elsewhere weewx is supposed
to be stopped before doing the config....
# even so, leaving out this step does NOT change anything! The result of
the wee_config is the same failure....
----------------- service weewx stop

# Next Configure:
----------------- cd /etc/weewx
----------------- wee_config --debug --verbosity=3 --install
--output=weewx.conf --dist-config=weewx.conf.dist
Enter a brief description of the station, such as its location.  For
example:
Santa's Workshop, North Pole
description [My Little Town, Oregon]: Fremont Comm Site, Salida CO

Specify altitude, with units 'foot' or 'meter'.  For example:
35, foot
12, meter
altitude [700, foot]: 11000, foot

Specify latitude in decimal degrees, negative for south.
latitude [0.00]: 38.446630
Specify longitude in decimal degrees, negative for west.
longitude [0.00]: -106.010750

You can register your station on weewx.com, where it will be included
in a map. You will need a unique URL to identify your station (such as a
website, or WeatherUnderground link).
Include station in the station registry (y/n)? [n]: n

Indicate the preferred units for display: ['us', 'metric']
units [us]:

Installed drivers include:
  0) ?               (weewx.drivers.acurite)   No module named usb
  1) ?               (weewx.drivers.cc3000)    No module named serial
  2) ?               (weewx.drivers.fousb)     No module named usb
  3) Simulator       (weewx.drivers.simulator)
  4) ?               (weewx.drivers.te923)     No module named usb
  5) ?               (weewx.drivers.ultimeter) No module named serial
  6) Vantage         (weewx.drivers.vantage)
  7) ?               (weewx.drivers.wmr100)    No module named usb
  8) ?               (weewx.drivers.wmr200)    No module named usb
  9) ?               (weewx.drivers.wmr300)    No module named usb
 10) ?               (weewx.drivers.wmr9x8)    No module named serial
 11) WS1             (weewx.drivers.ws1)
 12) WS23xx          (weewx.drivers.ws23xx)
 13) ?               (weewx.drivers.ws28xx)    No module named usb
choose a driver [3]: 5
Traceback (most recent call last):
  File "/usr/share/weewx/wee_config", line 123, in <module>
    main()
  File "/usr/share/weewx/wee_config", line 117, in main
    config_mgr.run(args, options)
  File "/usr/share/weewx/weecfg/config.py", line 114, in run
    stn_info = self.get_stn_info(config_dict, options)
  File "/usr/share/weewx/weecfg/config.py", line 155, in get_stn_info
    stn_info.update(weecfg.prompt_for_driver_settings(driver, config_dict))
  File "/usr/share/weewx/weecfg/__init__.py", line 1685, in
prompt_for_driver_settings
    __import__(driver)
  File "/usr/share/weewx/weewx/drivers/ultimeter.py", line 59, in <module>
    import serial
ImportError: No module named serial


-- 
Richard A. Painter, P.E. Retired

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CABh4ZQgKXq8K4M6Z3fEWHWSGYnMNkxmaFRd9K_FjC-z23SNJXg%40mail.gmail.com.

Reply via email to