Before posting anything I had already tried this
For Redhat 7:
sudo pip install pyserial pyusb

but CentOS 7.9 has no program pip !! so I had tried this:
[root@CRMG-Fremont weewx]# yum install pip
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.dal10.us.leaseweb.net
No package pip available.
Error: Nothing to do

So I assumed this was not a step for CentOS.... Obviously wrong.

What would the corresponding CentOS 7 program be for pip?

thanks
rich

On Sun, Nov 22, 2020 at 2:56 PM bell...@gmail.com <bellri...@gmail.com>
wrote:

>
> At the very top of that page I see this....
> Install pre-requisites
> For Redhat 8:
> sudo yum install epel-release
> sudo yum install python3-cheetah
> For Redhat 7:
> sudo pip install pyserial pyusb
>
> On Sunday, 22 November 2020 at 16:51:46 UTC-5 paint...@gmail.com wrote:
>
>> thanks Vince!
>>
>> But I'm really confused... IF there are prerequisites then A)  they
>> should be bolted into the rpm process. that is what rpms are for and B)
>> they should be part of the WRITTEN instructions at the OFFICIAL weewx
>> http://weewx.com/docs/redhat.htm for rehat/centos distributions.
>>
>> I take it from your response that this is clearly a well-known (to some)
>> weewx problem so why has not the fixes been written into the weewx
>> http://weewx.com/docs/redhat.htm ??
>>
>> I'm pleased and excited that you have responded with hope. I'm brand new
>> to weewx but have used Ubuntu and CentOS for a very long time. I'm a
>> 40-year C developer but have never known python. I have not been able to
>> get weewx to run on either U20 or C7 !
>>
>> thanks!
>> rich
>>
>>
>>
>>
>> On Sun, Nov 22, 2020 at 2:34 PM vince <vince...@gmail.com> wrote:
>>
>>> On Sunday, November 22, 2020 at 1:11:15 PM UTC-8 paint...@gmail.com
>>> wrote:
>>>
>>>> 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.
>>>>
>>>>
>>> The rpm comes from the weewx team.
>>>
>>> Your 'no module named usb' and 'no module named serial' and the
>>> seemingly missing things are because you didn't have all the prerequisite
>>> python modules (rpms) installed.  This is a longstanding known thing that
>>> has bitten many people over the years.  You have to install the
>>> prerequisites.
>>>
>>> Unfortunately CentOS is weird a.  I did a lot of testing of this in the
>>> v4 pre-release timeframe but did most of it using the setup.py (not rpm)
>>> method of installation.
>>>
>>>  If you give me a couple hours I can probably do a quick test in a VM
>>> both ways to reverify vs. Centos-7.9
>>>
>>>
>>> --
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/7f1b816d-8c81-4eb3-8f96-0939384711cdn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/7f1b816d-8c81-4eb3-8f96-0939384711cdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> 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/1bf910a5-2b25-4119-8d46-70b169101f89n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/1bf910a5-2b25-4119-8d46-70b169101f89n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
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/CABh4ZQhqb47C3AH_uqfEgiKuGPLGvzjYBQn%2Bb3r%2BfWQupfJCXA%40mail.gmail.com.

Reply via email to