PyInstaller.depend.bindepend' has no attribute 'selectImports #1
Unanswered
Patricklevyy
asked this question in
Q&A
Replies: 4 comments 2 replies
|
What version of pyinstaller are you running? |
0 replies
|
Hello, |
2 replies
|
@Patricklevyy , I had same issue. Found a answer (not remember where 🤕 ) that simple patch it. I used scripts to automatically patch and use pyinstaller with kivy: To me, it resolves. |
0 replies
|
I also have a python app using Kivy and ran into the same issue. However, when I used python 3.12.3 with pyinstaller 5.13.0 it worked for me. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm trying to convert my .py file to .exe with py installer. I have a simple code that uses kivy. But I have an error that I can't fix. When I launch pyinstaller I get after a few moments:
AttributeError: module 'PyInstaller.depend.bindepend' has no attribute 'selectImports'I asked the issue on pyinstaller discussion but the autor said :
PyInstaller.depend.bindepend.selectImports was refactored into low-level PyInstaller.depend.bindepend.get_imports and high-level PyInstaller.depend.bindepend.binary_dependency_analysis in v.6.0 (pyinstaller/pyinstaller#7784).
So if kivy hook is using selectImports, it should be fixed accordingly. As the hook in question is maintained as part of kivy, you should report the issue to them. (As a side note, I am not sure why kivy hook would need to perform binary dependency analysis itself - it should just return the top-level binaries and let PyInstaller handle the dependencies).
All reactions