I download the new package for itergp, and execute the command pip install.
Then, it shows the error "error: subprocess-exited-with-error".
Processing /Users/suyunkuan/Desktop/ML_Numerics for Machine Learning/Exercise/Ex2/itergp
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting probnum@ git+https://github.com/marvinpfoertner/probnum.git@ad-prototype
Cloning https://github.com/marvinpfoertner/probnum.git (to revision ad-prototype) to /private/var/folders/vw/0wr8h_mx7t754p2l19b2mc_r0000gn/T/pip-install-ibzys1gc/probnum_ba67848f910146c89ae6e3683faa4cbe
Running command git clone --filter=blob:none --quiet https://github.com/marvinpfoertner/probnum.git /private/var/folders/vw/0wr8h_mx7t754p2l19b2mc_r0000gn/T/pip-install-ibzys1gc/probnum_ba67848f910146c89ae6e3683faa4cbe
Running command git checkout -b ad-prototype --track origin/ad-prototype
Switched to a new branch 'ad-prototype'
branch 'ad-prototype' set up to track 'origin/ad-prototype'.
Resolved https://github.com/marvinpfoertner/probnum.git to commit bff243f58f2a7f5aa9060a973559b3b4e6ef6db1
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
╰─> [47 lines of output]
Error in sitecustomize; set PYTHONVERBOSE for traceback:
AssertionError:
/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for [tool.setuptools] in pyproject.toml is still beta.
warnings.warn(msg, _BetaConfiguration)
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in
main()
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "", line 33, in
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 159, in setup
dist.parse_config_files()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/dist.py", line 868, in parse_config_files
pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 140, in read_configuration
return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 195, in expand_configuration
return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 242, in expand
self._expand_all_dynamic(dist, package_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 286, in _expand_all_dynamic
version=self._obtain_version(dist, package_dir),
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 332, in _obtain_version
return _expand.version(self._obtain(dist, "version", package_dir))
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 321, in _obtain
return self._expand_directive(
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 315, in _expand_directive
return _expand.read_attr(directive["attr"], package_dir, root_dir)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 187, in read_attr
spec = _find_spec(module_name, path)
File "/opt/homebrew/lib/python3.10/site-packages/setuptools/config/expand.py", line 199, in _find_spec
spec = spec or importlib.util.find_spec(module_name)
File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/util.py", line 94, in find_spec
parent = import(parent_name, fromlist=['path'])
ModuleNotFoundError: No module named 'probnum'
[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.