netinvent / udev_monitor

A tool to execute actions upon udev events
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Dependencies not pulled correctly #1

Open berezovskyi opened 1 year ago

berezovskyi commented 1 year ago

Installing on RPi with pip3 or pipx, I get

udev_monitor --devices 07b4:0244 --filters usb --action  ~/...sh
Missing pyudev module. Cannot continue

After pip3 install command_runner>=1.4.0 pyudev ofunctions.threading>=1.1.0 ofunctions.logger_utils>=2.3.0, everything works perfectly.

deajan commented 1 year ago

Just tested on a fresh venv in RHEL9:

venv/bin/python -m pip install udev_monitor

Produced

Collecting udev_monitor
  Downloading udev_monitor-1.3.0-py3-none-any.whl (7.9 kB)
Collecting ofunctions.logger-utils>=2.3.0
  Downloading ofunctions.logger_utils-2.4.0-py3-none-any.whl (11 kB)
Collecting ofunctions.threading>=1.1.0
  Downloading ofunctions.threading-2.0.0-py3-none-any.whl (8.9 kB)
Collecting pyudev
  Downloading pyudev-0.24.1-py3-none-any.whl (62 kB)
     |████████████████████████████████| 62 kB 344 kB/s
Collecting command-runner>=1.4.0
  Downloading command_runner-1.5.0-py3-none-any.whl (24 kB)
Collecting psutil>=5.6.0
  Downloading psutil-5.9.5-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB)
     |████████████████████████████████| 282 kB 7.5 MB/s
Collecting typing>=3.5.0
  Downloading typing-3.7.4.3.tar.gz (78 kB)
     |████████████████████████████████| 78 kB 6.6 MB/s
Using legacy 'setup.py install' for typing, since package 'wheel' is not installed.
Installing collected packages: typing, psutil, pyudev, ofunctions.threading, ofunctions.logger-utils, command-runner, udev-monitor
    Running setup.py install for typing ... done
Successfully installed command-runner-1.5.0 ofunctions.logger-utils-2.4.0 ofunctions.threading-2.0.0 psutil-5.9.5 pyudev-0.24.1 typing-3.7.4.3 udev-monitor-1.3.0
WARNING: You are using pip version 21.2.3; however, version 23.1.2 is available.
You should consider upgrading via the '/tmp/venv/bin/python -m pip install --upgrade pip' command.

Looks like dependencies are correctly pulled. Can you give your full install command and output ?

berezovskyi commented 1 year ago

Trying to install udev_events returns an error for me:

$ pip3  install -v udev_events
Using pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
User install by explicit request
Created temporary directory: /tmp/pip-ephem-wheel-cache-i8jzlrjb
Created temporary directory: /tmp/pip-req-tracker-kxcyt66s
Initialized build tracking at /tmp/pip-req-tracker-kxcyt66s
Created build tracker: /tmp/pip-req-tracker-kxcyt66s
Entered build tracker: /tmp/pip-req-tracker-kxcyt66s
Created temporary directory: /tmp/pip-install-c92p7lva
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2 location(s) to search for versions of udev-events:
* https://pypi.org/simple/udev-events/
* https://www.piwheels.org/simple/udev-events/
Fetching project page and analyzing links: https://pypi.org/simple/udev-events/
Getting page https://pypi.org/simple/udev-events/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/udev-events/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/udev-events/ HTTP/1.1" 404 13
Status code 404 not in (200, 203, 300, 301)
Could not fetch URL https://pypi.org/simple/udev-events/: 404 Client Error: Not Found for url: https://pypi.org/simple/udev-events/ - skipping
Fetching project page and analyzing links: https://www.piwheels.org/simple/udev-events/
Getting page https://www.piwheels.org/simple/udev-events/
Found index url https://www.piwheels.org/simple
Looking up "https://www.piwheels.org/simple/udev-events/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): www.piwheels.org:443
https://www.piwheels.org:443 "GET /simple/udev-events/ HTTP/1.1" 404 2565
Status code 404 not in (200, 203, 300, 301)
Could not fetch URL https://www.piwheels.org/simple/udev-events/: 404 Client Error: Not Found for url: https://www.piwheels.org/simple/udev-events/ - skipping
Given no hashes to check 0 links for project 'udev-events': discarding no candidates
ERROR: Could not find a version that satisfies the requirement udev_events
ERROR: No matching distribution found for udev_events
Exception information:
Traceback (most recent call last):
  File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 171, in _merge_into_criterion
    crit = self.state.criteria[name]
