A Tkinter app I am building on 10.13 with py2app 0.14 is crashing with
this error:
Traceback (most recent call last):
File
"/Users/kevin/Programming/quickwho/dist/QuickWho.app/Contents/Resources/__boot__.py",
line 98, in <module>
_run()
File
"/Users/kevin/Programming/quickwho/dist/QuickWho.app/Contents/Resources/__boot__.py",
line 82, in _run
exec(compile(source, path, 'exec'), globals(), globals())
File
"/Users/kevin/Programming/quickwho/dist/QuickWho.app/Contents/Resources/QuickWho.py",
line 8, in <module>
from tkinter import *
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
File "<frozen importlib._bootstrap>", line 616, in
_load_backward_compatible
File "tkinter/__init__.pyc", line 36, in <module>
ValueError: character U+6573552f is not in range [U+0000; U+10ffff]
I am not certain of how to proceed. Please advise.
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.comhttp://www.wtmobilesoftware.com
Before my original post, I looked up html.parser in the Python documentation, and everything I saw indicated to me that it was already installed.
I have now looked again at the documentation and can find examples using html.parser, but nothing that tells me how to install it.
How do I install it? And how can I find what is already installed, and what is available to install without having to download more?
Thanks,
Gerrie Shults
> On Feb 11, 2018, at 18:59, ๆจไฝณไบฎ <fjl2401(a)163.com> wrote:
>
> You should first install html.parser this error report is about html.parser
> Then rerun pip command
>
> ๅ่ชๆ็ iPhone
>
> ๅจ 2018ๅนด2ๆ12ๆฅ๏ผไธๅ5:32๏ผGerrie Shults <gshults(a)icloud.com <mailto:gshults@icloud.com>> ๅ้๏ผ
>
>> Iโm trying to get the latest version of pip to use to install Flask.
>>
>> I have a fresh install of Python 3.6.4, and I executed "pip3 install -U pipโ, per the instructions from "https://pip.pypa.io/en/stable/installing <https://pip.pypa.io/en/stable/installing>/โ, and got the result below.
>>
>> Why isnโt html.parser available as part of the standard install? What do I need to do to make this work?
>>
>> Thanks for any help.
>>
>> Gerrie Shults
>>
>>
>>
>>
>> $ pip3 install -U pip
>> Traceback (most recent call last):
>> File "/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3", line 7, in <module>
>> from pip import main
>> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/__init__.py", line 28, in <module>
>> from pip.vcs import git, mercurial, subversion, bazaar # noqa
>> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/vcs/subversion.py", line 9, in <module>
>> from pip.index import Link
>> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/index.py", line 31, in <module>
>> from pip.wheel import Wheel, wheel_ext
>> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/wheel.py", line 39, in <module>
>> from pip._vendor.distlib.scripts import ScriptMaker
>> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/distlib/scripts.py", line 14, in <module>
>> from .compat import sysconfig, detect_encoding, ZipFile
>> File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/distlib/compat.py", line 85, in <module>
>> from html.parser import HTMLParser
>> ModuleNotFoundError: No module named 'html.parser'
>> $
>>
>> _______________________________________________
>> Pythonmac-SIG maillist - Pythonmac-SIG(a)python.org <mailto:Pythonmac-SIG@python.org>
>> https://mail.python.org/mailman/listinfo/pythonmac-sig <https://mail.python.org/mailman/listinfo/pythonmac-sig>
>> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG <https://mail.python.org/mailman/options/Pythonmac-SIG>
>>
Iโm trying to get the latest version of pip to use to install Flask.
I have a fresh install of Python 3.6.4, and I executed "pip3 install -U pipโ, per the instructions from "https://pip.pypa.io/en/stable/installing/โ, and got the result below.
Why isnโt html.parser available as part of the standard install? What do I need to do to make this work?
Thanks for any help.
Gerrie Shults
$ pip3 install -U pip
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3", line 7, in <module>
from pip import main
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/__init__.py", line 28, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/vcs/subversion.py", line 9, in <module>
from pip.index import Link
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/index.py", line 31, in <module>
from pip.wheel import Wheel, wheel_ext
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/wheel.py", line 39, in <module>
from pip._vendor.distlib.scripts import ScriptMaker
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/distlib/scripts.py", line 14, in <module>
from .compat import sysconfig, detect_encoding, ZipFile
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/distlib/compat.py", line 85, in <module>
from html.parser import HTMLParser
ModuleNotFoundError: No module named 'html.parser'
$