Skip to content

Error trying to install requirements #386

Description

@dildosven

PS D:\PADA\Reddit\DownloaderForReddit-master> pip install -r requirements.txt
Collecting beautifulsoup4==4.6.3 (from -r requirements.txt (line 1))
Using cached beautifulsoup4-4.6.3-py3-none-any.whl.metadata (3.0 kB)
Collecting praw==7.7.1 (from -r requirements.txt (line 2))
Using cached praw-7.7.1-py3-none-any.whl.metadata (9.8 kB)
Collecting pyqt5==5.15.4 (from -r requirements.txt (line 3))
Using cached PyQt5-5.15.4.tar.gz (3.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
Traceback (most recent call last):
File "C:\Users\NEJ\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\NEJ\AppData\Local\Programs\Python\Python310\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:\Users\NEJ\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 152, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "C:\Users\NEJ\AppData\Local\Temp\pip-build-env-pi4smhp4\overlay\Lib\site-packages\sipbuild\api.py", line 28, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "C:\Users\NEJ\AppData\Local\Temp\pip-build-env-pi4smhp4\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 74, in bootstrap
project.setup(pyproject, tool, tool_description)
File "C:\Users\NEJ\AppData\Local\Temp\pip-build-env-pi4smhp4\overlay\Lib\site-packages\sipbuild\project.py", line 602, in setup
self.apply_user_defaults(tool)
File "C:\Users\NEJ\AppData\Local\Temp\pip-install-a2k5b6fa\pyqt5_1ae99661f22c4409845972a9b7e37225\project.py", line 63, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:\Users\NEJ\AppData\Local\Temp\pip-build-env-pi4smhp4\overlay\Lib\site-packages\pyqtbuild\project.py", line 51, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:\Users\NEJ\AppData\Local\Temp\pip-build-env-pi4smhp4\overlay\Lib\site-packages\sipbuild\project.py", line 237, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "C:\Users\NEJ\AppData\Local\Temp\pip-build-env-pi4smhp4\overlay\Lib\site-packages\pyqtbuild\builder.py", line 50, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
[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.
PS D:\PADA\Reddit\DownloaderForReddit-master>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions