You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I m trying to install Starfish to MacOS, but either through the standard channel or the git version I obtain error messages that prevent the completion of the installation. Thank you in advance for looking into these problems. Here are the details:
Release from PyPI
% pip install astrostarfish
Collecting astrostarfish
Using cached astrostarfish-0.4.0-py3-none-any.whl.metadata (7.6 kB)
Collecting astropy==4.* (from astrostarfish)
Using cached astropy-4.3.1.tar.gz (7.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [59 lines of output]
./astropy/wcs/setup_package.py:12: SetuptoolsDeprecationWarning: dep_util is Deprecated. Use functions from setuptools.modified instead.
!!
********************************************************************************
Please use `setuptools.modified` instead of `setuptools.dep_util`.
By 2024-May-21, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/setuptools/pull/4069 for details.
********************************************************************************
!!
from setuptools.dep_util import newer_group
astropy/wcs/setup_package.py:12: SetuptoolsDeprecationWarning: dep_util is Deprecated. Use functions from setuptools.modified instead.
!!
********************************************************************************
Please use `setuptools.modified` instead of `setuptools.dep_util`.
By 2024-May-21, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/setuptools/pull/4069 for details.
********************************************************************************
!!
from setuptools.dep_util import newer_group
Traceback (most recent call last):
File "/Users/kervella/anaconda3/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/kervella/anaconda3/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kervella/anaconda3/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 70, in <module>
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/extension_helpers/_setup_helpers.py", line 67, in get_extensions
ext_modules.extend(setuppkg.get_extensions())
^^^^^^^^^^^^^^^^^^^^^^^^^
File "./astropy/modeling/setup_package.py", line 59, in get_extensions
from jinja2 import Environment, FileSystemLoader
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/jinja2/__init__.py", line 33, in <module>
from jinja2.environment import Environment, Template
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/jinja2/environment.py", line 15, in <module>
from jinja2 import nodes
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/jinja2/nodes.py", line 19, in <module>
from jinja2.utils import Markup
File "/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/jinja2/utils.py", line 642, in <module>
from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-build-env-oc_wvoq_/overlay/lib/python3.11/site-packages/markupsafe/__init__.py)
[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.
git development version
% pip install git+https://github.com/iancze/Starfish.git#egg=astrostarfish
Collecting astrostarfish
Cloning https://github.com/iancze/Starfish.git to /private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-install-tcr9s196/astrostarfish_fff081c0ba374a58940037e3bb42cd36
Running command git clone --filter=blob:none --quiet https://github.com/iancze/Starfish.git /private/var/folders/8p/tx8mnzpj2zb5tt00s61nxl0r0000gp/T/pip-install-tcr9s196/astrostarfish_fff081c0ba374a58940037e3bb42cd36
Resolved https://github.com/iancze/Starfish.git to commit 6b20086f85ed92332543a2b30dfd56e851d593a4
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: astropy<6,>=4 in ./anaconda3/lib/python3.11/site-packages (from astrostarfish) (5.3.4)
Collecting dataclasses<0.7,>=0.6 (from astrostarfish)
Downloading dataclasses-0.6-py3-none-any.whl.metadata (3.0 kB)
Collecting extinction==0.4.* (from astrostarfish)
Downloading extinction-0.4.6.tar.gz (18 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting flatdict==4.* (from astrostarfish)
Downloading flatdict-4.0.1.tar.gz (8.3 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: h5py==3.* in ./anaconda3/lib/python3.11/site-packages (from astrostarfish) (3.9.0)
Collecting nptyping==1.* (from astrostarfish)
Downloading nptyping-1.4.4-py3-none-any.whl.metadata (7.7 kB)
Requirement already satisfied: numpy<2,>=1.16 in ./anaconda3/lib/python3.11/site-packages (from astrostarfish) (1.24.3)
Requirement already satisfied: scikit-learn<2,>=0.22 in ./anaconda3/lib/python3.11/site-packages (from astrostarfish) (1.3.0)
Requirement already satisfied: scipy<2,>=1.3.0 in ./anaconda3/lib/python3.11/site-packages (from astrostarfish) (1.11.3)
Requirement already satisfied: toml<0.11,>=0.10.1 in ./anaconda3/lib/python3.11/site-packages (from astrostarfish) (0.10.2)
Requirement already satisfied: tqdm==4.* in ./anaconda3/lib/python3.11/site-packages (from astrostarfish) (4.65.0)
INFO: pip is looking at multiple versions of astrostarfish to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'astrostarfish' requires a different Python: 3.11.5 not in '<3.11,>=3.7'
The text was updated successfully, but these errors were encountered:
Hello,
I m trying to install Starfish to MacOS, but either through the standard channel or the git version I obtain error messages that prevent the completion of the installation. Thank you in advance for looking into these problems. Here are the details:
Release from PyPI
git development version
The text was updated successfully, but these errors were encountered: