-
Notifications
You must be signed in to change notification settings - Fork 142
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
Unicode error #3
Comments
If you can change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Try to convert the py source to exe using py2exe, with py3.10:
running py2exe
Traceback (most recent call last):
File "C:\Python310*setup.py*", line 51, in
setup(
File "C:\Python310\lib\site-packages\setuptools_init_.py", line 153, in set
up
return distutils.core.setup(**attrs)
File "C:\Python310\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python310\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Python310\lib\site-packages\py2exe\distutils_buildexe.py", line 204,
in run
self._run()
File "C:\Python310\lib\site-packages\py2exe\distutils_buildexe.py", line 284,
in _run
builder.analyze()
File "C:\Python310\lib\site-packages\py2exe\runtime.py", line 185, in analyze
target.analyze(mf)
File "C:\Python310\lib\site-packages\py2exe\runtime.py", line 84, in analyze
modulefinder.run_script(self.script)
File "C:\Python310\lib\site-packages\py2exe\vendor\modulefinder.py", line 201,
in run_script
self.load_module('main', fp, pathname, stuff)
File "C:\Python310\lib\site-packages\py2exe\vendor\modulefinder.py", line 394,
in load_module
co = compile(fp.read(), m.dest_file, 'exec', optimize=self._optimize)
File "main.pyc", line 71
path = str(w[0]) + '\Chrome\User Data\Default\Login Data'
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in positio
n 7-8: truncated \UXXXXXXXX escape
The text was updated successfully, but these errors were encountered: