Nach:
hes1@ba001:~$ python3 -m pip install --user weewx.zip
Processing ./weewx.zip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: configobj>=4.7 in 
/usr/lib/python3/dist-packages (from weewx==5.0.0a11) (5.0.6)
Requirement already satisfied: Pillow<10.0,>=9.3 in 
/usr/local/lib/python3.9/dist-packages (from weewx==5.0.0a11) (9.4.0)
Requirement already satisfied: pyephem<4.0,>=3.7 in 
/usr/local/lib/python3.9/dist-packages (from weewx==5.0.0a11) (3.7.7.0)
Requirement already satisfied: pyusb<2.0.0,>=1.0.2 in 
/usr/lib/python3/dist-packages (from weewx==5.0.0a11) (1.0.2)
Requirement already satisfied: PyMySQL<2.0,>=1.0 in 
/usr/local/lib/python3.9/dist-packages (from weewx==5.0.0a11) (1.0.2)
Requirement already satisfied: CT3<4.0,>=3.1 in 
/usr/local/lib/python3.9/dist-packages (from weewx==5.0.0a11) (3.3.1)
Requirement already satisfied: pyserial<4.0,>=3.4 in 
/usr/lib/python3/dist-packages (from weewx==5.0.0a11) (3.5b0)
Requirement already satisfied: six<2,>=1 in /usr/lib/python3/dist-packages 
(from weewx==5.0.0a11) (1.16.0)
Requirement already satisfied: ephem==3.7.7.0 in 
/usr/local/lib/python3.9/dist-packages (from 
pyephem<4.0,>=3.7->weewx==5.0.0a11) (3.7.7.0)
Building wheels for collected packages: weewx
  Building wheel for weewx (pyproject.toml) ... done
  Created wheel for weewx: filename=weewx-5.0.0a11-py3-none-any.whl 
size=1202865 
sha256=b8a1f2efc03d583caf61b9dad3232f0a56e345a81f12b7080cea68d0c5c9b4d7
  Stored in directory: 
/tmp/pip-ephem-wheel-cache-sheuu57b/wheels/73/05/72/94f1f0ea1969fcbed9fa217709c68a80e6d7746e139eb17f89
Successfully built weewx
Installing collected packages: weewx
Successfully installed weewx-5.0.0a11
hes1@ba001:~$ weectl station create
The configuration file will be created at /home/hes1/weewx-data/weewx.conf.

Give a description of your station. This will be used for the title of any 
reports.
Description [WeeWX station]: klein

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

Specify latitude in decimal degrees, negative for south.
latitude [0.0]: 53.6
Specify longitude in decimal degrees, negative for west.
longitude [0.0]: 11.3

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

Choose a unit system for your reports. Possible choices are:
  'us' (ºF, inHg, in, mph)
  'metricwx' (ºC, mbar, mm, m/s)
  'metric' (ºC, mbar, cm, km/h)
Later, you can modify your choice, or choose a combination of units.
Your choice [us]: metric

Installed drivers include:
  0) AcuRite         (weewx.drivers.acurite)   
  1) CC3000          (weewx.drivers.cc3000)    
  2) FineOffsetUSB   (weewx.drivers.fousb)     
  3) Simulator       (weewx.drivers.simulator) 
  4) TE923           (weewx.drivers.te923)     
  5) Ultimeter       (weewx.drivers.ultimeter) 
  6) Vantage         (weewx.drivers.vantage)   
  7) WMR100          (weewx.drivers.wmr100)    
  8) WMR300          (weewx.drivers.wmr300)    
  9) WMR9x8          (weewx.drivers.wmr9x8)    
 10) WS1             (weewx.drivers.ws1)       
 11) WS23xx          (weewx.drivers.ws23xx)    
 12) WS28xx          (weewx.drivers.ws28xx)    
choose a driver [3]: 3
Traceback (most recent call last):
  File "/home/hes1/.local/bin/weectl", line 8, in <module>
    sys.exit(main())
  File "/home/hes1/.local/lib/python3.9/site-packages/weectl.py", line 52, 
