indygreg / indygreg/PyOxidizer

PyQT won't work

Open
#74 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

compatibility
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

import PyQt5
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *

while PyQt5 has been successfully imported.
the following lines will through errors as follow

Traceback (most recent call last):
File "importlib.util", line 94, in find_spec
File "dpt_installer", line 17, in
ModuleNotFoundError: No module named 'PyQt5.QtCore'
error: cargo run failed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the dpt_installer entry point shown in the traceback and reproduce the PyQt5 import failure with the listed imports using cargo run. Done means PyQt5.QtCore, QtGui, and QtWidgets resolve without the reported ModuleNotFoundError and cargo run succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.