On Tuesday, December 24, 2024 at 7:23:15 AM UTC-5 [email protected] wrote:

I am attempting to install WEEWX on a recently built SUSE Tumbleweed 
installation.
However, I have not had any success.

 Tried this first:
   

* curl -s https://weewx.com/suse/weewx.repo 
<https://weewx.com/suse/weewx.repo> | \      sudo tee 
/etc/zypp/repos.d/weewx.repo    zypper install weewx*
   
   URL was not found: http://weewx.com/suse/weewx/suse202441126  


it looks like tumbleweed uses some integer identifier as its value for 
$releasever_major

you can either edit weewx.repo to change this:

baseurl=http://weewx.com/suse/weewx/suse$releasever_major

to this:

baseurl=http://weewx.com/suse/weewx/suse15

or you can download the suse15 repofile:

curl -s https://weewx.com/suse/weewx-suse15.repo | sudo tee 
/etc/zypp/repos.d/weewx.repo

then when you do 'zypper install weewx' everything should work.  tested 
with tumbleweed 20241025

 

 Then tried installing from downloaded RPM:
  *rpm -ihv weewx-5.1.0-2.suse15.noarch.rpm *
   error: Failed dependencies:
           python3-usb is needed by weewx-5.1.0-2.suse15.noarch
           
   Attempted installation of PYTHON3-USB:
     *zypper install python3-usb*
    
      Problem: 1: nothing provides 'python(abi) = 3.6' needed by the to be 
installed python3-usb-1.0.2-37.12.noarch
       Solution 1: do not install python3-usb-1.0.2-37.12.noarch
       Solution 2: break python3-usb-1.0.2-37.12.noarch by ignoring some of 
its dependencies       


try using zypper to install the rpm - it will handle the dependencies, 
whereas rpm will not.

 

 Last ditch attempt using PIP:      
    *python3 -m pip install weewx*
      DEPRECATION: Loading egg at 
/usr/lib64/python3.11/site-packages/TBB-2021.13.0-py3.11-linux-x86_64.egg 
is deprecated. pip 25.1 will enforce this behaviour change. A possible 
replacement is to use pip for package installation. Discussion can be found 
at https://github.com/pypa/pip/issues/12330
      error: externally-managed-environment


did you install the python3-importlib_resources, python3-pip, and 
python3-venv packages before trying the pip install?
 

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/610336c2-14c0-4067-8073-6c803d684fdan%40googlegroups.com.

Reply via email to