sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

No module named '_sysconfigdata__darwin_darwin'

Open daveleroy opened this issue 2 years ago • 3 comments

Description of the bug

import pydoc in the 3.8 runtime generates an import error which seems to only happen on the latest dev build.

Traceback (most recent call last):
  File "__main__", line 1, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "./python3.8/pydoc.py", line 366, in <module>
  File "./python3.8/pydoc.py", line 396, in Doc
  File "./python3.8/sysconfig.py", line 526, in get_path
  File "./python3.8/sysconfig.py", line 516, in get_paths
  File "./python3.8/sysconfig.py", line 177, in _expand_vars
  File "./python3.8/sysconfig.py", line 564, in get_config_vars
  File "./python3.8/sysconfig.py", line 432, in _init_posix
ModuleNotFoundError: No module named '_sysconfigdata__darwin_darwin'

Steps to reproduce

  1. Open console
  2. Run import pydoc

Expected behavior

No Error

Actual behavior

Error

Sublime Text build number

4149 (dev build)

Operating system & version

MacOS 13.3 (22E252)

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

No response

daveleroy avatar May 07 '23 04:05 daveleroy

This is now working in 4150

daveleroy avatar May 11 '23 19:05 daveleroy

Hmm this seems to not be working anymore. Can anyone else repo this on Mac?

daveleroy avatar Sep 09 '23 04:09 daveleroy

I've reproduced this issue on macOS in build 4155.

BenjaminSchaaf avatar Sep 11 '23 02:09 BenjaminSchaaf