Closed automataIA closed 4 years ago
This package is for building a wheel for xeus-python
. You need to have scikit-build
and cmake
installed, and then you can build and install the wheel:
python setup.py bdist_wheel
pip install dist/....
i write
python setup.py bdist_wheel
i had install NASM.
and the output is :
[1/4] Performing configure step for 'openssl'
FAILED: openssl-prefix/src/openssl-stamp/openssl-configure
cmd.exe /C "cd /D C:\Users\DIO\Downloads\xeus-python-wheel-master\_skbuild\win-amd64-3.7\cmake-build\OpenSSL-download\openssl-src && perl configure VC-WIN64A CC=cl RC=rc --prefix=C:/Users/DIO/Downloads/xeus-python-wheel-master/_skbuild/win-amd64-3.7/cmake-install --openssldir=C:/Users/DIO/Downloads/xeus-python-wheel-master/_skbuild/win-amd64-3.7/cmake-install && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/Users/DIO/Downloads/xeus-python-wheel-master/_skbuild/win-amd64-3.7/cmake-build/OpenSSL-download/openssl-prefix/src/openssl-stamp/openssl-configure"
Configuring OpenSSL version 1.1.1d (0x1010104fL) for VC-WIN64A
Using os-specific seed configuration
Failure! build file wasn't produced.
Please read INSTALL and associated NOTES files. You may also have to look over
your available compiler tool chain or change your configuration.
NASM not found - make sure it's installed and available on %PATH%
ninja: build stopped: subcommand failed.
CMake Error at CMakeLists.txt:44 (message):
CMake step for OpenSSL failed: 1
-- Configuring incomplete, errors occurred!
See also "C:/Users/DIO/Downloads/xeus-python-wheel-master/_skbuild/win-amd64-3.7/cmake-build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "C:\Users\DIO\AppData\Local\Programs\Python\Python37\lib\site-packages\skbuild\setuptools_wrap.py", line 574, in setup
languages=cmake_languages
File "C:\Users\DIO\AppData\Local\Programs\Python\Python37\lib\site-packages\skbuild\cmaker.py", line 232, in configure
os.path.abspath(CMAKE_BUILD_DIR())))
An error occurred while configuring with CMake.
Command:
"cmake" "C:\Users\DIO\Downloads\xeus-python-wheel-master" "-G" "Ninja" "-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\DIO\Downloads\xeus-python-wheel-master\_skbuild\win-amd64-3.7\cmake-install" "-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\DIO\AppData\Local\Programs\Python\Python37\python.exe" "-DPYTHON_VERSION_STRING:STRING=3.7.6" "-DPYTHON_INCLUDE_DIR:PATH=C:\Users\DIO\AppData\Local\Programs\Python\Python37\Include" "-DPYTHON_LIBRARY:FILEPATH=C:\Users\DIO\AppData\Local\Programs\Python\Python37\libs\python37.lib" "-DSKBUILD:BOOL=TRUE" "-DCMAKE_MODULE_PATH:PATH=C:\Users\DIO\AppData\Local\Programs\Python\Python37\lib\site-packages\skbuild\resources\cmake" "-DCMAKE_INSTALL_LIBDIR=lib" "-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\DIO\AppData\Local\Programs\Python\Python37\python.exe" "-DCMAKE_BUILD_TYPE:STRING=Release"
Source directory:
C:\Users\DIO\Downloads\xeus-python-wheel-master
Working directory:
C:\Users\DIO\Downloads\xeus-python-wheel-master\_skbuild\win-amd64-3.7\cmake-build
Please see CMake's output for more information.
If you installed NASM, it looks like it is not in the %PATH%.
I do this and install perl. But give me other error. I will wait for the compiled package.
It might be a better option, especially if you consider that we are still iterating on it and patching upstream packages to get a wheel that will not break installed environments (by overwriting dependencies such as zmq for instance).
Stay tuned, we are closed to having something that works!
i try to run setup.py but give me this error: