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.

classification
Title: install module fail on windows 10
Type: Stage:
Components: Extension Modules Versions: Python 3.11
process
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 2022-04-11 14:59 by admin.

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

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

https://github.com/python/cpython

compile python with command

pCbuil/bauld.bat

run command : 
.\PCbuild\amd64\py.exe .\setup.py install
Actuel result :
cpython\setup.py", 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\setup.py", 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

Battant
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.
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88489
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