This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yan12125
Recipients Alex.Willmer, doko, ned.deily, python-dev, vstinner, xdegaye, yan12125, zach.ware
Date 2016-09-10.07:36:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Seems after this changeset Python is broken:

shell@ASUS_Z00E_2:/data/local/tmp/python3 $ python3.6
Failed to import the site module
Traceback (most recent call last):
  File "/data/local/tmp/python3/lib/python3.6/", line 549, in <module>
  File "/data/local/tmp/python3/lib/python3.6/", line 536, in main
    known_paths = addusersitepackages(known_paths)
  File "/data/local/tmp/python3/lib/python3.6/", line 281, in addusersitepackages
    user_site = getusersitepackages()
  File "/data/local/tmp/python3/lib/python3.6/", line 257, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/data/local/tmp/python3/lib/python3.6/", line 247, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/data/local/tmp/python3/lib/python3.6/", line 600, in get_config_var
    return get_config_vars().get(name)
  File "/data/local/tmp/python3/lib/python3.6/", line 549, in get_config_vars
  File "/data/local/tmp/python3/lib/python3.6/", line 420, in _init_posix
    _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata_m_linux_aarch64-linux-android'

sysconfig data is installed as lib-dynload/ It should be at lib-dynload/

PS: I'm building for Android AArch64 on Linux x86_64
Date User Action Args
2016-09-10 07:36:12yan12125setrecipients: + yan12125, doko, vstinner, ned.deily, xdegaye, python-dev, zach.ware, Alex.Willmer
2016-09-10 07:36:12yan12125setmessageid: <>
2016-09-10 07:36:12yan12125linkissue28046 messages
2016-09-10 07:36:12yan12125create