** EDIT **
Original post starts below. Changing the subject and the summary of the post after starting to work through the issue. I seem to have worked through the initial issue related to the psutil module not being found and run into another python resource issue. While I am digging into that it makes me think why have I run into these more fundamental resource issues when I’ve been running Chia on this machine for over 1.5 years. I hadn’t updated the farmer in some time, going from 1.3.3 to 1.7.1 but at the same time it seems odd these problems have cropped up. I will continue to work on the individual issues but curious if I should step back and maybe take a start fresh.
It had been a while since I updated my farmer so I went through the steps today to move to the latest 1.7.1. My farmer is on a RasPi4, Ubuntu 22.04.02 LTS. The update process looked to go fine although it took quite some time to finish the gui update. I never run the gui but did it anyway. Again no real issues. After that finished I went to check the version ran into the error shown below. I obviously tried to initialize Chia and get things started but run into the same error. I tried a few different things but nothing changed the behavior. I tried upgrading psutil but that didn’t help. I don’t have a lot of experience troubleshooting this type of thing. Any thoughts on what I should do? Is there additional information that would be helpful?
(venv) xxxx@sa:~/chia-blockchain$ chia version Traceback (most recent call last): File "/home/xxxx/chia-blockchain/venv/bin/chia", line 33, in <module> sys.exit(load_entry_point('chia-blockchain', 'console_scripts', 'chia')()) File "/home/xxxx/chia-blockchain/venv/bin/chia", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/eljefe/chia-blockchain/chia/cmds/chia.py", line 9, in <module> from chia.cmds.beta import beta_cmd File "/home/xxxx/chia-blockchain/chia/cmds/beta.py", line 10, in <module> from chia.cmds.beta_funcs import ( File "/home/eljefe/chia-blockchain/chia/cmds/beta_funcs.py", line 8, in <module> from chia.util.beta_metrics import metrics_log_interval_max, metrics_log_interval_min File "/home/eljefe/chia-blockchain/chia/util/beta_metrics.py", line 11, in <module> import psutil ModuleNotFoundError: No module named 'psutil'