in main
    namespace.func(namespace)
  File 
"/home/hes1/.local/lib/python3.9/site-packages/weectllib/parse_station.py", 
line 117, in create_station
    weecfg.station_config.station_create(config_path=namespace.config,
  File 
"/home/hes1/.local/lib/python3.9/site-packages/weecfg/station_config.py", 
line 65, in station_create
    copy_docs(dist_config_dict, docs_root=docs_root)
  File 
"/home/hes1/.local/lib/python3.9/site-packages/weecfg/station_config.py", 
line 483, in copy_docs
    shutil.copytree(docs_resources, docs_dir)
  File "/usr/lib/python3.9/shutil.py", line 555, in copytree
    with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: 
'/home/hes1/.local/lib/python3.9/site-packages/wee_resources/docs'

hes1@ba001:~$ weewxd
Error parsing config file: Unable to find file 'weewx.conf'. Tried 
directories ['/home/hes1/weewx-data', '/etc/weewx', '/home/weewx']
    ****  Traceback (most recent call last):

    ****    File "/home/hes1/.local/lib/python3.9/site-packages/weewxd.py", 
line 83, in main

    ****      config_path, config_dict = 
weecfg.read_config(options.config_path, list(args))

    ****    File 
"/home/hes1/.local/lib/python3.9/site-packages/weecfg/__init__.py", line 
147, in read_config

    ****      config_path = find_file(config_path, args,

    ****    File 
"/home/hes1/.local/lib/python3.9/site-packages/weecfg/__init__.py", line 
115, in find_file

    ****      raise IOError("Unable to find file '%s'. Tried directories %s"

    ****  OSError: Unable to find file 'weewx.conf'. Tried directories 
['/home/hes1/weewx-data', '/etc/weewx', '/home/weewx']

Gruss 
Hartmut


[email protected] schrieb am Montag, 16. Januar 2023 um 05:11:34 UTC+1:

>  WARNING: The scripts weectl and weewxd are installed in 
> '/home/vagrant/.local/bin' which is not on PATH.
>   Consider adding this directory to PATH or, if you prefer to suppress 
> this warning, use --no-warn-script-location.
>
> I worked around it with a quickie script for ubuntu 2204...
>
> cd
> sudo apt-get install -y python3-pip
>
> python3 -m pip install weewx --user
> export PATH=~/.local/bin:$PATH
> weectl station create --driver weewx.drivers.simulator --no-prompt
> weewxd
>
>
> On Sunday, January 15, 2023 at 3:43:37 PM UTC-8 Tom Keffer wrote:
>
>> Hartmut (and others)
>>
>> See the updated pip install instructions <https://weewx.com/v5-docs/pip/>. 
>> It now recommends pip --user (instead of pipx).
>>
>> Give V5.0.0a11 a try. It was built around this assumption.
>>
>> *python3 -m pip install weewx --user*
>> *weectl station create*
>>
>>
>>
>>
>> On Wed, Jan 11, 2023 at 6:34 AM Tom Keffer <[email protected]> wrote:
>>
>>> Well, I guess using symbolic links works, but I don't think the average 
>>> user is going to want to do that.
>>>
>>> In any case, glad to see that it is working for you.
>>>
>>> -tk
>>>
>>> On Wed, Jan 11, 2023 at 5:36 AM Hartmut Schweidler <[email protected]> 
>>> wrote:
>>>
>>>> Meine Lösung ein ff. Links
>>>>
>>>> ln -s 
>>>> /usr/local/lib/python3.9/dist-packages/requests                            
>>>>       
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s 
>>>> /usr/local/lib/python3.9/dist-packages/requests-2.26.0.dist-info     
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s /usr/local/lib/python3.9/dist-packages/urllib3 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s /usr/local/lib/python3.9/dist-packages/urllib3-1.26.7.dist-info 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s /usr/local/lib/python3.9/dist-packages/charset_normalizer 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s 
>>>> /usr/local/lib/python3.9/dist-packages/charset_normalizer-2.0.8.dist-info 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s /usr/local/lib/python3.9/dist-packages/certifi 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s 
>>>> /usr/local/lib/python3.9/dist-packages/certifi-2021.10.8.dist-info 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s /usr/local/lib/python3.9/dist-packages/idna 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s /usr/local/lib/python3.9/dist-packages/idna-3.3.dist-info 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>> ln -s /usr/local/lib/python3.9/dist-packages/Cryptodome 
>>>> /home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages
>>>>
>>>> danach läuft: hes1@ba001:/root$ weewxd 
>>>>
>>>> nur sudo ./.local/bin/weectl daemon install --type=systemd brachte 
>>>> diev. Fehler.
>>>>
>>>> nach etwas Anpassung
>>>>
>>>> Jan 11 11:18:19 ba001 systemd[1]: Starting LSB: weewx weather system...
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: Initializing weewx 
>>>> version 5.0.0a10
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: Using Python 3.9.2 
>>>> (default, Feb 28 2021, 17:03:44) #012[GCC 10.2.1 20210110]
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: Located at 
>>>> /home/hes1/.local/pipx/venvs/weewx/bin/python
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: Platform 
>>>> Linux-5.15.80-sunxi-armv7l-with-glibc2.31
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: Locale is 
>>>> 'LC_CTYPE=de_DE.UTF-8;LC_NUMERIC=de_DE.UTF-8;LC_TIME=de_DE.UTF-8;LC_COLLATE=de_DE.UTF-8;LC_MONETA
>>>>
>>>> RY=de_DE.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=de_DE.UTF-8;LC_NAME=de_DE.UTF-8;LC_ADDRESS=de_DE.UTF-8;LC_TELEPHONE=de_DE.UTF-8;LC_MEASUREMENT=de_DE.UTF-8;
>>>> LC_IDENTIFICATION=de_DE.UTF-8'
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: Using configuration 
>>>> file /home/hes1/weewx-data/weewx.conf
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: Debug is 1
>>>> Jan 11 11:18:20 ba001 weewx[10979] INFO weewxd: PID file is 
>>>> /var/run/weewx.pid
>>>> Jan 11 11:18:20 ba001 weewx[10982] DEBUG weewxd: Initializing engine
>>>> Jan 11 11:18:20 ba001 weewx[10982] INFO weewx.engine: Loading station 
>>>> type WLL (user.wll)
>>>> Jan 11 11:18:20 ba001 weewx[10969]: Starting weewx weather system: 
>>>> weewx.
>>>> Jan 11 11:18:20 ba001 systemd[1]: Started LSB: weewx weather system.
>>>> Jan 11 11:18:21 ba001 weewx[10982] ERROR user.wll: The WeatherLink Live 
>>>> hostname or ip address is required.
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.engine: Loading service 
>>>> weewx.engine.StdTimeSynch
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.engine: Finished loading 
>>>> service weewx.engine.StdTimeSynch
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.engine: Loading service 
>>>> user.airDavis.AirDavis
>>>> Jan 11 11:18:21 ba001 weewx[10982] INFO user.airDavis: service version 
>>>> is 3.0.2
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.manager: Daily summary 
>>>> version is 4.0
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG user.airDavis: collect_data: 
>>>> fetching from url: http://192.168.38.12:80/v1/current_conditions, 
>>>> timeout: 10
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.engine: Finished loading 
>>>> service user.airDavis.AirDavis
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.engine: Loading service 
>>>> user.airDavisOut.AirDavis
>>>> Jan 11 11:18:21 ba001 weewx[10982] INFO user.airDavisOut: service 
>>>> version is 3.0.1
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG urllib3.connectionpool: 
>>>> Starting new HTTP connection (1): 192.168.38.12:80
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.manager: Daily summary 
>>>> version is 4.0
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG user.airDavisOut: 
>>>> collect_data: fetching from url: 
>>>> http://192.168.38.17:80/v1/current_conditions, timeout: 10
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.engine: Finished loading 
>>>> service user.airDavisOut.AirDavis
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG weewx.engine: Loading service 
>>>> user.davishealthapi.DavisHealthAPI
>>>> Jan 11 11:18:21 ba001 weewx[10982] DEBUG urllib3.connectionpool: 
>>>> Starting new HTTP connection (1): 192.168.38.17:80
>>>> Jan 11 11:18:21 ba001 weewx[10982] INFO user.davishealthapi: service 
>>>> version is 4.0.2
>>>> Jan 11 11:18:21 ba001 weewx[10982] INFO user.davishealthapi: archive 
>>>> interval is 1220
>>>>
>>>> läuft bis zum Abbruch per STRG+C
>>>> Jetzt mit
>>>> hes1@ba001:/root$ sudo /etc/init.d/weewx restart
>>>>
>>>> Jan 11 11:24:49 ba001 systemd[1]: Starting LSB: weewx weather system...
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: Initializing weewx 
>>>> version 5.0.0a10
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: Using Python 3.9.2 
>>>> (default, Feb 28 2021, 17:03:44) #012[GCC 10.2.1 20210110]
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: Located at 
>>>> /home/hes1/.local/pipx/venvs/weewx/bin/python
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: Platform 
>>>> Linux-5.15.80-sunxi-armv7l-with-glibc2.31
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: Locale is 
>>>> 'LC_CTYPE=de_DE.UTF-8;LC_NUMERIC=de_DE.UTF-8;LC_TIME=de_DE.UTF-8;LC_COLLATE=de_DE.UTF-8;LC_MONETA
>>>>
>>>> RY=de_DE.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=de_DE.UTF-8;LC_NAME=de_DE.UTF-8;LC_ADDRESS=de_DE.UTF-8;LC_TELEPHONE=de_DE.UTF-8;LC_MEASUREMENT=de_DE.UTF-8;
>>>> LC_IDENTIFICATION=de_DE.UTF-8'
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: Using configuration 
>>>> file /home/hes1/weewx-data/weewx.conf
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: Debug is 0
>>>> Jan 11 11:24:51 ba001 weewx[11365] INFO weewxd: PID file is 
>>>> /var/run/weewx.pid
>>>> Jan 11 11:24:51 ba001 weewx[11368] INFO weewx.engine: Loading station 
>>>> type WLL (user.wll)
>>>> Jan 11 11:24:51 ba001 weewx[11355]: Starting weewx weather system: 
>>>> weewx.
>>>> Jan 11 11:24:51 ba001 systemd[1]: Started LSB: weewx weather system.
>>>> Jan 11 11:24:52 ba001 weewx[11368] ERROR user.wll: The WeatherLink Live 
>>>> hostname or ip address is required.
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airDavis: service version 
>>>> is 3.0.2
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airDavisOut: service 
>>>> version is 3.0.1
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.davishealthapi: service 
>>>> version is 4.0.2
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.davishealthapi: archive 
>>>> interval is 1220
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airQ: AirQ-18 0.18 service
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airQ: volume_mass_method 1
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airQ: reading air-Q-18 
>>>> 'AirQ', host '192.168.38.18': starting
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airQ_dbE: AirQ-19 0.19 
>>>> service
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airQ_dbE: 
>>>> volume_mass_method 1
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO user.airQ_dbE: reading airQ-19 
>>>> 'AirQ19', host '192.168.38.19': starting
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO weewx.engine: StdConvert target 
>>>> unit is 0x10
>>>> Jan 11 11:24:52 ba001 weewx[11368] INFO weewx.wxservices: 
>>>> StdWXCalculate will use data binding wx_binding
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO user.xgreenGTS: Version 0.8a3
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO user.xgreenGTS: Local mean time 
>>>> (LMT) UTC offset 0:45:21.937680
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.engine: Archive will use 
>>>> data binding wx_binding
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.engine: Record generation 
>>>> will be attempted in 'hardware'
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.engine: Using archive 
>>>> interval of 300 seconds (specified in weewx configuration)
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.engine: 'pyephem' 
>>>> detected, extended almanac data is available
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewxd: Starting up weewx 
>>>> version 5.0.0a10
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.engine: Using binding 
>>>> 'wx_binding' to database 'weewxBA001'
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.manager: Starting 
>>>> backfill of daily summaries
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.manager: Daily summaries 
>>>> up to date
>>>> Jan 11 11:24:53 ba001 weewx[11368] INFO weewx.engine: Starting main 
>>>> packet loop.
>>>> Jan 11 11:25:24 ba001 weewx[11368] INFO weewx.manager: Added record 
>>>> 2023-01-11 11:24:51 CET (1673432691) to database 'weewxAirDavis'
>>>> Jan 11 11:25:24 ba001 weewx[11368] INFO weewx.manager: Added record 
>>>> 2023-01-11 11:24:51 CET (1673432691) to daily summary in 'weewxAirDavis'
>>>> Jan 11 11:25:24 ba001 weewx[11368] INFO weewx.manager: Added record 
>>>> 2023-01-11 11:24:52 CET (1673432692) to database 'weewxAirDavisOut'
>>>> Jan 11 11:25:24 ba001 weewx[11368] INFO weewx.manager: Added record 
>>>> 2023-01-11 11:24:52 CET (1673432692) to daily summary in 'weewxAirDavisOut'
>>>> Jan 11 11:25:24 ba001 weewx[11368] INFO user.xgreenGTS: GTS initialized 
>>>> 2023-01-01 00:14:38
>>>> Jan 11 11:25:24 ba001 weewx[11368] INFO user.xgreenGTS: GTS 
>>>> 35.081304164769676, 10 loops
>>>> Jan 11 11:25:24 ba001 weewxd: AqiService: ValueError AQI calculation 
>>>> for pm10_0 on 1673432700 failed: Not enough observations wanted 216, but 
>>>> got 29
>>>> Jan 11 11:25:24 ba001 weewxd: AqiService: ValueError AQI calculation 
>>>> for pm2_5 on 1673432700 failed: Not enough observations wanted 216, but 
>>>> got 
>>>> 29
>>>> Jan 11 11:25:24 ba001 weewxd: AqiService: not storing record for 
>>>> dateTime 1673432700
>>>> Jan 11 11:25:25 ba001 weewx[11368] INFO weewx.manager: Added record 
>>>> 2023-01-11 11:25:00 CET (1673432700) to database 'weewxBA001'
>>>> Jan 11 11:25:26 ba001 weewx[11368] INFO weewx.manager: Added record 
>>>> 2023-01-11 11:25:00 CET (1673432700) to daily summary in 'weewxBA001'
>>>> Jan 11 11:25:44 ba001 weewx[11368] INFO weewx.cheetahgenerator: 
>>>> Generated 8 files for report SeasonsReport in 17.88 seconds
>>>> Jan 11 11:25:49 ba001 weewx[11368] INFO weewx.imagegenerator: Generated 
>>>> 18 images for report SeasonsReport in 4.34 seconds
>>>> Jan 11 11:25:49 ba001 weewx[11368] INFO weewx.reportengine: Copied 5 
>>>> files to /home/hes1/weewx-data/public_html
>>>> Jan 11 11:25:49 ba001 weewx[11368] INFO weewx.cheetahgenerator: 
>>>> Generated 1 files for report AirLinkReport in 0.35 seconds
>>>> Jan 11 11:25:49 ba001 weewx[11368] INFO weewx.imagegenerator: Generated 
>>>> 1 images for report AirLinkReport in 0.19 seconds
>>>> Jan 11 11:26:03 ba001 weewx[11368] INFO weewx.cheetahgenerator: 
>>>> Generated 2 files for report AirQReport in 13.84 seconds
>>>> Jan 11 11:26:03 ba001 weewx[11368] INFO weewx.imagegenerator: Generated 
>>>> 0 images for report AirQReport in 0.09 seconds
>>>> Jan 11 11:26:03 ba001 weewx[11368] INFO weewx.reportengine: Copied 0 
>>>> files to /home/hes1/weewx-data/public_html
>>>> Jan 11 11:26:05 ba001 weewx[11368] INFO weewx.cheetahgenerator: 
>>>> Generated 1 files for report DavisReport in 1.22 seconds
>>>> Jan 11 11:26:05 ba001 weewx[11368] INFO weewx.imagegenerator: Generated 
>>>> 2 images for report DavisReport in 0.40 seconds
>>>> Jan 11 11:26:05 ba001 weewx[11368] INFO weewx.reportengine: Copied 0 
>>>> files to /home/hes1/weewx-data/public_html/davis
>>>>
>>>> Den Vorschlag werde testen
>>>> Hartmut
>>>> Tom Keffer schrieb am Mittwoch, 11. Januar 2023 um 13:49:42 UTC+1:
>>>>
>>>>> This brings up a good point.
>>>>>
>>>>> The virtual environment used by pipx (~/.local/pipx/venvs/weewx) is 
>>>>> not aware of the pip user area ~/.local/lib/python3.9/site-packages. 
>>>>> Instead, you have to install dependencies directly into the VE used by 
>>>>> pipx:
>>>>>
>>>>> *pipx inject weewx requests*
>>>>>
>>>>>
>>>>> Definitely a limitation to using pipx. I'll have to think about 
>>>>> whether we want to recommend this approach.
>>>>>
>>>>> Thanks again, Hartmut.
>>>>>
>>>>> -tk
>>>>>
>>>>>
>>>>> On Wed, Jan 11, 2023 at 12:59 AM Hartmut Schweidler <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> Guten Morgen,
>>>>>> nach der Installation von weewx5 mit pip3 ...
>>>>>>
>>>>>> benötige ich noch eine Installation von  requests  und urllib3 
>>>>>> erscheint 
>>>>>> hes1@ba001:~$ pip3 install requests --user
>>>>>> Requirement already satisfied: requests in 
>>>>>> /usr/local/lib/python3.9/dist-packages (2.26.0)
>>>>>> Requirement already satisfied: urllib3<1.27,>=1.21.1 in 
>>>>>> ./.local/lib/python3.9/site-packages (from requests) (1.26.13)
>>>>>> Requirement already satisfied: certifi>=2017.4.17 in 
>>>>>> /usr/local/lib/python3.9/dist-packages (from requests) (2021.10.8)
>>>>>> Requirement already satisfied: charset-normalizer~=2.0.0 in 
>>>>>> ./.local/lib/python3.9/site-packages (from requests) (2.0.12)
>>>>>> Requirement already satisfied: idna<4,>=2.5 in 
>>>>>> /usr/local/lib/python3.9/dist-packages (from requests) (3.3)
>>>>>> hes1@ba001:~$ weewxd
>>>>>> Traceback (most recent call last):
>>>>>>   File "/home/hes1/.local/bin/weewxd", line 8, in <module>
>>>>>>     sys.exit(main())
>>>>>>   File 
>>>>>> "/home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages/weewxd.py",
>>>>>>  
>>>>>> line 149, in main
>>>>>>     engine = weewx.engine.StdEngine(config_dict)
>>>>>>   File 
>>>>>> "/home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages/weewx/engine.py",
>>>>>>  
>>>>>> line 81, in __init__
>>>>>>     self.setupStation(config_dict)
>>>>>>   File 
>>>>>> "/home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages/weewx/engine.py",
>>>>>>  
>>>>>> line 108, in setupStation
>>>>>>     __import__(driver)
>>>>>>   File 
>>>>>> "/home/hes1/.local/pipx/venvs/weewx/lib/python3.9/site-packages/user/wll.py",
>>>>>>  
>>>>>> line 29, in <module>
>>>>>>     import requests
>>>>>> ModuleNotFoundError: No module named 'requests'
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-development" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-development/a6f1e5d9-6337-47f8-8bf7-1e7613a3f9ccn%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-development/a6f1e5d9-6337-47f8-8bf7-1e7613a3f9ccn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-development" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-development/f50492d7-4236-48f6-a5fd-8720a9e93c40n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-development/f50492d7-4236-48f6-a5fd-8720a9e93c40n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/af4afd20-112f-4c13-be82-2b49060a4d2fn%40googlegroups.com.

Reply via email to