-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install on IpadOS v16.6 #2022
Comments
The error message comes from scikit-build. And the path includes "scikit_build-0.11.2.dev202+g9cc7823-py3.11.egg" which I will presume is the version of the tool. I suggest update scikit-build to a recent release. |
I test to upgrade but I have this now about scikit-learn : error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. |
Closing due to long time since question was asked. If still relevant please feel free to reopen. |
Describe the bug
When I install with pip I have this issue :
Defaulting to user installation because normal site-packages is not writeable
Collecting SimpleITK
Using cached SimpleITK-2.1.1.2.tar.gz (2.0 MB)
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
running dist_info
creating /private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK.egg-info
writing /private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK.egg-info/PKG-INFO
writing dependency_links to /private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK.egg-info/dependency_links.txt
writing top-level names to /private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK.egg-info/top_level.txt
writing manifest file '/private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK.egg-info/SOURCES.txt'
listing git files failed - pretending there aren't any
reading manifest file '/private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'SimpleITK/.ExternalData'
warning: no previously-included files matching '.git*' found anywhere in distribution
writing manifest file '/private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK.egg-info/SOURCES.txt'
creating '/private/var/mobile/Containers/Data/Application/215DDBCB-76A7-41AB-9C97-9B17FEAAD2F6/tmp/pip-modern-metadata-55jiw8v6/SimpleITK-2.1.1.2.dist-info'
Traceback (most recent call last):
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in
main()
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/build_meta.py", line 377, in prepare_metadata_for_build_wheel
self.run_setup()
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "", line 9, in
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/scikit_build-0.11.2.dev202+g9cc7823-py3.11.egg/skbuild/setuptools_wrap.py", line 507, in setup
return setuptools.setup(**kw)
^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/init.py", line 108, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/dist.py", line 1213, in run_command
super().run_command(command)
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/command/dist_info.py", line 101, in run
bdist_wheel = self.get_finalized_command('bdist_wheel')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
cmd_obj.ensure_finalized()
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "/private/var/containers/Bundle/Application/DFC8B3A9-6316-49EC-8A77-53F902881EFC/Carnets-sci.app/Library/lib/python3.11/site-packages/scikit_build-0.11.2.dev202+g9cc7823-py3.11.egg/skbuild/command/bdist_wheel.py", line 54, in finalize_options
if sys.platform == 'darwin' and self.plat_name is None and self.distribution.has_ext_modules():
^^^
NameError: name 'sys' is not defined
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Fix it ^^
Images
If applicable, include a minimal sized sample input and output image. Or SimpleITK commands to synthetically generate
an input.
Additional context
If you can fix it, it will be cool!
Thank you !!
Nicolaeus
The text was updated successfully, but these errors were encountered: