OK bear with me please... I can't seem to be able to get back onto the 
Forum today either...? Please can you guide me?

I am now following a Tutorial from here;

https://github.com/matthewwall/weewx-interceptor/
tree/master?tab=readme-ov-file

But I get stuck on something called pip and python-libpcap? This seems to 
put me in a loop trying to get stuff to install...

WEEWX@WEEWX:~ $ sudo pip3 install guizero
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python 
installation or OS distribution provider. You can override this, at the 
risk of breaking your Python installation or OS, by passing 
--break-system-packages.
hint: See PEP 668 for the detailed specification.
WEEWX@WEEWX:~ $ system-wide, try apt install
    python3-xyz
bash: system-wide,: command not found
bash: python3-xyz: command not found
WEEWX@WEEWX:~ $ system-wide, try apt install python3
bash: system-wide,: command not found
WEEWX@WEEWX:~ $ system-wide,apt install python3
bash: system-wide,apt: command not found
WEEWX@WEEWX:~ $ apt install python3
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: 
Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), 
are you root?
WEEWX@WEEWX:~ $ sudo apt install python3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
WEEWX@WEEWX:~ $ sudo pip3  install python3
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python 
installation or OS distribution provider. You can override this, at the 
risk of breaking your Python installation or OS, by passing 
--break-system-packages.
hint: See PEP 668 for the detailed specification.
WEEWX@WEEWX:~ $ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-pip

E: Package 'python-pip' has no installation candidate
WEEWX@WEEWX:~ $ sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
WEEWX@WEEWX:~ $ python3 -m pip install --upgrade pip
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python 
installation or OS distribution provider. You can override this, at the 
risk of breaking your Python installation or OS, by passing 
--break-system-packages.
hint: See PEP 668 for the detailed specification.
WEEWX@WEEWX:~ $ pip-3.2.
bash: pip-3.2.: command not found
WEEWX@WEEWX:~ $ pip-3.2
bash: pip-3.2: command not found
WEEWX@WEEWX:~ $ install pip-3.2
install: missing destination file operand after 'pip-3.2'
Try 'install --help' for more information.
WEEWX@WEEWX:~ $ apt install pip-3.2
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: 
Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), 
are you root?
WEEWX@WEEWX:~ $ sudo apt-get install python-libpcap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python-libpcap
WEEWX@WEEWX:~ $ sudo apt-get install python-libpcap-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python-libpcap-dev
WEEWX@WEEWX:~ $ sudo apt-get install libpcap-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpcap-dev is already the newest version (1.10.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
WEEWX@WEEWX:~ $ python3 -m pip-3.2  install --upgrade pip-3.2
/usr/bin/python3: Error while finding module specification for 'pip-3.2' 
(ModuleNotFoundError: No module named 'pip-3')
WEEWX@WEEWX:~ $ python3 -m pip  install --upgrade pip-3.2
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python 
installation or OS distribution provider. You can override this, at the 
risk of breaking your Python installation or OS, by passing 
--break-system-packages.
hint: See PEP 668 for the detailed specification.
WEEWX@WEEWX:~ $


WEEWX@WEEWX:~ $ sudo apt-get install python-libpcap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python-libpcap
On Monday, March 18, 2024 at 9:02:46 PM UTC Rainer Lang wrote:

> @vince
> for his GW2000 yes, but for his W830 no - the W830 doesn't have the local 
> Ecowitt API - there only the interceptor works (and quite well)
> On 18.03.2024 21:59, vince wrote:
>
> FWIW the gw1000 driver is 'much' easier to get going especially if you're 
> new to the pi.  Works great.
>
> On Monday, March 18, 2024 at 1:12:19 PM UTC-7 Pi Radio wrote:
>
>> Interceptor... I saw that earlier....?  
>>
>> Going forwards I'll stop running and walk slowly through this. Thank you.
>>
>> By the way the Clock on my VHS VCR is still Flashing... I must read the 
>> Instruction Manual one day. (If you are not of a certain age, you are not 
>> going to get that joke).
>>
>> But in all seriousness, I am struggling a bit finding my way around all 
>> of this jargon, so I thought that before getting too much further lost, I 
>> thought I'd wave and ask for guidance.
>>
>> I've learnt a great deal so far on this massive learning curve, but 
>> obviously I am not up to this ...yet.
>>
>> Bear with me whilst I uninstall it all again, and start a fresh again.
>>
>> Many thanks for the Links, I'm off to do some more reading.
>>
>> On Mon, Mar 18, 2024 at 7:55 PM 'Rainer Lang' via weewx-user <
>> weewx...@googlegroups.com> wrote:
>>
>>> The Ventus W830 is a Ecowitt WH2910 clone. In your mail it is not clear 
>>> what "it" means. Your RaspberryPi, weewx, the console.... ?
>>> Maybe you should first make yourself familiar with your environment, 
>>> your setup, the architecture and then see where weewx comes into play.
>>>
>>> I suggest you read https://www.wxforum.net/index.php?topic=40730.0 and 
>>> read the Ecowitt/FineOffset WiKi linked therein.
>>> Read the chapters about data flow and understand where weewx comes into 
>>> play. 
>>> Then there are several chapters about how to connect an Ecowitt console 
>>> to data logger programs like weewx - even with the special example of weewx.
>>>
>>> For your W830 you can (only) use the weewx interceptor driver, for your 
>>> GW2000 the Ecowitt gateway driver aka GW1000 driver.
>>>
>>> The weewx WiKi, even though having significantly improved over time, 
>>> does not give too much attention to the Ecowitt universe yet.
>>> But there is the Fine Offset / Ecowitt WiKi which jumps in here 
>>> regarding which Ecowitt (clone) consoles are supported.
>>> The weewx WiKi itself is still widely focused on old legacy models of 
>>> Fine Offset clone consoles and stations.
>>>
>>> So, I suggest you read this first (see above) and then come back here if 
>>> still needed - by the way, the Simulator driver is only to show that weewx 
>>> has been set up properly in principle. It won't work with your console 
>>> (Weather Station). Having read the weewx documentation you could have 
>>> understood that - but to be fair, it took me also a longer time to come to 
>>> grips with the jargon etc. used even though being an IT professional.
>>>
>>>
>>> On 18.03.2024 20:15, Pi Radio wrote:
>>>
>>> I have just joined, and cannot get my Raspberry Pi configured for my 
>>> Ventus W830 PWS.  It is linked to various Online Weather sites including 
>>> Weather Underground via it's Display. I also have it linked to an Ecowitt 
>>> GW2000 that is not currently linked to any Online Weather sites. 
>>>
>>> I have read the User Guide, and followed various Tutorials, but I am 
>>> none the wiser as to why it does not work?
>>>
>>> Is there a step by step guide that is written for a complete novice like 
>>> me to follow?
>>>
>>> Although the Ventus W830 is listed in the Compatible Hardware List as a 
>>> Fine Offset model it does not appear in the Available Hardware Types in the 
>>> Software on my Raspberry Pi. I have tried using Simulator, plus all of the 
>>> (dozen or so) options for the various types of PWS listed in the software. 
>>>
>>> What am I not doing correctly, or what I have missed, I have no idea? I 
>>> have just followed the Instructions in the "Guide". But there still seem to 
>>> be lots of CRITICAL __main__: errors in Red, so it is a bit catistrophic?
>>>
>>> I am not a programmer, nor that familiar with a Raspberry Pi. All I know 
>>> is what I have been struggling with here, and following YouTube videos.
>>>
>>> Any help would be very, very much appreciated.  
>>> -- 
>>> 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/b6dde367-1685-40a0-a908-8050ccbe9e86n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/b6dde367-1685-40a0-a908-8050ccbe9e86n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> -- 
>>> 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/ec992847-5678-43b7-b314-2be91f896aff%40gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/ec992847-5678-43b7-b314-2be91f896aff%40gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
> 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/f0739c82-ed6b-4919-bde4-9edd2d18c3abn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/f0739c82-ed6b-4919-bde4-9edd2d18c3abn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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/bd143073-ee01-46c5-9a2f-f6237e633e74n%40googlegroups.com.

Reply via email to