- hcam-finder version: 1.3.4
- Python version: 3.9
- Operating System: MacOS Sonoma 14.2, Mac pro with M2 chip
Description
Before on a Mac pro with intel chip the old version 1.1.2 runs perfectly. The whole system was transferred to a new Mac pro with M2 chip.
I updated the hcam_finder version from 1.1.2 to 1.3.4 and I ran hfinder then it gives such error messages:
Traceback (most recent call last):
File "/Users/iac/opt/anaconda3/bin/hfinder", line 28, in <module>
from hcam_widgets.compo import widgets as compo_widgets
File "/Users/iac/opt/anaconda3/lib/python3.8/site-packages/hcam_widgets/compo/widgets.py", line 16, in <module>
from .utils import (
File "/Users/iac/opt/anaconda3/lib/python3.8/site-packages/hcam_widgets/compo/utils.py", line 103, in <module>
importlib_resources.files("hcam_widgets") / "data" / "compo_lens_offset.csv"
AttributeError: module 'importlib.resources' has no attribute 'files'
What I Did
I uninstalled the latest version and reinstalled the old version but the problem was not solved.
Description
Before on a Mac pro with intel chip the old version 1.1.2 runs perfectly. The whole system was transferred to a new Mac pro with M2 chip.
I updated the hcam_finder version from 1.1.2 to 1.3.4 and I ran
hfinderthen it gives such error messages:What I Did
I uninstalled the latest version and reinstalled the old version but the problem was not solved.