You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
It looks like Nostril cannot work with PyInstaller ?
I got a Windows EXE but then I got this error :
File "site-packages\nostril\nonsense_detector.py", line 945, in
File "site-packages\nostril\nonsense_detector.py", line 621, in generate_nonsense_detector
ValueError: Cannot find pickle file C:\Users\user\AppData\Local\Programs\Python\Python37\projects\dn_util\dist\site-packages\nostril\ngram_data.pklz
after which, I copied the file ngram_data.pklz manually to the folder in which it is being sought,
but then another error occured (an Exception when I ran my program)
_[Errno 2] No such file or directory: 'C:\Users\user\AppData\Local\Temp\MEI49123\wordsegment\unigrams.txt'
So I believe, if the program was to work seamlessly with PyInstaller, I probably wouldn't need to touch anything.
Notice that everything works perfectly in the Sublime Text IDE.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It looks like Nostril cannot work with PyInstaller ?
I got a Windows EXE but then I got this error :
File "site-packages\nostril\nonsense_detector.py", line 945, in
File "site-packages\nostril\nonsense_detector.py", line 621, in generate_nonsense_detector
ValueError: Cannot find pickle file C:\Users\user\AppData\Local\Programs\Python\Python37\projects\dn_util\dist\site-packages\nostril\ngram_data.pklz
after which, I copied the file ngram_data.pklz manually to the folder in which it is being sought,
but then another error occured (an Exception when I ran my program)
_[Errno 2] No such file or directory: 'C:\Users\user\AppData\Local\Temp\MEI49123\wordsegment\unigrams.txt'
So I believe, if the program was to work seamlessly with PyInstaller, I probably wouldn't need to touch anything.
Notice that everything works perfectly in the Sublime Text IDE.
The text was updated successfully, but these errors were encountered: