[PR #288] [CLOSED] fix: No module named 'scripts.generate_pyi' #345

Closed
opened 2026-10-26 21:16:30 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/288
Author: @HollowMan6
Created: 2/22/2026
Status: ❌ Closed

Base: main ← Head: install


📝 Commits (1)

  • 49154f0 fix: No module named 'scripts.generate_pyi'

📊 Changes

1 file changed (+0 additions, -0 deletions)

View changed files

➕ scripts/__init__.py (+0 -0)

📄 Description

When run install.sh directly, it will fail with
the following error:

Traceback (most recent call last):
  File "DeepGEMM/setup.py", line 19, in <module>
    from scripts.generate_pyi import generate_pyi_file
ModuleNotFoundError: No module named 'scripts.generate_pyi'

This is because the scripts/ directory has no __init__.py, so Python can't import it as a package. The fix is to create one.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/DeepGEMM/pull/288 **Author:** [@HollowMan6](https://github.com/HollowMan6) **Created:** 2/22/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `install` --- ### 📝 Commits (1) - [`49154f0`](https://github.com/deepseek-ai/DeepGEMM/commit/49154f0aa23f3cc8d48b683c62e9195ea8e6aca6) fix: No module named 'scripts.generate_pyi' ### 📊 Changes **1 file changed** (+0 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `scripts/__init__.py` (+0 -0) </details> ### 📄 Description When run `install.sh` directly, it will fail with the following error: ```bash Traceback (most recent call last): File "DeepGEMM/setup.py", line 19, in <module> from scripts.generate_pyi import generate_pyi_file ModuleNotFoundError: No module named 'scripts.generate_pyi' ``` This is because the `scripts/` directory has no `__init__.py`, so Python can't import it as a package. The fix is to create one. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:16:30 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#345
No description provided.