pdm: Issue when building Calibre -- "-c: Unable to find file 'QtWidgets/QtWidgetsmod.sip'"

  • I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

Start a new project, install pyqt5, sip, and pyqt-builder. Clone the calibre source code and run pdm run python setup.py build

Actual behavior

Failure with -c: Unable to find file 'QtWidgets/QtWidgetsmod.sip'

Expected behavior

Succeeding

Environment Information

# Paste the output of `pdm info && pdm info --env` below:
PDM version:        1.12.6
Python Interpreter: /usr/bin/python (3.9)
Project Root:       /home/system/Downloads/calibre
Project Packages:   /home/system/Downloads/calibre/__pypackages__/3.9
{
  "implementation_name": "cpython",
  "implementation_version": "3.9.9",
  "os_name": "posix",
  "platform_machine": "aarch64",
  "platform_release": "5.15.5-1-ARCH",
  "platform_system": "Linux",
  "platform_version": "#1 SMP Wed Dec 1 01:26:36 UTC 2021",
  "python_full_version": "3.9.9",
  "platform_python_implementation": "CPython",
  "python_version": "3.9",
  "sys_platform": "linux"
}

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (17 by maintainers)

Most upvoted comments

I just do everything with PDM now 😃