Skip to content

Comments

fix: No module named 'scripts.generate_pyi'#288

Open
HollowMan6 wants to merge 1 commit intodeepseek-ai:mainfrom
HollowMan6:install
Open

fix: No module named 'scripts.generate_pyi'#288
HollowMan6 wants to merge 1 commit intodeepseek-ai:mainfrom
HollowMan6:install

Conversation

@HollowMan6
Copy link

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.

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.

Signed-off-by: Hollow Man <hollowman@opensuse.org>
Copilot AI review requested due to automatic review settings February 22, 2026 16:05
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant