Skip to content

LNK1104: cannot open file 'python3.lib' in Windows Python 3.13 RC #864

Closed
@dofuuz

Description

@dofuuz

Build fails when targeting ABI3 with Windows + Python 3.13.

OS: Windows
Python: 3.13.0rc1

   LINK : fatal error LNK1104: cannot open file 'python3.lib' [D:\a\nanobind_example\nanobind_example\build\cp312-abi3-win_amd64\nanobind_example_ext.vcxproj]

Full log: https://github.com/dofuuz/nanobind_example/actions/runs/10452840733/job/28942106258#step:5:96
Source: https://github.com/dofuuz/nanobind_example/tree/43c312cfa2dba30183c66a1f8b5ed31c8e0b8083

python3.lib exists within Python libs folder.

More simple way to reproduce it from scikit-build-core example:

cd scikit-build-core\tests\packages\abi3_pyproject_ext
pip wheel -v .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions