[GH-ISSUE #465] Child process died calling import_library() with args=('pyqtgraph.canvas',) and kwargs={} #368

Closed
opened 2026-02-26 12:21:22 +03:00 by kerem · 5 comments
Owner

Originally created by @snowuyl on GitHub (Feb 23, 2024).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/465

Originally assigned to: @snowuyl on GitHub.

Quick Checks

  • I have read the help post
    yes
  • I have searched other issues, looking for an issue similar to mine
    yes
  • I have made sure my application/script runs before trying to package
    yes

Describe the bug
I use auto-py-to-exe to create executable file. But it failed with the following error messages.
File "C:\Users\broth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\PyInstaller\isolated_parent.py", line 307, in call
raise SubprocessDiedError(
PyInstaller.isolated._parent.SubprocessDiedError: Child process died calling import_library() with args=('pyqtgraph.canvas',) and kwargs={}. Its exit code was 3221225725.
Traceback (most recent call last):
File "C:\Users\broth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\gevent_ffi\loop.py", line 270, in python_check_callback
def python_check_callback(self, watcher_ptr): # pylint:disable=unused-argument

Expected behavior

auto-py-to-exe can generate executable file successfully.

Your Environment:

  • Python version (python --version): v3.11.8
  • auto-py-to-exe version (pip show auto-py-to-exe): v2.42.0
  • PyInstaller version (pip show pyinstaller): v6.4.0
  • Eel version (pip show eel): v0.16.0
Originally created by @snowuyl on GitHub (Feb 23, 2024). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/465 Originally assigned to: @snowuyl on GitHub. **Quick Checks** - [ ] I have read the [help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe) yes - [ ] I have [searched other issues](https://github.com/brentvollebregt/auto-py-to-exe/issues?q=is%3Aissue+), looking for an issue similar to mine yes - [ ] I have made sure my application/script runs before trying to package yes **Describe the bug** I use auto-py-to-exe to create executable file. But it failed with the following error messages. File "C:\Users\broth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\PyInstaller\isolated\_parent.py", line 307, in call raise SubprocessDiedError( PyInstaller.isolated._parent.SubprocessDiedError: Child process died calling import_library() with args=('pyqtgraph.canvas',) and kwargs={}. Its exit code was 3221225725. Traceback (most recent call last): File "C:\Users\broth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\gevent\_ffi\loop.py", line 270, in python_check_callback def python_check_callback(self, watcher_ptr): # pylint:disable=unused-argument **Expected behavior** auto-py-to-exe can generate executable file successfully. **Your Environment:** - Python version (`python --version`): v3.11.8 - auto-py-to-exe version (`pip show auto-py-to-exe`): v2.42.0 - PyInstaller version (`pip show pyinstaller`): v6.4.0 - Eel version (`pip show eel`): v0.16.0
kerem 2026-02-26 12:21:22 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@github-actions[bot] commented on GitHub (Feb 23, 2024):

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

<!-- gh-comment-id:1960665946 --> @github-actions[bot] commented on GitHub (Feb 23, 2024): 👋 Hi, just a reminder that if you haven't read [the help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/) yet, give it a read to see if your issue is covered in it and make sure to follow [the debugging section](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#debugging). Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help [post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/), [video](https://youtu.be/OZSZHmWSOeM) or create a [new discussion](https://github.com/brentvollebregt/auto-py-to-exe/discussions).
Author
Owner

@snowuyl commented on GitHub (Feb 23, 2024):

Procedure to reproduce this issue.

  1. Unzipping PyQtGraph.zip to D:\ folder
  2. Launching auto-py-to-exe
  3. Selecting D:\PyQtGraph\main.py
<!-- gh-comment-id:1960681485 --> @snowuyl commented on GitHub (Feb 23, 2024): Procedure to reproduce this issue. 1. Unzipping PyQtGraph.zip to D:\ folder 2. Launching auto-py-to-exe 3. Selecting D:\PyQtGraph\main.py
Author
Owner

@snowuyl commented on GitHub (Feb 23, 2024):

PyQtGraph.zip

<!-- gh-comment-id:1960681614 --> @snowuyl commented on GitHub (Feb 23, 2024): [PyQtGraph.zip](https://github.com/brentvollebregt/auto-py-to-exe/files/14381347/PyQtGraph.zip)
Author
Owner

@brentvollebregt commented on GitHub (Feb 23, 2024):

That script in the zip uses numpy, PyQt6 and pyqtgraph but I do not see any reproduction steps outlining these. To make this whole process a lot easier, could you follow this template and make sure to add reproduction steps with a minimal reproducible example - you can put the python code in tripple backticks. I imagine this error only occurs when using one of the libraries, not all 3 at once.

<!-- gh-comment-id:1961262672 --> @brentvollebregt commented on GitHub (Feb 23, 2024): That script in the zip uses numpy, PyQt6 and pyqtgraph but I do not see any reproduction steps outlining these. To make this whole process a lot easier, could you follow [this template](https://github.com/brentvollebregt/auto-py-to-exe/blob/master/.github/ISSUE_TEMPLATE/bug_report.md) and make sure to add reproduction steps with a **minimal reproducible example** - you can put the python code in tripple backticks. I imagine this error only occurs when using one of the libraries, not all 3 at once.
Author
Owner

@snowuyl commented on GitHub (Mar 1, 2024):

Thanks for your reply! I can generate main.exe successfully after installing pyqtgraph from https://github.com/pyqtgraph/pyqtgraph master branch.

<!-- gh-comment-id:1972323808 --> @snowuyl commented on GitHub (Mar 1, 2024): Thanks for your reply! I can generate main.exe successfully after installing pyqtgraph from https://github.com/pyqtgraph/pyqtgraph master branch.
Sign in to join this conversation.
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
starred/auto-py-to-exe#368
No description provided.