Don't know if I'm using pyinstaller correctly or if there an error?UnicodeDecodeError: 'charmap' codec can't decode byte X in position Y: character maps to <undefined>PyInstaller Error when converting Python 3.6 code to .exePyInstaller gives the same encoding errorTensorflow-gpu with pyinstallerPyinstaller Error Bundling Egg Files FileNotFoundError: [Errno 2] No such file or directoryI am trying to use pip to install modules, I get: AttributeError: module 'enum' has no attribute 'IntFlag' Why is this happening?Fatal Python error: initfsencoding: unable to load the file system codecpyinstaller error with os.Pathlike objectType error while working with Theano and TensorParallel Program error during pool creation in python

What defines a dissertation?

How does it work when somebody invests in my business?

Personal Teleportation as a Weapon

Minimal reference content

Teaching indefinite integrals that require special-casing

How can a jailer prevent the Forge Cleric's Artisan's Blessing from being used?

Valid Badminton Score?

Curses work by shouting - How to avoid collateral damage?

What's a natural way to say that someone works somewhere (for a job)?

voltage of sounds of mp3files

Is there a problem with hiding "forgot password" until it's needed?

Will it be accepted, if there is no ''Main Character" stereotype?

How do I rename a LINUX host without needing to reboot for the rename to take effect?

Where in the Bible does the greeting ("Dominus Vobiscum") used at Mass come from?

Mapping a list into a phase plot

Everything Bob says is false. How does he get people to trust him?

Your magic is very sketchy

What would happen if the UK refused to take part in EU Parliamentary elections?

Why are on-board computers allowed to change controls without notifying the pilots?

How does residential electricity work?

Why Were Madagascar and New Zealand Discovered So Late?

How do I keep an essay about "feeling flat" from feeling flat?

The baby cries all morning

Why does John Bercow say “unlock” after reading out the results of a vote?



Don't know if I'm using pyinstaller correctly or if there an error?


UnicodeDecodeError: 'charmap' codec can't decode byte X in position Y: character maps to <undefined>PyInstaller Error when converting Python 3.6 code to .exePyInstaller gives the same encoding errorTensorflow-gpu with pyinstallerPyinstaller Error Bundling Egg Files FileNotFoundError: [Errno 2] No such file or directoryI am trying to use pip to install modules, I get: AttributeError: module 'enum' has no attribute 'IntFlag' Why is this happening?Fatal Python error: initfsencoding: unable to load the file system codecpyinstaller error with os.Pathlike objectType error while working with Theano and TensorParallel Program error during pool creation in python













-1















I have a weird problem with using pyinstaller...
OS: Windows 10
python version: 3.7.2
I installed (and tried reinstalling and uninstalling 4 times) pyinstaller with:



pip install pyinstaller


and I'm pretty sure the download was successful...



I went using cmd and the command cd and dir to the folder which contains the .py file (named Hangman.py) and typed as the pyinstaller docs say:
pyinstaller PYTHON FILE NAME.py
and what I got is the following (and the exe file wasn't created)



C:UsersamitkOneDriveSchool2018-2019 טCyber>pyinstaller hangman.py
334 INFO: PyInstaller: 3.4
334 INFO: Python: 3.7.2
338 INFO: Platform: Windows-10-10.0.17134-SP0


Here starts the error traceback



Traceback (most recent call last):
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:UsersamitkAppDataLocalProgramsPythonPython37Scriptspyinstaller.exe__main__.py", line 9, in <module>
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 109, in run
spec_file = run_makespec(**vars(args))
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 56, in run_makespec
spec_file = PyInstaller.building.makespec.main(filenames, **opts)
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstallerbuildingmakespec.py", line 447, in main
specfile.write(onedirtmplt % d)
File "c:usersamitkappdatalocalprogramspythonpython37libencodingscp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character 'u05d8' in position 149: character maps to <undefined>


Things I tried to fix the bug:



  • uninstalling and then installing Python

  • clearing pyinstaller cache using pyinstaller --clean hangman.py

  • uninstalling and then installing pyinstaller

  • updating pyinstaller

I think that's everything I did... all I want to do is to compile it into an EXE or some other Windows runnable file



edit:
Added error code instead of screenshot










share|improve this question
























  • Hi Amit, please put the trackback you received as text and not as a screenshot if possible.

    – Nexaspx
    Mar 8 at 10:00











  • Upgraded, Switch to text instead of the screenshot sry

    – Amit Keren
    Mar 8 at 10:43











  • ט is a letter which symbols 9, in my case 9th grade :) Thanks I'll try it! Thanks you so much!

    – Amit Keren
    Mar 8 at 10:55











  • Solved thanks!!

    – Amit Keren
    Mar 8 at 11:01















-1















I have a weird problem with using pyinstaller...
OS: Windows 10
python version: 3.7.2
I installed (and tried reinstalling and uninstalling 4 times) pyinstaller with:



pip install pyinstaller


and I'm pretty sure the download was successful...



I went using cmd and the command cd and dir to the folder which contains the .py file (named Hangman.py) and typed as the pyinstaller docs say:
pyinstaller PYTHON FILE NAME.py
and what I got is the following (and the exe file wasn't created)



C:UsersamitkOneDriveSchool2018-2019 טCyber>pyinstaller hangman.py
334 INFO: PyInstaller: 3.4
334 INFO: Python: 3.7.2
338 INFO: Platform: Windows-10-10.0.17134-SP0


Here starts the error traceback



Traceback (most recent call last):
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:UsersamitkAppDataLocalProgramsPythonPython37Scriptspyinstaller.exe__main__.py", line 9, in <module>
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 109, in run
spec_file = run_makespec(**vars(args))
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 56, in run_makespec
spec_file = PyInstaller.building.makespec.main(filenames, **opts)
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstallerbuildingmakespec.py", line 447, in main
specfile.write(onedirtmplt % d)
File "c:usersamitkappdatalocalprogramspythonpython37libencodingscp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character 'u05d8' in position 149: character maps to <undefined>


Things I tried to fix the bug:



  • uninstalling and then installing Python

  • clearing pyinstaller cache using pyinstaller --clean hangman.py

  • uninstalling and then installing pyinstaller

  • updating pyinstaller

I think that's everything I did... all I want to do is to compile it into an EXE or some other Windows runnable file



edit:
Added error code instead of screenshot










share|improve this question
























  • Hi Amit, please put the trackback you received as text and not as a screenshot if possible.

    – Nexaspx
    Mar 8 at 10:00











  • Upgraded, Switch to text instead of the screenshot sry

    – Amit Keren
    Mar 8 at 10:43











  • ט is a letter which symbols 9, in my case 9th grade :) Thanks I'll try it! Thanks you so much!

    – Amit Keren
    Mar 8 at 10:55











  • Solved thanks!!

    – Amit Keren
    Mar 8 at 11:01













-1












-1








-1








I have a weird problem with using pyinstaller...
OS: Windows 10
python version: 3.7.2
I installed (and tried reinstalling and uninstalling 4 times) pyinstaller with:



pip install pyinstaller


and I'm pretty sure the download was successful...



