mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 12:15:50 +03:00
[GH-ISSUE #45] cannot parse HMODULE #43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasBe on GitHub (Feb 1, 2019).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/45
Setting up evreything seems to work, but if I execute/run the tool via 'auto-py-to-exe' I got:
cannot parse "HMODULE WINAPI LoadLibraryExW(LPCTSTR lpFileName, HANDLE hFile, DWORD dwFlags);"
:16:16: before: LoadLibraryExW
I went through all documentation I found online but got no idea what the root cause could be.
@brentvollebregt commented on GitHub (Feb 2, 2019):
Looks like something wrong with PyInstaller. Have you tried reinstalling it?
@ThomasBe commented on GitHub (Feb 2, 2019):
I will try ...
@ThomasBe commented on GitHub (Feb 4, 2019):
Interesting, I tried with a new installed version of python (x,y) (https://python-xy.github.io/downloads.html) via 'pip install auto-py-to-exe' with the same error.
Then I created a new a virtual environment and manually installed pyinstaller ('setup install') because via pip I always run into trouble. In this clean virtual environment 'pip install auto-py-to-exe' gives me finally a working version.
@brentvollebregt commented on GitHub (Feb 4, 2019):
If you call
from PyInstaller import __main__in the environment that wasn't working, do any errors appear?@ThomasBe commented on GitHub (Feb 4, 2019):
I get:
@brentvollebregt commented on GitHub (Feb 4, 2019):
Ok, thank you for this. Since the error occurs outside of auto-py-to-exe then this is not an issue with auto-py-to-exe.
If you're able to setup a guide showing people how to reproduce this error, you could report it to PyInstaller and see if they have any clue what might be causing this.
Also thank you for bringing this up!
@ThomasBe commented on GitHub (Feb 4, 2019):
ok.
@brentvollebregt commented on GitHub (Feb 4, 2019):
Sorry I couldn't help. I have never seen this before and there isn't much help online about the issue.
@ThomasBe commented on GitHub (Feb 4, 2019):
No problem.
Meanwhile I found out using the previous version of pyinstaller went fine.
I put not so much attention to the fact that I also has problem installing pyinstaller (3.4.1) via pip. But with 'python -m pip pyinstaller==3.3.1' everything is fine and also 'auto-py-to-exe' runs in my 'normal' environment.
It seems to be that issue:
https://github.com/pypa/pip/issues/6163