Title: install module fail on windows 10
Type: Stage:
Components: Extension Modules Versions: Python 3.11
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Battant, terry.reedy
Priority: normal Keywords:

Created on 2021-06-06 19:40 by Battant, last changed 2021-06-12 00:42 by terry.reedy.

Messages (2)
msg395210 - (view) Author: Battant (Battant) Date: 2021-06-06 19:40

Configuration :
windows 10
python install p: python3.9 from microsoft store

step to reproduce :
on windows, install visual studio and buid tools
clone cpython repository main branch

compile python with command


run command : 
.\PCbuild\amd64\py.exe .\ install
Actuel result :
cpython\", line 131, in set_compiler_flags
    sysconfig.get_config_vars()[compiler_flags] = flags + ' ' + py_flags_nodist
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Detail :
cpython\", line : 128
compile flag  : CFLAGS py_flags_nodist = None
compiler_flags  : CFLAGS
sysconfig  : PY_CFLAGS_NODIST
Question :
why compile flag  : CFLAGS py_flags_nodist = None )

Coud you help me to fix this issuus ?

Best regards

msg395673 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-06-12 00:42
This tracker is for patching Python doc and CPython implementation.  As near as I can tell, you are not reporting a CPython bug.  If so, this issue should be closed as 'not a bug'.  Questions about using Python should go to more appropriate places, such as python-list.
Date User Action Args
2021-06-12 00:42:09terry.reedysetnosy: + terry.reedy
messages: + msg395673
2021-06-07 06:54:54serhiy.storchakasettitle: insttall module faid on wondows 10 -> install module fail on windows 10
2021-06-06 19:40:31Battantcreate