Error in a subprocess

Dear benedictdied,

Thank you for this documentation on ImSwitch. I work on an M1Pro Macbook. I have pip version 25.0 installed and python 3.12. I followed your instruction and executed pip install https://github.com/openUC2/ImSwitch/archive/refs/heads/master.zip

and the error:

File “”, line 488, in call_with_frames_removed
File "/private/var/folders/f
/kth78s2s77x_jl9lz4vtn2340000gn/T/pip-build-env-cqbs6_19/overlay/lib/python3.12/site-packages/setuptools/init.py", line 16, in
import setuptools.version
File “/private/var/folders/f_/kth78s2s77x_jl9lz4vtn2340000gn/T/pip-build-env-cqbs6_19/overlay/lib/python3.12/site-packages/setuptools/version.py”, line 1, in
import pkg_resources
File “/private/var/folders/f_/kth78s2s77x_jl9lz4vtn2340000gn/T/pip-build-env-cqbs6_19/overlay/lib/python3.12/site-packages/pkg_resources/init.py”, line 2172, in
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘pkgutil’ has no attribute ‘ImpImporter’. Did you mean: ‘zipimporter’?
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

could you please help me with that?

Thank you really much
Dennis

Hey Dennis! Thanks for your message. This looks indeed weird. Did you use any kind of python environemnt like anaconda or something like that? Maybe you can have a look here? ImSwitch Installation on Mac and Windows

This worked some weeks ago - but python is always tricky :wink: