Skip to content
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

LookupError: unknown encoding: cp936 #1684

Closed
3 tasks done
XcantloadX opened this issue May 17, 2023 · 0 comments
Closed
3 tasks done

LookupError: unknown encoding: cp936 #1684

XcantloadX opened this issue May 17, 2023 · 0 comments

Comments

@XcantloadX
Copy link

Prerequisites

The issue tracker is used to report bugs and request new features, NOT to ask questions.

Questions should be posted in Discussions or to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

Description

I got the following error on my machine:

Traceback (most recent call last):
  File "<string>", line 1565, in load_module
  File "<string>", line 597, in _load_module_shim
  File "<string>", line 1188, in _load_unlocked
  File "<string>", line 1459, in exec_module
  File "C:\Program Files\IronPython 3.4\lib\site.py", line 551, in main
  File "C:\Program Files\IronPython 3.4\lib\site.py", line 334, in addsitepackages
  File "C:\Program Files\IronPython 3.4\lib\site.py", line 206, in addsitedir
  File "C:\Program Files\IronPython 3.4\lib\site.py", line 162, in addpackage
  File "<string>", line 540, in _check_name_wrapper
  File "<string>", line 1208, in load
  File "<string>", line 1117, in _exec
  File "<string>", line 322, in _call_with_frames_removed
  File "C:\Program Files\IronPython 3.4\lib\site.py", line 564, in <module>
LookupError: unknown encoding: cp936IronPython 3.4.0 (3.4.0.1000)
[.NETFramework,Version=v4.6.2 on .NET Framework 4.8.9139.0 (64-bit)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

And I noticed that IronPython works well on my Win10 virtual machine.

Steps to Reproduce

  1. Run ipy

Expected behavior: No exceptions

Actual behavior: LookupError: unknown encoding: cp936

Versions

IronPython 3.4.0 (3.4.0.1000)
[.NETFramework,Version=v4.6.2 on .NET Framework 4.8.9139.0 (64-bit)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant