Rolf-Hempel / PlanetarySystemStacker

Produce a sharp image of a planetary system object (moon, sun, planets) from many seeing-affected frames according to the "lucky imaging" technique.
274 stars 32 forks source link

pip install issue on MacOS Sonoma #89

Open rishipat opened 2 months ago

rishipat commented 2 months ago

Hitting this error when I try to install on:

image
        File "/private/var/folders/k8/7ks74b3x6hl_h5n337lkpcw80000gn/T/pip-build-env-h5xf3dbv/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2172, in <module>
          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.

I am using python version 3.12 in my conda environment.

materialvision commented 1 month ago

Don´t know if it helps but you need to run conda in x86 (rosetta emulation), I followed this to get it to work: https://towardsdatascience.com/how-to-install-miniconda-x86-64-apple-m1-side-by-side-on-mac-book-m1-a476936bfaf0