Open pcbennion opened 3 years ago
Workaround: using the option -o python_executable="python.exe"
lets the boost build script resolve the python path without affecting the package id.
This may be a python issue, I recall python not liking when it's installed in a location with spaces so it always tries to install in C:\
.
The current boost recipe fails to detect numpy when python is installed to a path that contains spaces.
The recipe seems to pass in a python executable path that the boost build script cannot use, resulting in the following logs:
Package and Environment Details
Conan profile
Steps to reproduce
C:\Program Files(x86)\Microsoft Visual Studio\Shared\...
-o without_python=False
and no other options specifiedLogs
Click to expand log
``` notice: [zlib] Using pre-installed library notice: [zlib] Condition notice: [bzip2] Using pre-installed library notice: [bzip2] Condition notice: [python-cfg] Configuring python... notice: [python-cfg] user-specified version: "3.7" notice: [python-cfg] user-specified cmd-or-prefix: "c:/program files (x86)/microsoft visual studio/shared/python37_64/python.exe" notice: [python-cfg] user-specified includes: "c:/program files (x86)/microsoft visual studio/shared/python37_64/Include" notice: [python-cfg] user-specified libraries: "c:/program files (x86)/microsoft visual studio/shared/python37_64/libs/python37.lib" notice: [python-cfg] Checking interpreter command "c:/program files (x86)/microsoft visual studio/shared/python37_64/python.exe"... notice: [python-cfg] running command 'DIR /-C /A:S "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe" 2>&1' notice: [python-cfg] running command 'c:/program files (x86)/microsoft visual studio/shared/python37_64/python.exe -c "from sys import *; print('version=%d.%d\nplatform=%s\nbase_prefix=%s\nbase_exec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,base_prefix,base_exec_prefix,executable))" 2>&1' notice: [python-cfg] ...does not invoke a working interpreter notice: [python-cfg] No working Python interpreter found. notice: [python-cfg] running command 'DIR /-C /A:S "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe" 2>&1' notice: [python-cfg] falling back to "c:/program files (x86)/microsoft visual studio/shared/python37_64/python.exe" notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "c:/program files (x86)/microsoft visual studio/shared/python37_64/python.exe" notice: [python-cfg] include path: "c:/program files (x86)/microsoft visual studio/shared/python37_64/Include" notice: [python-cfg] library path: "c:/program files (x86)/microsoft visual studio/shared/python37_64/libs/python37.lib" notice: [python-cfg] DLL search path: "