I spun up a clean Rocky Linux 9.1 container on Proxmox today to give v5 
install a shot.
I created a user so as to not be installing as root, though I am going to 
use sudo, so...
I used a variety of resources to get the general flow.
This one was good, but didn't hold your hand.
https://github.com/weewx/weewx/wiki/pip-install-strategies
This one had a bit more handholding, but was incomplete and was debian 
oriented.
https://github.com/weewx/weewx/blob/V5/docs/quickstarts/pip.md

Between the two, I thought I had enough to install.
sudo python3 -m pip install weewx

That resulted in a good install, but a few items were not done with pip as 
they needed wheel to be available.
There were also PATH warnings that look to be in error as the directories 
are in the path. Plus, weewxd and utilities ran fine without explicit full 
paths.

I'm attaching the output from the install as weewx5-install.txt mainly to 
show these items.

I have installed weewx-mqtt and weewx-weatherlink-live, reconfigured for 
these and all is running fine.

Next I will add the systemd service file and enable it.

I was kinda hesitant to go down the pip path. For no reason it seems. This 
was easier than my traditional setup.py install.

-- 
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/98edb954-2e38-490c-850c-a90f01f785fdn%40googlegroups.com.
[wx@wx-pip ~]$ sudo python3 -m pip install weewx
[sudo] password for wx:
Collecting weewx
  Downloading weewx-5.0.0a13-py3-none-any.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 2.3 MB/s
Collecting pyusb<2.0.0,>=1.0.2
  Downloading pyusb-1.2.1-py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB 3.2 MB/s
Collecting CT3<4.0,>=3.1
  Downloading CT3-3.3.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl 
(666 kB)
     |████████████████████████████████| 666 kB 9.9 MB/s
Collecting PyMySQL<2.0,>=1.0
  Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB)
     |████████████████████████████████| 43 kB 1.1 MB/s
Collecting pyephem<4.0,>=3.7
  Downloading pyephem-3.7.7.0.tar.gz (1.3 kB)
Collecting Pillow<10.0,>=9.3
  Downloading Pillow-9.4.0-cp39-cp39-manylinux_2_28_x86_64.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 12.9 MB/s
Collecting pyserial<4.0,>=3.4
  Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
     |████████████████████████████████| 90 kB 4.3 MB/s
Requirement already satisfied: configobj>=4.7 in 
/usr/lib/python3.9/site-packages (from weewx) (5.0.6)
Requirement already satisfied: six<2,>=1 in /usr/lib/python3.9/site-packages 
(from weewx) (1.15.0)
Collecting ephem==3.7.7.0
  Downloading ephem-3.7.7.0.tar.gz (745 kB)
     |████████████████████████████████| 745 kB 11.5 MB/s
Using legacy 'setup.py install' for pyephem, since package 'wheel' is not 
installed.
Using legacy 'setup.py install' for ephem, since package 'wheel' is not 
installed.
Installing collected packages: ephem, pyusb, pyserial, PyMySQL, pyephem, 
Pillow, CT3, weewx
    Running setup.py install for ephem ... done
  WARNING: The scripts pyserial-miniterm and pyserial-ports are installed in 
'/usr/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.
    Running setup.py install for pyephem ... done
  WARNING: The scripts wee_database, wee_debug, wee_device, wee_import, 
wee_reports, weectl, weewxd and wunderfixer are installed in '/usr/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.
Successfully installed CT3-3.3.1 Pillow-9.4.0 PyMySQL-1.0.2 ephem-3.7.7.0 
pyephem-3.7.7.0 pyserial-3.5 pyusb-1.2.1 weewx-5.0.0a13
WARNING: Running pip as the 'root' user can result in broken permissions and 
conflicting behaviour with the system package manager. It is recommended to use 
a virtual environment instead: https://pip.pypa.io/warnings/venv
[wx@wx-pip ~]$ echo $PATH
/home/wx/.local/bin:/home/wx/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin

Reply via email to