Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child process died calling import_library() with args=('pyqtgraph.canvas',) and kwargs={} #465

Closed
3 tasks
snowuyl opened this issue Feb 23, 2024 · 5 comments
Closed
3 tasks
Assignees
Labels
question Further information is required

Comments

@snowuyl
Copy link

snowuyl commented Feb 23, 2024

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
@snowuyl snowuyl added the bug Something isn't working label Feb 23, 2024
Copy link

👋 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.

@snowuyl
Copy link
Author

snowuyl commented 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

@snowuyl
Copy link
Author

snowuyl commented Feb 23, 2024

PyQtGraph.zip

@brentvollebregt
Copy link
Owner

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.

@brentvollebregt brentvollebregt added question Further information is required and removed bug Something isn't working labels Feb 23, 2024
@snowuyl
Copy link
Author

snowuyl commented Mar 1, 2024

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

@snowuyl snowuyl closed this as completed Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is required
Projects
None yet
Development

No branches or pull requests

2 participants