GreyElaina / Mina

23 stars 6 forks source link

Failture when installing the project as an editable package #15

Open RF-Tar-Railt opened 1 year ago

RF-Tar-Railt commented 1 year ago
[BuildError]: Build backend raised error: Module 'editables' is missing, please make sure it is specified in the 'build-system.requires'       
section. If it is not possible, add it to the project and use '--no-isolation' option.
Showing the last 10 lines of the build output:
    main()
  File "C:\Users\TR\AppData\Local\Programs\Python\Python39\lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 335, in main    
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "C:\Users\TR\AppData\Local\Programs\Python\Python39\lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 273, in
build_editable
    return hook(wheel_directory, config_settings, metadata_directory)
  File "D:\Download\Projects\Alconna-Graia\.venv\Lib\site-packages\mina\backend\__init__.py", line 291, in build_editable
    from pdm.backend.editable import EditableBuilder
  File "D:\Download\Projects\Alconna-Graia\.venv\Lib\site-packages\pdm\backend\editable.py", line 7, in <module>
    from editables import EditableProject
ModuleNotFoundError: No module named 'editables'
RF-Tar-Railt commented 1 year ago

麻了,照着pdm-backend来的 怀疑pdm自己动了什么手脚

GreyElaina commented 1 year ago

被 pdm 气晕