Skip to content

pip: mseedindex fails to install #124

@pacreary

Description

@pacreary

Windows 10
Python 3.11
nmake confirmed working

When attempting to run "pip install rover" on the environment above, mseedindex fails to install, the reason may be the following which is AI generated:

"The build script is referencing a forced_include file that doesn’t exist at the expected path after building the C binaries.

This is a bug in the packaging of mseedindex: its pyproject.toml or hatch_build_mseedindex.py refers to a file (likely the compiled binary mseedindex.exe) but fails to copy it to the expected output folder during packaging."

Snippet of error:

File "C:\Users...\AppData\Local\Temp\pip-build-env-hskl727w\overlay\Lib\site-packages\hatchling\builders\wheel.py", line 477, in build_standard
for included_file in self.recurse_included_files():
File "C:\Users...\AppData\Local\Temp\pip-build-env-hskl727w\overlay\Lib\site-packages\hatchling\builders\plugin\interface.py", line 177, in recurse_included_files
yield from self.recurse_forced_files(self.config.get_force_include())
File "C:\Users...\AppData\Local\Temp\pip-build-env-hskl727w\overlay\Lib\site-packages\hatchling\builders\plugin\interface.py", line 237, in recurse_forced_files
raise FileNotFoundError(msg)
FileNotFoundError: Forced include not found: C:\Users...\AppData\Local\Temp\pip-req-build-z5lp2qzu\mseedindex

I worked around this be manually installed mseedindex and disabling the portion of pyproject.toml that attempts to install mseedindex regardless, but wanted to post this in case it is relevant and not an isolated case. Thanks.

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