[New-bugs-announce] [issue44323] insttall module faid on wondows 10

Battant report at bugs.python.org
Sun Jun 6 15:40:31 EDT 2021


New submission from Battant <mparchet at sunrise.ch>:

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

----------
components: Extension Modules
messages: 395210
nosy: Battant
priority: normal
severity: normal
status: open
title: insttall module faid on wondows 10
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44323>
_______________________________________


More information about the New-bugs-announce mailing list