I went using cmd and the command cd and dir to the folder which contains the .py file (named Hangman.py) and typed as the pyinstaller docs say:
pyinstaller PYTHON FILE NAME.py
and what I got is the following (and the exe file wasn't created)



C:UsersamitkOneDriveSchool2018-2019 טCyber>pyinstaller hangman.py
334 INFO: PyInstaller: 3.4
334 INFO: Python: 3.7.2
338 INFO: Platform: Windows-10-10.0.17134-SP0


Here starts the error traceback



Traceback (most recent call last):
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:UsersamitkAppDataLocalProgramsPythonPython37Scriptspyinstaller.exe__main__.py", line 9, in <module>
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 109, in run
spec_file = run_makespec(**vars(args))
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 56, in run_makespec
spec_file = PyInstaller.building.makespec.main(filenames, **opts)
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstallerbuildingmakespec.py", line 447, in main
specfile.write(onedirtmplt % d)
File "c:usersamitkappdatalocalprogramspythonpython37libencodingscp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character 'u05d8' in position 149: character maps to <undefined>


Things I tried to fix the bug:



  • uninstalling and then installing Python

  • clearing pyinstaller cache using pyinstaller --clean hangman.py

  • uninstalling and then installing pyinstaller

  • updating pyinstaller

I think that's everything I did... all I want to do is to compile it into an EXE or some other Windows runnable file



edit:
Added error code instead of screenshot










share|improve this question
















I have a weird problem with using pyinstaller...
OS: Windows 10
python version: 3.7.2
I installed (and tried reinstalling and uninstalling 4 times) pyinstaller with:



pip install pyinstaller


and I'm pretty sure the download was successful...



I went using cmd and the command cd and dir to the folder which contains the .py file (named Hangman.py) and typed as the pyinstaller docs say:
pyinstaller PYTHON FILE NAME.py
and what I got is the following (and the exe file wasn't created)



C:UsersamitkOneDriveSchool2018-2019 טCyber>pyinstaller hangman.py
334 INFO: PyInstaller: 3.4
334 INFO: Python: 3.7.2
338 INFO: Platform: Windows-10-10.0.17134-SP0


Here starts the error traceback



Traceback (most recent call last):
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:usersamitkappdatalocalprogramspythonpython37librunpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:UsersamitkAppDataLocalProgramsPythonPython37Scriptspyinstaller.exe__main__.py", line 9, in <module>
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 109, in run
spec_file = run_makespec(**vars(args))
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstaller__main__.py", line 56, in run_makespec
spec_file = PyInstaller.building.makespec.main(filenames, **opts)
File "c:usersamitkappdatalocalprogramspythonpython37libsite-packagesPyInstallerbuildingmakespec.py", line 447, in main
specfile.write(onedirtmplt % d)
File "c:usersamitkappdatalocalprogramspythonpython37libencodingscp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character 'u05d8' in position 149: character maps to <undefined>


Things I tried to fix the bug:



  • uninstalling and then installing Python

  • clearing pyinstaller cache using pyinstaller --clean hangman.py

  • uninstalling and then installing pyinstaller

  • updating pyinstaller

I think that's everything I did... all I want to do is to compile it into an EXE or some other Windows runnable file



edit:
Added error code instead of screenshot







python unicode cmd pyinstaller






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 10:42







Amit Keren

















asked Mar 8 at 9:33









Amit KerenAmit Keren

85




85












  • Hi Amit, please put the trackback you received as text and not as a screenshot if possible.

    – Nexaspx
    Mar 8 at 10:00











  • Upgraded, Switch to text instead of the screenshot sry

    – Amit Keren
    Mar 8 at 10:43











  • ט is a letter which symbols 9, in my case 9th grade :) Thanks I'll try it! Thanks you so much!

    – Amit Keren
    Mar 8 at 10:55











  • Solved thanks!!

    – Amit Keren
    Mar 8 at 11:01

















  • Hi Amit, please put the trackback you received as text and not as a screenshot if possible.

    – Nexaspx
    Mar 8 at 10:00











  • Upgraded, Switch to text instead of the screenshot sry

    – Amit Keren
    Mar 8 at 10:43











  • ט is a letter which symbols 9, in my case 9th grade :) Thanks I'll try it! Thanks you so much!

    – Amit Keren
    Mar 8 at 10:55











  • Solved thanks!!

    – Amit Keren
    Mar 8 at 11:01
















Hi Amit, please put the trackback you received as text and not as a screenshot if possible.

– Nexaspx
Mar 8 at 10:00





Hi Amit, please put the trackback you received as text and not as a screenshot if possible.

– Nexaspx
Mar 8 at 10:00













Upgraded, Switch to text instead of the screenshot sry

– Amit Keren
Mar 8 at 10:43





Upgraded, Switch to text instead of the screenshot sry

– Amit Keren
Mar 8 at 10:43













ט is a letter which symbols 9, in my case 9th grade :) Thanks I'll try it! Thanks you so much!

– Amit Keren
Mar 8 at 10:55





ט is a letter which symbols 9, in my case 9th grade :) Thanks I'll try it! Thanks you so much!

– Amit Keren
Mar 8 at 10:55













Solved thanks!!

– Amit Keren
Mar 8 at 11:01





Solved thanks!!

– Amit Keren
Mar 8 at 11:01












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060336%2fdont-know-if-im-using-pyinstaller-correctly-or-if-there-an-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060336%2fdont-know-if-im-using-pyinstaller-correctly-or-if-there-an-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

Zrinski family tree See also Navigation menu