-
Notifications
You must be signed in to change notification settings - Fork 19
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
Pyinstaller error (ModuleNotFoundError: No module named 'hunspell.platform') #30
Comments
Hi, cacheman (from the c:\users[YOUR_USER_NAME]\appdata\local\programs\python\python39\lib\ site-packages) It is all 8-9 mb and it works, i tested on the other windows 10 (on other different pc) where the python never was installed and it works well. I attached the zip files which includes those files which need. And it works on ubuntu 20.04 as well just the "putils" need to replace and overwrite from the "/usr/local/lib/python3.8" folder into the dist. I dont know why but maybe cause the os type is different (and i use 3.9 py on windows and on ubuntu run 3.8).
But if u copy from the usr folder the psutil it works on ubuntu as well. I know it is not the best solution, but i dont know how i would be able to sort this... best way.. Regards |
Following what was done here (https://github.com/mobiusklein/cython_pyinstaller_example), I was able to add a file called 'hook-hunspell.py' to my project, which contained the following: |
Hi
My windows is: Windows 10 Pro (1909)
Python version is: 3.9.2
I installed the cyhunspell (pip install cyhunspell), after that i created a simple test.py script file with this contain (which is in the example):
It is worked:
But after that when i tried to create a standalone app with the pyinstaller (E:\Novel\py\t>pyinstaller test.py) and run the exe file from the dist folder (E:\Novel\py\t\dist\test>test.exe) i got this error:
What did i do wrong? I tested the pyinstaller with the PyQt or other modules they are work well, just this module (cyhunspell) give me error.
The details when i use the pyinstaller these:
Thank you your answer in advance!
Regards
B. Birtalan
The text was updated successfully, but these errors were encountered: