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 fangyizhou
Recipients ezio.melotti, fangyizhou, jonathaneunice, mrabarnett, serhiy.storchaka
Date 2018-02-10.00:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

This leads to build failures due to circular dependency

At generate-posix-vars stage, unicodedata is imported (due to import pprint)but it has not been built due to it being a C module. However, building C modules happen after generate-posix-vars.

See full message below.

./python.exe -E -S -m sysconfig --generate-posix-vars ;\
	if test $? -ne 0 ; then \
		echo "generate-posix-vars failed" ; \
		rm -f ./pybuilddir.txt ; \
		exit 1 ; \
Traceback (most recent call last):
  File "/Users/fangyi/cpython/Lib/", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/fangyi/cpython/Lib/", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/fangyi/cpython/Lib/", line 700, in <module>
  File "/Users/fangyi/cpython/Lib/", line 688, in _main
  File "/Users/fangyi/cpython/Lib/", line 350, in _generate_posix_vars
    import pprint
  File "/Users/fangyi/cpython/Lib/", line 38, in <module>
    import re
  File "/Users/fangyi/cpython/Lib/", line 123, in <module>
    import sre_compile
  File "/Users/fangyi/cpython/Lib/", line 14, in <module>
    import sre_parse
  File "/Users/fangyi/cpython/Lib/", line 16, in <module>
    import unicodedata
ModuleNotFoundError: No module named 'unicodedata'
generate-posix-vars failed
Date User Action Args
2018-02-10 00:31:20fangyizhousetrecipients: + fangyizhou, ezio.melotti, mrabarnett, serhiy.storchaka, jonathaneunice
2018-02-10 00:31:20fangyizhousetmessageid: <>
2018-02-10 00:31:20fangyizhoulinkissue30688 messages
2018-02-10 00:31:20fangyizhoucreate