KeyError: 'udev-events'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 318, in resolve
    name, crit = self._merge_into_criterion(r, parent=None)
  File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 173, in _merge_into_criterion
    crit = Criterion.from_requirement(self._p, requirement, parent)
  File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 83, in from_requirement
    raise RequirementsConflicted(criterion)
resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('udev_events')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 122, in resolve
    self._result = resolver.resolve(
  File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 453, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 320, in resolve
    raise ResolutionImpossible(e.criterion.information)
resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('udev_events'), parent=None)]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 223, in _main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
    return func(self, options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 346, in run
    requirement_set = resolver.resolve(
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 128, in resolve
    six.raise_from(error, e)
  File "<string>", line 3, in raise_from
pip._internal.exceptions.DistributionNotFound: No matching distribution found for udev_events
Removed build tracker: '/tmp/pip-req-tracker-kxcyt66s'

Installing udev_monitor instead (no venv):

$ uname -rms
Linux 6.1.21-v8+ aarch64
$ pip3 -V
pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
$ python3 -V
Python 3.9.2
$ pip3  install -v udev_monitor
Using pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
User install by explicit request
Created temporary directory: /tmp/pip-ephem-wheel-cache-01_3bacx
Created temporary directory: /tmp/pip-req-tracker-u5kn1kiu
Initialized build tracking at /tmp/pip-req-tracker-u5kn1kiu
Created build tracker: /tmp/pip-req-tracker-u5kn1kiu
Entered build tracker: /tmp/pip-req-tracker-u5kn1kiu
Created temporary directory: /tmp/pip-install-l9phffw_
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2 location(s) to search for versions of udev-monitor:
* https://pypi.org/simple/udev-monitor/
* https://www.piwheels.org/simple/udev-monitor/
Fetching project page and analyzing links: https://pypi.org/simple/udev-monitor/
Getting page https://pypi.org/simple/udev-monitor/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/udev-monitor/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/udev-monitor/ HTTP/1.1" 304 0
  Found link https://files.pythonhosted.org/packages/69/39/7ddfcaa1e46c8827c6634c431f5f1b96888ea4345ad1c8e96342472fadd4/udev_monitor-1.1.0-py3-none-any.whl#sha256=f812474f568c39f977755aafa58ed5ce41e84d5966d587855fc1835102b4f210 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.1.0
  Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/ab/96/522d275fc8923318177ecee8b50c70d4dab85d92d53419ff0a3f7f521064/udev_monitor-1.1.0-py3.10.egg#sha256=8e56ab034fbd16bf3e6d320a9182c0851f9acafbf68cc038b4a7bc19e4a3db3f (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6)
  Found link https://files.pythonhosted.org/packages/1b/23/922dda243d668dbf4b3c5428858f54e7ea46b3d8fe533d90b9430d4126df/udev_monitor-1.1.0.tar.gz#sha256=891478fc3466e87bae8c58608338d4b75a245dfa3df17abc44fd1ccac5eb64bd (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.1.0
  Found link https://files.pythonhosted.org/packages/38/8b/3c18db9a1e18d4b3be2dfb1123d887ae325352632acc34be2d61f18bd0a5/udev_monitor-1.2.1-py3-none-any.whl#sha256=75f55e832a0a6c5c87be81f060fdda9dcf3c639b927c20217e42c0c62e2dea3e (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.1
  Found link https://files.pythonhosted.org/packages/e9/67/688f17a9ae735b1f12af727397922f9f7346c5615389c09472003bf6bd12/udev_monitor-1.2.1.tar.gz#sha256=66358fafb7c2c1981d9d12f9f4de4f6259231154634d6f2fbac406bb7baaafe0 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.1
  Found link https://files.pythonhosted.org/packages/6a/f8/314cf2804f73af4aa0f9e8026004ae0f835b0a9d318d7b53d715792664ee/udev_monitor-1.2.2-py3-none-any.whl#sha256=f175ebea3801760046bfa1fc08eb0e9b75f27c3d32becb454c1a72fa9ad6fc61 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.2
  Found link https://files.pythonhosted.org/packages/69/11/43fda5c72458c804dac4c52cc762ba700491d2dc00758bda2364ef5a7d87/udev_monitor-1.2.2.tar.gz#sha256=09b606e4de8fdff5608d24204bf84c939716991a5f8a7c6a93e500400761c17a (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.2
  Found link https://files.pythonhosted.org/packages/d1/81/6bb57a4b90468306d965d82da46441fde83b84a0bed36667cb23c009d3da/udev_monitor-1.3.0-py3-none-any.whl#sha256=358edc493a2599e703fb536757d6e0313f17fa79a0da2d4dea7f0f3344ef6e0c (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.3.0
  Found link https://files.pythonhosted.org/packages/29/32/ea0f9f4bbdba4343d41fc6575aac7de34c86db80147a766aa909f8e81cb7/udev_monitor-1.3.0.tar.gz#sha256=6d16d78f8781b15fe38764b7f6af1f4b16d368ce4a8b99b4b748399203182696 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.3.0
Fetching project page and analyzing links: https://www.piwheels.org/simple/udev-monitor/
Getting page https://www.piwheels.org/simple/udev-monitor/
Found index url https://www.piwheels.org/simple
Looking up "https://www.piwheels.org/simple/udev-monitor/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): www.piwheels.org:443
https://www.piwheels.org:443 "GET /simple/udev-monitor/ HTTP/1.1" 200 393
Updating cache with response from "https://www.piwheels.org/simple/udev-monitor/"
Caching due to etag
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl#sha256=2866ee076c1b27adda5f9183278cb928ce729420ac8a361227aed02ef7719325 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.3.0
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.2.2-py3-none-any.whl#sha256=8c1ece8819aba3dc71550703a48277b7bf8ce8ce5f7da132b6fcfbe3ae7fc5b3 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.2
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.2.1-py3-none-any.whl#sha256=683a45fc75ccce895ccf75bbe7b06ce38f6520b83dcf2f0e368fe3adb3af3036 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.1
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.1.0-py3-none-any.whl#sha256=af4eebeea36d3ca8c2828cae7706bbffe371c6267256ee506e6d7fc8bfc9e9c1 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.1.0
Given no hashes to check 12 links for project 'udev-monitor': discarding no candidates
Collecting udev_monitor
  Created temporary directory: /tmp/pip-unpack-fvhxrofn
  Found index url https://www.piwheels.org/simple
  Looking up "https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl" in the cache
  Current age based on date: 773920
  https://www.piwheels.org:443 "GET /simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl HTTP/1.1" 304 0
  Using cached https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl (7.8 kB)
  Added udev_monitor from https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl#sha256=2866ee076c1b27adda5f9183278cb928ce729420ac8a361227aed02ef7719325 to build tracker '/tmp/pip-req-tracker-u5kn1kiu'
  Removed udev_monitor from https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl#sha256=2866ee076c1b27adda5f9183278cb928ce729420ac8a361227aed02ef7719325 from build tracker '/tmp/pip-req-tracker-u5kn1kiu'
Created temporary directory: /tmp/pip-unpack-uif1a06m
Installing collected packages: udev-monitor

  changing mode of /home/pi/.local/bin/udev_monitor to 755
Successfully installed udev-monitor-1.3.0
Removed build tracker: '/tmp/pip-req-tracker-u5kn1kiu'

And trying to use it directly:

$ udev_monitor --help
Missing pyudev module. Cannot continue
berezovskyi commented 1 year ago
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
deajan commented 1 year ago

Sorry, did a big typo in my initial response. Can you give me the detailled output of pip install udev_monitor ?

If pyudev still misses, could you install wheel and try again ?

berezovskyi commented 1 year ago

Thanks for a reply! I already did, see below "Installing udev_monitor instead (no venv)". Will now try with wheel.


$ pip3 install wheel
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.34.2)

As you see from an earlier trace, a wheel is used:

  Using cached https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl (7.8 kB)
berezovskyi commented 1 year ago

Here is one more trace, now with pip cache purge, inside a venv, and with a pip version exacty matching yours:

$ pip3 install -vv udev_monitor
Using pip 21.2.3 from /home/pi/temp_venv/lib/python3.9/site-packages/pip (python 3.9)
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-ephem-wheel-cache-_lyl29rt
Created temporary directory: /tmp/pip-req-tracker-4v6tugnq
Initialized build tracking at /tmp/pip-req-tracker-4v6tugnq
Created build tracker: /tmp/pip-req-tracker-4v6tugnq
Entered build tracker: /tmp/pip-req-tracker-4v6tugnq
Created temporary directory: /tmp/pip-install-_0ief9gx
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2 location(s) to search for versions of udev-monitor:
* https://pypi.org/simple/udev-monitor/
* https://www.piwheels.org/simple/udev-monitor/
Fetching project page and analyzing links: https://pypi.org/simple/udev-monitor/
Getting page https://pypi.org/simple/udev-monitor/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/udev-monitor/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/udev-monitor/ HTTP/1.1" 200 1123
Updating cache with response from "https://pypi.org/simple/udev-monitor/"
Caching due to etag
  Found link https://files.pythonhosted.org/packages/69/39/7ddfcaa1e46c8827c6634c431f5f1b96888ea4345ad1c8e96342472fadd4/udev_monitor-1.1.0-py3-none-any.whl#sha256=f812474f568c39f977755aafa58ed5ce41e84d5966d587855fc1835102b4f210 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.1.0
  Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/ab/96/522d275fc8923318177ecee8b50c70d4dab85d92d53419ff0a3f7f521064/udev_monitor-1.1.0-py3.10.egg#sha256=8e56ab034fbd16bf3e6d320a9182c0851f9acafbf68cc038b4a7bc19e4a3db3f (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6)
  Found link https://files.pythonhosted.org/packages/1b/23/922dda243d668dbf4b3c5428858f54e7ea46b3d8fe533d90b9430d4126df/udev_monitor-1.1.0.tar.gz#sha256=891478fc3466e87bae8c58608338d4b75a245dfa3df17abc44fd1ccac5eb64bd (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.1.0
  Found link https://files.pythonhosted.org/packages/38/8b/3c18db9a1e18d4b3be2dfb1123d887ae325352632acc34be2d61f18bd0a5/udev_monitor-1.2.1-py3-none-any.whl#sha256=75f55e832a0a6c5c87be81f060fdda9dcf3c639b927c20217e42c0c62e2dea3e (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.1
  Found link https://files.pythonhosted.org/packages/e9/67/688f17a9ae735b1f12af727397922f9f7346c5615389c09472003bf6bd12/udev_monitor-1.2.1.tar.gz#sha256=66358fafb7c2c1981d9d12f9f4de4f6259231154634d6f2fbac406bb7baaafe0 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.1
  Found link https://files.pythonhosted.org/packages/6a/f8/314cf2804f73af4aa0f9e8026004ae0f835b0a9d318d7b53d715792664ee/udev_monitor-1.2.2-py3-none-any.whl#sha256=f175ebea3801760046bfa1fc08eb0e9b75f27c3d32becb454c1a72fa9ad6fc61 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.2
  Found link https://files.pythonhosted.org/packages/69/11/43fda5c72458c804dac4c52cc762ba700491d2dc00758bda2364ef5a7d87/udev_monitor-1.2.2.tar.gz#sha256=09b606e4de8fdff5608d24204bf84c939716991a5f8a7c6a93e500400761c17a (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.2
  Found link https://files.pythonhosted.org/packages/d1/81/6bb57a4b90468306d965d82da46441fde83b84a0bed36667cb23c009d3da/udev_monitor-1.3.0-py3-none-any.whl#sha256=358edc493a2599e703fb536757d6e0313f17fa79a0da2d4dea7f0f3344ef6e0c (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.3.0
  Found link https://files.pythonhosted.org/packages/29/32/ea0f9f4bbdba4343d41fc6575aac7de34c86db80147a766aa909f8e81cb7/udev_monitor-1.3.0.tar.gz#sha256=6d16d78f8781b15fe38764b7f6af1f4b16d368ce4a8b99b4b748399203182696 (from https://pypi.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.3.0
Fetching project page and analyzing links: https://www.piwheels.org/simple/udev-monitor/
Getting page https://www.piwheels.org/simple/udev-monitor/
Found index url https://www.piwheels.org/simple
Looking up "https://www.piwheels.org/simple/udev-monitor/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): www.piwheels.org:443
https://www.piwheels.org:443 "GET /simple/udev-monitor/ HTTP/1.1" 200 393
Updating cache with response from "https://www.piwheels.org/simple/udev-monitor/"
Caching due to etag
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl#sha256=2866ee076c1b27adda5f9183278cb928ce729420ac8a361227aed02ef7719325 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.3.0
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.2.2-py3-none-any.whl#sha256=8c1ece8819aba3dc71550703a48277b7bf8ce8ce5f7da132b6fcfbe3ae7fc5b3 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.2
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.2.1-py3-none-any.whl#sha256=683a45fc75ccce895ccf75bbe7b06ce38f6520b83dcf2f0e368fe3adb3af3036 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.2.1
  Found link https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.1.0-py3-none-any.whl#sha256=af4eebeea36d3ca8c2828cae7706bbffe371c6267256ee506e6d7fc8bfc9e9c1 (from https://www.piwheels.org/simple/udev-monitor/) (requires-python:>=3.6), version: 1.1.0
Skipping link: not a file: https://www.piwheels.org/simple/udev-monitor/
Skipping link: not a file: https://pypi.org/simple/udev-monitor/
Given no hashes to check 12 links for project 'udev-monitor': discarding no candidates
Collecting udev_monitor
  Created temporary directory: /tmp/pip-unpack-rxuvefd4
  Found index url https://www.piwheels.org/simple
  Looking up "https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl" in the cache
  No cache entry available
  https://www.piwheels.org:443 "GET /simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl HTTP/1.1" 200 7770
  Downloading https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl (7.8 kB)
  Updating cache with response from "https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl"
  Caching due to etag
  Added udev_monitor from https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl#sha256=2866ee076c1b27adda5f9183278cb928ce729420ac8a361227aed02ef7719325 to build tracker '/tmp/pip-req-tracker-4v6tugnq'
  Removed udev_monitor from https://www.piwheels.org/simple/udev-monitor/udev_monitor-1.3.0-py3-none-any.whl#sha256=2866ee076c1b27adda5f9183278cb928ce729420ac8a361227aed02ef7719325 from build tracker '/tmp/pip-req-tracker-4v6tugnq'
Created temporary directory: /tmp/pip-unpack-vboxla7j
Installing collected packages: udev-monitor

  changing mode of /home/pi/temp_venv/bin/udev_monitor to 755
Successfully installed udev-monitor-1.3.0
WARNING: You are using pip version 21.2.3; however, version 23.1.2 is available.
You should consider upgrading via the '/home/pi/temp_venv/bin/python3 -m pip install --upgrade pip' command.
Removed build tracker: '/tmp/pip-req-tracker-4v6tugnq'
deajan commented 1 year ago

I've tried to install udev_monitor on a Debian 9 aarch64, that's the closest I've got to a raspbian distro.

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

I had no problems installing udev_monitor, and pyudev was installed properly. I'm pretty sure you have a non standard python pip implementation, but I don't own a raspberry so I won't be able to test that.

Sorry, I don't think I can do much here, given it would take lots of time, and a workaround exists.

# python3.7 -m venv /tmp/venv
# tmp/venv/bin/python -m pip install udev_monitor
Using pip 22.0.4 from /tmp/venv/lib/python3.7/site-packages/pip (python 3.7)
Collecting udev_monitor
  Downloading udev_monitor-1.3.0-py3-none-any.whl (7.9 kB)
Collecting command-runner>=1.4.0
  Using cached command_runner-1.5.0-py3-none-any.whl (24 kB)
Collecting ofunctions.logger-utils>=2.3.0
  Using cached ofunctions.logger_utils-2.4.0-py3-none-any.whl (11 kB)
Collecting pyudev
  Downloading pyudev-0.24.1-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.9/62.9 KB 546.7 kB/s eta 0:00:00
Collecting ofunctions.threading>=1.1.0
  Using cached ofunctions.threading-2.0.0-py3-none-any.whl (8.9 kB)
Collecting psutil>=5.6.0
  Downloading psutil-5.9.5.tar.gz (493 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 493.5/493.5 KB 5.4 MB/s eta 0:00:00
  Running command pip subprocess to install build dependencies
  Collecting setuptools>=43
    Downloading setuptools-67.7.2-py3-none-any.whl (1.1 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 5.3 MB/s eta 0:00:00
  Collecting wheel
    Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
  Installing collected packages: wheel, setuptools
  Successfully installed setuptools-67.7.2 wheel-0.40.0
  WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available.
  You should consider upgrading via the '/tmp/venv/bin/python -m pip install --upgrade pip' command.
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  running egg_info
  writing psutil.egg-info/PKG-INFO
  writing dependency_links to psutil.egg-info/dependency_links.txt
  writing requirements to psutil.egg-info/requires.txt
  writing top-level names to psutil.egg-info/top_level.txt
  reading manifest file 'psutil.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  adding license file 'LICENSE'
  writing manifest file 'psutil.egg-info/SOURCES.txt'
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating /tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info
  writing /tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info/dependency_links.txt
  writing requirements to /tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info/requires.txt
  writing top-level names to /tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info/top_level.txt
  writing manifest file '/tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  adding license file 'LICENSE'
  writing manifest file '/tmp/pip-modern-metadata-l08p6vjy/psutil.egg-info/SOURCES.txt'
  creating '/tmp/pip-modern-metadata-l08p6vjy/psutil-5.9.5.dist-info'
  Preparing metadata (pyproject.toml) ... done
  Link requires a different Python (3.7.16 not in: '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5'): https://files.pythonhosted.org/packages/8f/00/c999df515e923dbb73281426f5032a3d12b68600e362af30ed2c495d1e79/typing-3.7.4.2.tar.gz#sha256=6f6f3553709d2234e412092e5daa93aaaaa42ea1854505442280b39f9311707f (from https://pypi.org/simple/typing/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5)
  Link requires a different Python (3.7.16 not in: '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5'): https://files.pythonhosted.org/packages/f2/5d/865e17349564eb1772688d8afc5e3081a5964c640d64d1d2880ebaed002d/typing-3.10.0.0-py3-none-any.whl#sha256=12fbdfbe7d6cca1a42e485229afcb0b0c8259258cfb919b8a5e2a5c953742f89 (from https://pypi.org/simple/typing/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5)
  Link requires a different Python (3.7.16 not in: '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5'): https://files.pythonhosted.org/packages/b0/1b/835d4431805939d2996f8772aca1d2313a57e8860fec0e48e8e7dfe3a477/typing-3.10.0.0.tar.gz#sha256=13b4ad211f54ddbf93e5901a9967b1e07720c1d1b78d596ac6a439641aa1b130 (from https://pypi.org/simple/typing/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5)
Collecting typing>=3.5.0
  Using cached typing-3.7.4.3.tar.gz (78 kB)
  Running command python setup.py egg_info
  running egg_info
  creating /tmp/pip-pip-egg-info-mzuzldhd/typing.egg-info
  writing /tmp/pip-pip-egg-info-mzuzldhd/typing.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-pip-egg-info-mzuzldhd/typing.egg-info/dependency_links.txt
  writing top-level names to /tmp/pip-pip-egg-info-mzuzldhd/typing.egg-info/top_level.txt
  writing manifest file '/tmp/pip-pip-egg-info-mzuzldhd/typing.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-pip-egg-info-mzuzldhd/typing.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file '/tmp/pip-pip-egg-info-mzuzldhd/typing.egg-info/SOURCES.txt'
  Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for typing, since package 'wheel' is not installed.
Building wheels for collected packages: psutil
  Running command Building wheel for psutil (pyproject.toml)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-cpython-37
  creating build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/__init__.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_psposix.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_psaix.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_pssunos.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_common.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_psosx.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_psbsd.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_pslinux.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_compat.py -> build/lib.linux-aarch64-cpython-37/psutil
  copying psutil/_pswindows.py -> build/lib.linux-aarch64-cpython-37/psutil
  creating build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/__main__.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/__init__.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_process.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_system.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/runner.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-cpython-37/psutil/tests
  running build_ext
  building 'psutil._psutil_linux' extension
  creating build/temp.linux-aarch64-cpython-37
  creating build/temp.linux-aarch64-cpython-37/psutil
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/tmp/venv/include -I/usr/local/include/python3.7m -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-37/psutil/_psutil_common.o
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/tmp/venv/include -I/usr/local/include/python3.7m -c psutil/_psutil_linux.c -o build/temp.linux-aarch64-cpython-37/psutil/_psutil_linux.o
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/tmp/venv/include -I/usr/local/include/python3.7m -c psutil/_psutil_posix.c -o build/temp.linux-aarch64-cpython-37/psutil/_psutil_posix.o
  gcc -pthread -shared build/temp.linux-aarch64-cpython-37/psutil/_psutil_common.o build/temp.linux-aarch64-cpython-37/psutil/_psutil_linux.o build/temp.linux-aarch64-cpython-37/psutil/_psutil_posix.o -o build/lib.linux-aarch64-cpython-37/psutil/_psutil_linux.abi3.so
  building 'psutil._psutil_posix' extension
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/tmp/venv/include -I/usr/local/include/python3.7m -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-37/psutil/_psutil_common.o
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/tmp/venv/include -I/usr/local/include/python3.7m -c psutil/_psutil_posix.c -o build/temp.linux-aarch64-cpython-37/psutil/_psutil_posix.o
  gcc -pthread -shared build/temp.linux-aarch64-cpython-37/psutil/_psutil_common.o build/temp.linux-aarch64-cpython-37/psutil/_psutil_posix.o -o build/lib.linux-aarch64-cpython-37/psutil/_psutil_posix.abi3.so
  installing to build/bdist.linux-aarch64/wheel
  running install
  running install_lib
  creating build/bdist.linux-aarch64
  creating build/bdist.linux-aarch64/wheel
  creating build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/__init__.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_psutil_linux.abi3.so -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_psposix.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_psaix.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_pssunos.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_common.py -> build/bdist.linux-aarch64/wheel/psutil
  creating build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_sunos.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_unicode.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/__main__.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/__init__.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_posix.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_osx.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_process.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_system.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_misc.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_connections.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_linux.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_bsd.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_contracts.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_windows.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_testutils.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_memleaks.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/runner.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/tests/test_aix.py -> build/bdist.linux-aarch64/wheel/psutil/tests
  copying build/lib.linux-aarch64-cpython-37/psutil/_psosx.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_psbsd.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_pslinux.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_compat.py -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_psutil_posix.abi3.so -> build/bdist.linux-aarch64/wheel/psutil
  copying build/lib.linux-aarch64-cpython-37/psutil/_pswindows.py -> build/bdist.linux-aarch64/wheel/psutil
  running install_egg_info
  running egg_info
  writing psutil.egg-info/PKG-INFO
  writing dependency_links to psutil.egg-info/dependency_links.txt
  writing requirements to psutil.egg-info/requires.txt
  writing top-level names to psutil.egg-info/top_level.txt
  reading manifest file 'psutil.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  adding license file 'LICENSE'
  writing manifest file 'psutil.egg-info/SOURCES.txt'
  Copying psutil.egg-info to build/bdist.linux-aarch64/wheel/psutil-5.9.5-py3.7.egg-info
  running install_scripts
  creating build/bdist.linux-aarch64/wheel/psutil-5.9.5.dist-info/WHEEL
  creating '/tmp/pip-wheel-cl0u8ax1/.tmp-k0mk1fk8/psutil-5.9.5-cp37-abi3-linux_aarch64.whl' and adding 'build/bdist.linux-aarch64/wheel' to it
  adding 'psutil/__init__.py'
  adding 'psutil/_common.py'
  adding 'psutil/_compat.py'
  adding 'psutil/_psaix.py'
  adding 'psutil/_psbsd.py'
  adding 'psutil/_pslinux.py'
  adding 'psutil/_psosx.py'
  adding 'psutil/_psposix.py'
  adding 'psutil/_pssunos.py'
  adding 'psutil/_psutil_linux.abi3.so'
  adding 'psutil/_psutil_posix.abi3.so'
  adding 'psutil/_pswindows.py'
  adding 'psutil/tests/__init__.py'
  adding 'psutil/tests/__main__.py'
  adding 'psutil/tests/runner.py'
  adding 'psutil/tests/test_aix.py'
  adding 'psutil/tests/test_bsd.py'
  adding 'psutil/tests/test_connections.py'
  adding 'psutil/tests/test_contracts.py'
  adding 'psutil/tests/test_linux.py'
  adding 'psutil/tests/test_memleaks.py'
  adding 'psutil/tests/test_misc.py'
  adding 'psutil/tests/test_osx.py'
  adding 'psutil/tests/test_posix.py'
  adding 'psutil/tests/test_process.py'
  adding 'psutil/tests/test_sunos.py'
  adding 'psutil/tests/test_system.py'
  adding 'psutil/tests/test_testutils.py'
  adding 'psutil/tests/test_unicode.py'
  adding 'psutil/tests/test_windows.py'
  adding 'psutil-5.9.5.dist-info/LICENSE'
  adding 'psutil-5.9.5.dist-info/METADATA'
  adding 'psutil-5.9.5.dist-info/WHEEL'
  adding 'psutil-5.9.5.dist-info/top_level.txt'
  adding 'psutil-5.9.5.dist-info/RECORD'
  removing build/bdist.linux-aarch64/wheel
  Building wheel for psutil (pyproject.toml) ... done
  Created wheel for psutil: filename=psutil-5.9.5-cp37-abi3-linux_aarch64.whl size=283047 sha256=920e7a3d1d3acef91dbdafd3aaf2bbb7228cbcc78c11927b7b5a677679481bf2
  Stored in directory: /root/.cache/pip/wheels/eb/6f/78/5e9933ec5c31dca722dedbd58a9bb3ecb5c24a4edec34ac81e
Successfully built psutil
Installing collected packages: typing, pyudev, psutil, ofunctions.threading, ofunctions.logger-utils, command-runner, udev_monitor
  Running command Running setup.py install for typing
  running install
  running build
  running build_py
  creating build
  creating build/lib
  copying src/typing.py -> build/lib
  running install_lib
  copying build/lib/typing.py -> /tmp/venv/lib/python3.7/site-packages
  byte-compiling /tmp/venv/lib/python3.7/site-packages/typing.py to typing.cpython-37.pyc
  running install_egg_info
  running egg_info
  creating src/typing.egg-info
  writing src/typing.egg-info/PKG-INFO
  writing dependency_links to src/typing.egg-info/dependency_links.txt
  writing top-level names to src/typing.egg-info/top_level.txt
  writing manifest file 'src/typing.egg-info/SOURCES.txt'
  reading manifest file 'src/typing.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'src/typing.egg-info/SOURCES.txt'
  Copying src/typing.egg-info to /tmp/venv/lib/python3.7/site-packages/typing-3.7.4.3-py3.7.egg-info
  running install_scripts
  writing list of installed files to '/tmp/pip-record-kz2y71mi/install-record.txt'
  Running setup.py install for typing ... done
  changing mode of /tmp/venv/bin/udev_monitor to 755
Successfully installed command-runner-1.5.0 ofunctions.logger-utils-2.4.0 ofunctions.threading-2.0.0 psutil-5.9.5 pyudev-0.24.1 typing-3.7.4.3 udev_monitor-1.3.0
WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available.
You should consider upgrading via the '/tmp/venv/bin/python -m pip install --upgrade pip' command.
berezovskyi commented 1 year ago

Thanks for all the help, I will try a fresh install of Raspberry Pi OS on another SD card and reply back.

deajan commented 1 year ago

Okay, I'd be interested to get more feedback for this.

deajan commented 1 year ago

@berezovskyi Any news ?