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
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Obtaining file:///C:/Users/chenzw/IdeaProjects/jupyterlab-git
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Installing backend dependencies ... done
Preparing editable metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [36 lines of output]
Traceback (most recent call last):
File "C:\DPS\Python\Python3\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 167, in prepare_metadata_for_build_editable
hook = backend.prepare_metadata_for_build_editable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\DPS\Python\Python3\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\DPS\Python\Python3\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\DPS\Python\Python3\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 176, in prepare_metadata_for_build_editable
whl_basename = build_hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\DPS\Python\Python3\Lib\site-packages\hatchling\build.py", line 61, in build_editable
return os.path.basename(next(builder.build(wheel_directory, ['editable'])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\DPS\Python\Python3\Lib\site-packages\hatchling\builders\plugin\interface.py", line 80, in build
self.metadata.validate_fields()
File "C:\DPS\Python\Python3\Lib\site-packages\hatchling\metadata\core.py", line 167, in validate_fields
_ = self.version
^^^^^^^^^^^^
File "C:\DPS\Python\Python3\Lib\site-packages\hatchling\metadata\core.py", line 55, in version
self._set_version()
File "C:\DPS\Python\Python3\Lib\site-packages\hatchling\metadata\core.py", line 145, in _set_version
core_metadata = self.core
^^^^^^^^^
File "C:\DPS\Python\Python3\Lib\site-packages\hatchling\metadata\core.py", line 94, in core
metadata_hooks = self.hatch.metadata.hooks
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\DPS\Python\Python3\Lib\site-packages\hatchling\metadata\core.py", line 1325, in hooks
raise UnknownPluginError(f'Unknown metadata hook: {hook_name}')
hatchling.plugin.exceptions.UnknownPluginError: Unknown metadata hook: nodejs
[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.
Description
Context
I don't konw how to resolve it,please help me!
The text was updated successfully, but these errors were encountered: