Giter Site home page Giter Site logo

pyrx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pyrx's Issues

Error while installing

pip3.10.exe install git+https://github.com/jtgrassie/pyrx
Collecting git+https://github.com/jtgrassie/pyrx
Cloning https://github.com/jtgrassie/pyrx to c:\users\speck\appdata\local\temp\pip-req-build-1nrd6gqd
Running command git clone --filter=blob:none --quiet https://github.com/jtgrassie/pyrx 'C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd'
Resolved https://github.com/jtgrassie/pyrx to commit 032f96b
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pyrx
Building wheel for pyrx (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [176 lines of output]
running bdist_wheel
running build
running build_ext
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.33.31630.0
-- The CXX compiler identification is MSVC 19.33.31630.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: D:/TokenV2/winvenv/Scripts/python.exe (found version "3.10.1")
-- Found PythonLibs: D:/Python3/libs/Python310.lib
-- pybind11 v2.4.dev4
-- Setting default build type: Release
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/ml64.exe
-- Performing Test HAVE_CXX_ATOMICS
-- Performing Test HAVE_CXX_ATOMICS - Success
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/build/temp.win-amd64-3.10/Release
MSBuild version 17.3.1+2badb37d1 for .NET Framework
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\ZERO_CHECK.vcxproj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\generate-asm.vcxproj]
Generating configuration.asm at C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
Assembling C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86_static.asm...
aes_hash.cpp
bytecode_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
cpu.cpp
dataset.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\dataset.cpp(135,50): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
soft_aes.cpp
virtual_memory.cpp
vm_interpreted.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
allocator.cpp
assembly_generator_x86.cpp
instruction.cpp
randomx.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(110,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(159,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(321,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
superscalar.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\superscalar.cpp(160,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_interpreted_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(42,23): warning C4244: 'initializing': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(41): message : while compiling class template member function 'void randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>::datasetRead(uint64_t,randomx::int_reg_t (&)[8])' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(52): message : see reference to class template instantiation 'randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
blake2_generator.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
instructions_portable.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(63,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(70,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(80,3): warning C4996: '_controlfp': This function or variable may be unsafe. Consider using _controlfp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
virtual_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.cpp(82,29): warning C4244: '=': conversion from 'uint64_t' to 'randomx::addr_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(55,50): warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(49): message : while compiling class template member function 'void randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>::run(void *)' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(63): message : see reference to class template instantiation 'randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
jit_compiler_x86.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,45): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,62): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,70): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,41): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,56): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,40): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,44): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,30): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,43): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,50): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,36): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,32): warning C4244: 'initializing': conversion from '_int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Generating Code...
argon2_ref.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,36): warning C4101: 'zero_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_ssse3.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_core.c
reciprocal.c
blake2b.c
Generating Code...
argon2_avx2.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
randomx.vcxproj -> C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\Release\randomx.lib
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/CMakeLists.txt
main.cpp
rx-slow-hash.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\src\rx-slow-hash.c(36,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 59, in
setup(
File "D:\TokenV2\winvenv\lib\site-packages\setuptools_init
.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\Python3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Python3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\TokenV2\winvenv\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Python3\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 32, in run
self.build_extension(ext)
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 57, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "D:\Python3\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyrx
Running setup.py clean for pyrx
Failed to build pyrx
Installing collected packages: pyrx
Running setup.py install for pyrx ... error
error: subprocess-exited-with-error

× Running setup.py install for pyrx did not run successfully.
│ exit code: 1
╰─> [178 lines of output]
running install
running build
running build_ext
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.33.31630.0
-- The CXX compiler identification is MSVC 19.33.31630.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: D:/TokenV2/winvenv/Scripts/python.exe (found version "3.10.1")
-- Found PythonLibs: D:/Python3/libs/Python310.lib
-- pybind11 v2.4.dev4
-- Setting default build type: Release
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/ml64.exe
-- Performing Test HAVE_CXX_ATOMICS
-- Performing Test HAVE_CXX_ATOMICS - Success
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/build/temp.win-amd64-3.10/Release
MSBuild version 17.3.1+2badb37d1 for .NET Framework
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\ZERO_CHECK.vcxproj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\generate-asm.vcxproj]
Generating configuration.asm at C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/external/RandomX/CMakeLists.txt
Assembling C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86_static.asm...
aes_hash.cpp
bytecode_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
cpu.cpp
dataset.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\dataset.cpp(135,50): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
soft_aes.cpp
virtual_memory.cpp
vm_interpreted.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
allocator.cpp
assembly_generator_x86.cpp
instruction.cpp
randomx.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(110,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(159,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\randomx.cpp(321,26): warning C4101: 'ex': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
superscalar.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\superscalar.cpp(160,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_interpreted_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: 'argument': conversion from 'uint64_t' to 'unsigned int', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(42,23): warning C4244: 'initializing': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(41): message : while compiling class template member function 'void randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>::datasetRead(uint64_t,randomx::int_reg_t (&)[8])' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_interpreted_light.cpp(52): message : see reference to class template instantiation 'randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
blake2_generator.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
instructions_portable.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(63,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(70,6): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\instructions_portable.cpp(80,3): warning C4996: '_controlfp': This function or variable may be unsafe. Consider using _controlfp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
virtual_machine.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(82,25): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\blake2/blake2.h(84,3): warning C4804: '/': unsafe use of type 'bool' in operation [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.cpp(82,29): warning C4244: '=': conversion from 'uint64_t' to 'randomx::addr_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
vm_compiled_light.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: 'randomx_vm': type name first seen using 'struct' now seen using 'class' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\virtual_machine.hpp(36): message : see declaration of 'randomx_vm' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(55,50): warning C4244: 'argument': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(49): message : while compiling class template member function 'void randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>::run(void *)' [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\vm_compiled_light.cpp(63): message : see reference to class template instantiation 'randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>' being compiled [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
jit_compiler_x86.cpp
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.hpp(107,15): warning C4267: '+=': conversion from 'size_t' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,45): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(120,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(121,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,62): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(122,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,70): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(123,41): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,56): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(124,40): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,44): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(125,30): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,47): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(126,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,43): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(127,29): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,50): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(128,32): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(129,36): warning C4244: 'initializing': conversion from '__int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,49): warning C4244: 'initializing': conversion from '__int64' to 'int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\jit_compiler_x86.cpp(130,32): warning C4244: 'initializing': conversion from '_int64' to 'const int32_t', possible loss of data [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
Generating Code...
argon2_ref.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ref.c(113,36): warning C4101: 'zero_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_ssse3.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_ssse3.c(106,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
argon2_core.c
reciprocal.c
blake2b.c
Generating Code...
argon2_avx2.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,8): warning C4101: 'address_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\external\RandomX\src\argon2_avx2.c(98,23): warning C4101: 'input_block': unreferenced local variable [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\randomx.vcxproj]
randomx.vcxproj -> C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\external\RandomX\Release\randomx.lib
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(544,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Building Custom Rule C:/Users/speck/AppData/Local/Temp/pip-req-build-1nrd6gqd/CMakeLists.txt
main.cpp
rx-slow-hash.c
C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\src\rx-slow-hash.c(36,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\build\temp.win-amd64-3.10\Release\pyrx.vcxproj]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 59, in
setup(
File "D:\TokenV2\winvenv\lib\site-packages\setuptools_init
.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\Python3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Python3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\TokenV2\winvenv\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "D:\Python3\lib\distutils\command\install.py", line 568, in run
self.run_command('build')
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Python3\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\Python3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 32, in run
self.build_extension(ext)
File "C:\Users\speck\AppData\Local\Temp\pip-req-build-1nrd6gqd\setup.py", line 57, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "D:\Python3\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pyrx

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Usage of library with ProcessPoolExecutor raise concurrent.futures.process.BrokenProcessPool

Hello i'm trying to use the library with ProcessPoolExecutor to get a better hashrate on monero mining but everytime the pyrx.get_rx_hash is executed into the process it raise an exception like this :

Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "test2.py", line 290, in start totalHashrate += future.result() File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result return self.__get_result() File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result raise self._exception concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending..

process getting killed when running on 2core cpu

@jtgrassie
greetings,

I am facing program crashes when running monero miner made of this library on 2 core cpu but works best on cpus having more than 2 cores I have tested my program but no issues have been found . Ram allocated to 2 core cpu is 16 gb

Can't build source.

pip install git+https://github.com/jtgrassie/pyrx
Collecting git+https://github.com/jtgrassie/pyrx
Cloning https://github.com/jtgrassie/pyrx to c:\users___\appdata\local\temp\pip-req-build-tjq6gujq
Using legacy 'setup.py install' for pyrx, since package 'wheel' is not installed.
Installing collected packages: pyrx
Running setup.py install for pyrx ... \ WARNING: Subprocess output does not appear to be encoded as cp1250
| WARNING: Subprocess output does not appear to be encoded as cp1250
/ WARNING: Subprocess output does not appear to be encoded as cp1250
WARNING: Subprocess output does not appear to be encoded as cp1250
WARNING: Subprocess output does not appear to be encoded as cp1250

  • WARNING: Subprocess output does not appear to be encoded as cp1250
    WARNING: Subprocess output does not appear to be encoded as cp1250
    \ WARNING: Subprocess output does not appear to be encoded as cp1250
    WARNING: Subprocess output does not appear to be encoded as cp1250
    / WARNING: Subprocess output does not appear to be encoded as cp1250
    WARNING: Subprocess output does not appear to be encoded as cp1250
    WARNING: Subprocess output does not appear to be encoded as cp1250
    WARNING: Subprocess output does not appear to be encoded as cp1250
    WARNING: Subprocess output does not appear to be encoded as cp1250

  • WARNING: Subprocess output does not appear to be encoded as cp1250
    error
    ERROR: Command errored out with exit status 1:
    command: 'c:\users_\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\\AppData\Local\Temp\pip-req-build-tjq6gujq\setup.py'"'"'; file='"'"'C:\Users\\AppData\Local\Temp\pip-req-build-tjq6gujq\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users_\AppData\Local\Temp\pip-record-jy_9h2ho\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users_\appdata\local\programs\python\python39\Include\pyrx'
    cwd: C:\Users_
    \AppData\Local\Temp\pip-req-build-tjq6gujq
    Complete output (194 lines):
    running install
    running build
    running build_ext
    -- Building for: Visual Studio 16 2019
    -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.18363.
    -- The C compiler identification is MSVC 19.27.29112.0
    -- The CXX compiler identification is MSVC 19.27.29112.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: D:/Programy/visual_studio/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: D:/Programy/visual_studio/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found PythonInterp: C:/Users//AppData/Local/Programs/Python/Python39/python.exe (found version "3.9")
    -- Found PythonLibs: C:/Users/
    /AppData/Local/Programs/Python/Python39/libs/Python39.lib
    -- pybind11 v2.4.dev4
    CMake Deprecation Warning at external/RandomX/CMakeLists.txt:29 (cmake_minimum_required):
    Compatibility with CMake < 2.8.12 will be removed from a future version of
    CMake.

    Update the VERSION argument value or use a ... suffix to tell
    CMake that the project does not need compatibility with older versions.

-- Setting default build type: Release
-- Performing Test _maes_cxx
-- Performing Test _maes_cxx - Failed
-- Performing Test _maes_c
-- Performing Test _maes_c - Failed
-- Performing Test HAVE_SSSE3
-- Performing Test HAVE_SSSE3 - Failed
-- Performing Test HAVE_AVX2
-- Performing Test HAVE_AVX2 - Failed
-- Performing Test HAVE_CXX_ATOMICS
-- Performing Test HAVE_CXX_ATOMICS - Success
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/___/AppData/Local/Temp/pip-req-build-tjq6gujq/build/temp.win-amd64-3.9/Release
Microsoft (R) Build Engine 16.7.0+b89cb5fde dla platformy .NET Framework
Copyright (C) Microsoft Corporation. Wszelkie prawa zastrzeľone.

D:\Programy\visual_studio\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(499,5): warning MSB8029: Katalog po\x98redni ani katalog danych wyj\x98ciowych nie mogĄ znajdowa† si© w katalogu tymczasowym, poniewaľ moľe to spowodowa† problemy z kompilacjĄ przyrostowĄ. [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\ZERO_CHECK.vcxproj]
  Checking Build System
D:\Programy\visual_studio\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(499,5): warning MSB8029: Katalog po\x98redni ani katalog danych wyj\x98ciowych nie mogĄ znajdowa† si© w katalogu tymczasowym, poniewaľ moľe to spowodowa† problemy z kompilacjĄ przyrostowĄ. [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  Building Custom Rule C:/Users/___/AppData/Local/Temp/pip-req-build-tjq6gujq/external/RandomX/CMakeLists.txt
  aes_hash.cpp
  bytecode_machine.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: "argument": konwersja z "uint64_t" do "unsigned int", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  cpu.cpp
  dataset.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(107,1): warning C4267: "+=": konwersja z "size_t" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\dataset.cpp(135,50): warning C4267: "argument": konwersja z "size_t" do "uint32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  soft_aes.cpp
  virtual_memory.cpp
  vm_interpreted.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: "randomx_vm": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36): message : zobacz deklaracj© "randomx_vm" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: "argument": konwersja z "uint64_t" do "unsigned int", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  allocator.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\allocator.cpp(50,48): warning C4099: "randomx::AlignedAllocator<64>": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\allocator.cpp(50): message : zobacz deklaracj© "randomx::AlignedAllocator<64>" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  assembly_generator_x86.cpp
  instruction.cpp
  randomx.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: "randomx_vm": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36): message : zobacz deklaracj© "randomx_vm" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: "argument": konwersja z "uint64_t" do "unsigned int", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(39,28): warning C4099: "randomx::ProgramConfiguration": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\program.hpp(39): message : zobacz deklaracj© "randomx::ProgramConfiguration" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(107,1): warning C4267: "+=": konwersja z "size_t" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\blake2/blake2.h(82,46): warning C4804: "/": niebezpieczne uľycie typu "bool" w operacji [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\blake2/blake2.h(85,2): warning C4804: "/": niebezpieczne uľycie typu "bool" w operacji [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\randomx.cpp(109,26): warning C4101: "ex": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\randomx.cpp(158,26): warning C4101: "ex": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\randomx.cpp(320,26): warning C4101: "ex": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  superscalar.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\superscalar.cpp(160,1): warning C4267: "return": konwersja z "size_t" do "int", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  vm_compiled.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: "randomx_vm": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36): message : zobacz deklaracj© "randomx_vm" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(39,28): warning C4099: "randomx::ProgramConfiguration": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\program.hpp(39): message : zobacz deklaracj© "randomx::ProgramConfiguration" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(107,1): warning C4267: "+=": konwersja z "size_t" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  vm_interpreted_light.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: "randomx_vm": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36): message : zobacz deklaracj© "randomx_vm" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\bytecode_machine.hpp(262,44): warning C4244: "argument": konwersja z "uint64_t" do "unsigned int", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\vm_interpreted_light.cpp(42,23): warning C4244: "inicjowanie": konwersja z "uint64_t" do "uint32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\vm_interpreted_light.cpp(41): message : podczas kompilowania funkcji sk\x88adowej "void randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>::datasetRead(uint64_t,randomx::int_reg_t (&)[8])" klasy klasa szablon [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\vm_interpreted_light.cpp(52): message : zobacz odwo\x88anie do kompilowanego tworzenia wystĄpienia "randomx::InterpretedLightVm<randomx::AlignedAllocator<64>,true>" klasy klasa szablon [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  blake2_generator.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\blake2/blake2.h(82,46): warning C4804: "/": niebezpieczne uľycie typu "bool" w operacji [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\blake2/blake2.h(85,2): warning C4804: "/": niebezpieczne uľycie typu "bool" w operacji [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  instructions_portable.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\instructions_portable.cpp(63,6): warning C4067: nieoczekiwane tokeny wyst©pujĄce po dyrektywie preprocesora - oczekiwano nowego wiersza [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\instructions_portable.cpp(70,6): warning C4067: nieoczekiwane tokeny wyst©pujĄce po dyrektywie preprocesora - oczekiwano nowego wiersza [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\instructions_portable.cpp(80,3): warning C4996: '_controlfp': This function or variable may be unsafe. Consider using _controlfp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  virtual_machine.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: "randomx_vm": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36): message : zobacz deklaracj© "randomx_vm" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\blake2/blake2.h(82,46): warning C4804: "/": niebezpieczne uľycie typu "bool" w operacji [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\blake2/blake2.h(85,2): warning C4804: "/": niebezpieczne uľycie typu "bool" w operacji [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.cpp(82,29): warning C4244: "=": konwersja z "uint64_t" do "randomx::addr_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  vm_compiled_light.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36,18): warning C4099: "randomx_vm": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\virtual_machine.hpp(36): message : zobacz deklaracj© "randomx_vm" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(39,28): warning C4099: "randomx::ProgramConfiguration": nazwa typu najpierw widoczna przy uľyciu "struct" teraz widoczna przy uľyciu "class" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\program.hpp(39): message : zobacz deklaracj© "randomx::ProgramConfiguration" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(107,1): warning C4267: "+=": konwersja z "size_t" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\vm_compiled_light.cpp(55,50): warning C4244: "argument": konwersja z "uint64_t" do "uint32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\vm_compiled_light.cpp(49): message : podczas kompilowania funkcji sk\x88adowej "void randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>::run(void *)" klasy klasa szablon [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\vm_compiled_light.cpp(63): message : zobacz odwo\x88anie do kompilowanego tworzenia wystĄpienia "randomx::CompiledLightVm<randomx::AlignedAllocator<64>,true,false>" klasy klasa szablon [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  jit_compiler_x86.cpp
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.hpp(107,1): warning C4267: "+=": konwersja z "size_t" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\program.hpp(39,30): warning C4099: "randomx::ProgramConfiguration": nazwa typu najpierw widoczna przy uľyciu "class" teraz widoczna przy uľyciu "struct" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\program.hpp(39): message : zobacz deklaracj© "randomx::ProgramConfiguration" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(114,45): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(114,29): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(115,47): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(115,29): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(116,62): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(116,32): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(117,70): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(117,41): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(118,56): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(118,40): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(119,44): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(119,30): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(120,47): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(120,32): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(121,43): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(121,29): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(122,50): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(122,32): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(123,49): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(123,36): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(124,49): warning C4244: "inicjowanie": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(124,32): warning C4244: "inicjowanie": konwersja z "__int64" do "const int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86.cpp(302,61): warning C4244: "=": konwersja z "__int64" do "int32_t", moľliwa utrata danych [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  Generowanie kodu...
  argon2_ref.c
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\argon2_ref.c(113,8): warning C4101: "address_block": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\argon2_ref.c(113,23): warning C4101: "input_block": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\argon2_ref.c(113,36): warning C4101: "zero_block": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  argon2_ssse3.c
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\argon2_ssse3.c(106,8): warning C4101: "address_block": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\argon2_ssse3.c(106,23): warning C4101: "input_block": lokalna zmienna, do kt˘rej nie istnieje odwo\x88anie [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  argon2_avx2.c
  argon2_core.c
  reciprocal.c
  blake2b.c
  jit_compiler_x86_static.S
C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\external\RandomX\src\jit_compiler_x86_static.S(1,1): fatal error C1021: nieprawid\x88owe polecenie preprocesora "Copyright" [C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\build\temp.win-amd64-3.9\Release\external\RandomX\randomx.vcxproj]
  Generowanie kodu...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\setup.py", line 59, in <module>
    setup(
  File "c:\users\___\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py", line 165, in setup
    return distutils.core.setup(**attrs)
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\users\___\appdata\local\programs\python\python39\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\command\install.py", line 546, in run
    self.run_command('build')
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\___\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\setup.py", line 32, in run
    self.build_extension(ext)
  File "C:\Users\___\AppData\Local\Temp\pip-req-build-tjq6gujq\setup.py", line 57, in build_extension
    subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
  File "c:\users\___\appdata\local\programs\python\python39\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: 'c:\users_\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\\AppData\Local\Temp\pip-req-build-tjq6gujq\setup.py'"'"'; file='"'"'C:\Users\\AppData\Local\Temp\pip-req-build-tjq6gujq\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users_\AppData\Local\Temp\pip-record-jy_9h2ho\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users_\appdata\local\programs\python\python39\Include\pyrx' Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 21.2.4 is available.
You should consider upgrading via the 'c:\users_
\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.

Add support for ARM

After testing on RaspberryPi 8GB and 4GB, I receive a core dump error.

I've tested ARM releases of both Ubuntu and Windows. Same error.

I understand you are extremely busy and your time is very valuable so if you can even point me in the right direct so I can perhaps fix the issue myself and submit a PR I would be vert grateful. Thank you.

error while installing

pip install git+https://github.com/jtgrassie/pyrx
Collecting git+https://github.com/jtgrassie/pyrx
Cloning https://github.com/jtgrassie/pyrx to c:\users**\appdata\local\temp\pip-req-build-j3ekkbso
Running command git clone --filter=blob:none --quiet https://github.com/jtgrassie/pyrx 'C:\Users*
\AppData\Local\Temp\pip-req-build-j3ekkbso'
Resolved https://github.com/jtgrassie/pyrx to commit 032f96b
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pyrx
Building wheel for pyrx (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [46 lines of output]
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Temp\pip-req-build-j3ekkbso\setup.py", line 21, in run
out = subprocess.check_output(['cmake', '--version'])
File "c:\users*
\appdata\local\programs\python\python39\lib\subprocess.py", line 420, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "c:\users*
\appdata\local\programs\python\python39\lib\subprocess.py", line 501, in run
with Popen(*popenargs, kwargs) as process:
File "c:\users*
\appdata\local\programs\python\python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users*
*\appdata\local\programs\python\python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

  During handling of the above exception, another exception occurred:
 
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\***\AppData\Local\Temp\pip-req-build-j3ekkbso\setup.py", line 59, in <module>
      setup(
    File "c:\users\*******\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "c:\users\***********\appdata\local\programs\python\python39\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "c:\users\************\appdata\local\programs\python\python39\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\users\*****\appdata\local\programs\python\python39\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\jayendra\AppData\Local\Temp\pip-req-build-j3ekkbso\setup.py", line 23, in run
      raise RuntimeError("CMake must be installed to build the following extensions: " +
  RuntimeError: CMake must be installed to build the following extensions: pyrx
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyrx
Running setup.py clean for pyrx
Failed to build pyrx
Installing collected packages: pyrx
Running setup.py install for pyrx ... error
error: subprocess-exited-with-error

× Running setup.py install for pyrx did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
running install
running build
running build_ext
Traceback (most recent call last):
File "C:\Users\jayendra\AppData\Local\Temp\pip-req-build-j3ekkbso\setup.py", line 21, in run
out = subprocess.check_output(['cmake', '--version'])
File "c:\users\jayendra\appdata\local\programs\python\python39\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "c:\users\jayendra\appdata\local\programs\python\python39\lib\subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "c:\users\jayendra\appdata\local\programs\python\python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\jayendra\appdata\local\programs\python\python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

  During handling of the above exception, another exception occurred:
 
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\jayendra\AppData\Local\Temp\pip-req-build-j3ekkbso\setup.py", line 59, in <module>
      setup(
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\site-packages\setuptools\command\install.py", line 61, in run
      return orig.install.run(self)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\command\install.py", line 546, in run
      self.run_command('build')
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\jayendra\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\************\AppData\Local\Temp\pip-req-build-j3ekkbso\setup.py", line 23, in run
      raise RuntimeError("CMake must be installed to build the following extensions: " +
  RuntimeError: CMake must be installed to build the following extensions: pyrx
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pyrx

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available.
You should consider upgrading via the 'c:\users*******\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.
PS C:\tai_jutsu\crypto_mining\monero-powpy> pip install git+https://github.com/jtgrassie/pyrx

Error install pyrx win 10

Unfortunately, I do not speak English
so google translation

Hello
I'm trying to install the "pyrx" module on Windows 10
I managed to figure out how to properly install the library from Github.
The library started downloading and installing, but in the end it still gave the same error
just like when installing from a computer, for some reason it cannot create the necessary
directories that are listed at the end of the error
If, when installing from Github, the program unpacks and tries to install files on drive C:
then when installing from a computer, all source files are located on drive F:
which is not systemic, but the result is the same
as in both cases, the library for some reason cannot create the necessary directories.
The reason is not specified and no messages are displayed about the reasons for the error.
Can anyone tell me what can be done?
Best regards, Sergei.

File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "F:\Progr\Python\pyrx-master\setup.py", line 32, in run
self.build_extension(ext)
File "F:\Progr\Python\pyrx-master\setup.py", line 56, in build_extension
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'F:\Progr\Python\pyrx-master', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=F:\Progr\Python\pyrx-master\build\lib.win-amd64-cpython-3
12', '-DPYTHON_EXECUTABLE=C:\Users\User\AppData\Local\Programs\Python\Python312\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=F:\Progr\Python\pyrx-master\build
\lib.win-amd64-cpython-312', '-A', 'x64']' returned non-zero exit status 1.

When installing from GitHub using the command
pip install https://github.com/jtgrassie/pyrx/archive/master.zip#egg=pyrx

interrupts with the message:

File "C:\Users\User\AppData\Local\Temp\pip-build-env-ascgu_fh\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "", line 32, in run
File "", line 56, in build_extension
File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\Users\User\AppData\Local\Temp\pip-install-delxli9h\pyrx_e7e034131703445595d5503afedf53c5', '-DCMAKE_LIBRARY_OUTPU
T_DIRECTORY=C:\Users\User\AppData\Local\Temp\pip-install-delxli9h\pyrx_e7e034131703445595d5503afedf53c5\build\lib.win-amd64-cpython-312', '-DPYTHON_EXECUTABLE=C:\Users\U
ser\AppData\Local\Programs\Python\Python312\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\User\AppData\Local\Temp\pip-install-delxli9h\pyrx_e7e034131
703445595d5503afedf53c5\build\lib.win-amd64-cpython-312', '-A', 'x64']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyrx
Failed to build pyrx
ERROR: Could not build wheels for pyrx, which is required to install pyproject.toml-based projects

error when installing

$ the command i executed on my kali

pip install git+https://github.com/jtgrassie/pyrx 

$ The output i received

Collecting git+https://github.com/jtgrassie/pyrx
  Cloning https://github.com/jtgrassie/pyrx to /tmp/pip-req-build-rmgiy02c
  Running command git clone -q https://github.com/jtgrassie/pyrx /tmp/pip-req-build-rmgiy02c
  Running command git submodule update --init --recursive -q
Building wheels for collected packages: pyrx
  Building wheel for pyrx (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-rmgiy02c/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-rmgiy02c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-b7gffwd_
       cwd: /tmp/pip-req-build-rmgiy02c/
  Complete output (47 lines):
  running bdist_wheel
  running build
  running build_ext
  Traceback (most recent call last):
    File "/tmp/pip-req-build-rmgiy02c/setup.py", line 21, in run
      out = subprocess.check_output(['cmake', '--version'])
    File "/usr/lib/python3.9/subprocess.py", line 424, in check_output                                                                                                                                                                      
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,                                                                                                                                                                      
    File "/usr/lib/python3.9/subprocess.py", line 505, in run                                                                                                                                                                               
      with Popen(*popenargs, **kwargs) as process:                                                                                                                                                                                          
    File "/usr/lib/python3.9/subprocess.py", line 951, in __init__                                                                                                                                                                          
      self._execute_child(args, executable, preexec_fn, close_fds,                                                                                                                                                                          
    File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child                                                                                                                                                                   
      raise child_exception_type(errno_num, err_msg, err_filename)                                                                                                                                                                          
  FileNotFoundError: [Errno 2] No such file or directory: 'cmake'                                                                                                                                                                           
                                                                                                                                                                                                                                            
  During handling of the above exception, another exception occurred:                                                                                                                                                                       
                                                                                                                                                                                                                                            
  Traceback (most recent call last):                                                                                                                                                                                                        
    File "<string>", line 1, in <module>                                                                                                                                                                                                    
    File "/tmp/pip-req-build-rmgiy02c/setup.py", line 59, in <module>                                                                                                                                                                       
      setup(                                                                                                                                                                                                                                
    File "/usr/local/lib/python3.9/dist-packages/setuptools/__init__.py", line 155, in setup                                                                                                                                                
      return distutils.core.setup(**attrs)                                                                                                                                                                                                  
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 148, in setup                                                                                                                                         
      return run_commands(dist)                                                                                                                                                                                                             
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 163, in run_commands                                                                                                                                  
      dist.run_commands()                                                                                                                                                                                                                   
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 967, in run_commands                                                                                                                                  
      self.run_command(cmd)                                                                                                                                                                                                                 
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command                                                                                                                                   
      cmd_obj.run()                                                                                                                                                                                                                         
    File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 299, in run                                                                                                                                                            
      self.run_command('build')                                                                                                                                                                                                             
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command                                                                                                                                    
      self.distribution.run_command(command)                                                                                                                                                                                                
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command                                                                                                                                   
      cmd_obj.run()                                                                                                                                                                                                                         
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/command/build.py", line 135, in run                                                                                                                                  
      self.run_command(cmd_name)                                                                                                                                                                                                            
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command                                                                                                                                    
      self.distribution.run_command(command)                                                                                                                                                                                                
    File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command                                                                                                                                   
      cmd_obj.run()                                                                                                                                                                                                                         
    File "/tmp/pip-req-build-rmgiy02c/setup.py", line 23, in run                                                                                                                                                                            
      raise RuntimeError("CMake must be installed to build the following extensions: " +                                                                                                                                                    
  RuntimeError: CMake must be installed to build the following extensions: pyrx                                                                                                                                                             
  ----------------------------------------                                                                                                                                                                                                  
  ERROR: Failed building wheel for pyrx
  Running setup.py clean for pyrx
Failed to build pyrx
Installing collected packages: pyrx
    Running setup.py install for pyrx ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-rmgiy02c/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-rmgiy02c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7cbdgyne/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyrx                                                                                                                                                                                                       
         cwd: /tmp/pip-req-build-rmgiy02c/                                                                                                                                                                                                  
    Complete output (51 lines):                                                                                                                                                                                                             
    running install                                                                                                                                                                                                                         
    /usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.                                               
      warnings.warn(                                                                                                                                                                                                                        
    running build                                                                                                                                                                                                                           
    running build_ext                                                                                                                                                                                                                       
    Traceback (most recent call last):                                                                                                                                                                                                      
      File "/tmp/pip-req-build-rmgiy02c/setup.py", line 21, in run                                                                                                                                                                          
        out = subprocess.check_output(['cmake', '--version'])                                                                                                                                                                               
      File "/usr/lib/python3.9/subprocess.py", line 424, in check_output                                                                                                                                                                    
        return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,                                                                                                                                                                    
      File "/usr/lib/python3.9/subprocess.py", line 505, in run                                                                                                                                                                             
        with Popen(*popenargs, **kwargs) as process:                                                                                                                                                                                        
      File "/usr/lib/python3.9/subprocess.py", line 951, in __init__                                                                                                                                                                        
        self._execute_child(args, executable, preexec_fn, close_fds,                                                                                                                                                                        
      File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child                                                                                                                                                                 
        raise child_exception_type(errno_num, err_msg, err_filename)                                                                                                                                                                        
    FileNotFoundError: [Errno 2] No such file or directory: 'cmake'                                                                                                                                                                         
                                                                                                                                                                                                                                            
    During handling of the above exception, another exception occurred:                                                                                                                                                                     
                                                                                                                                                                                                                                            
    Traceback (most recent call last):                                                                                                                                                                                                      
      File "<string>", line 1, in <module>                                                                                                                                                                                                  
      File "/tmp/pip-req-build-rmgiy02c/setup.py", line 59, in <module>                                                                                                                                                                     
        setup(                                                                                                                                                                                                                              
      File "/usr/local/lib/python3.9/dist-packages/setuptools/__init__.py", line 155, in setup                                                                                                                                              
        return distutils.core.setup(**attrs)                                                                                                                                                                                                
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 148, in setup                                                                                                                                       
        return run_commands(dist)                                                                                                                                                                                                           
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/core.py", line 163, in run_commands                                                                                                                                
        dist.run_commands()                                                                                                                                                                                                                 
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 967, in run_commands                                                                                                                                
        self.run_command(cmd)                                                                                                                                                                                                               
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command                                                                                                                                 
        cmd_obj.run()                                                                                                                                                                                                                       
      File "/usr/local/lib/python3.9/dist-packages/setuptools/command/install.py", line 68, in run                                                                                                                                          
        return orig.install.run(self)                                                                                                                                                                                                       
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/command/install.py", line 664, in run                                                                                                                              
        self.run_command('build')                                                                                                                                                                                                           
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command                                                                                                                                  
        self.distribution.run_command(command)                                                                                                                                                                                              
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command                                                                                                                                 
        cmd_obj.run()                                                                                                                                                                                                                       
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/command/build.py", line 135, in run                                                                                                                                
        self.run_command(cmd_name)                                                                                                                                                                                                          
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/cmd.py", line 313, in run_command                                                                                                                                  
        self.distribution.run_command(command)                                                                                                                                                                                              
      File "/usr/local/lib/python3.9/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command                                                                                                                                 
        cmd_obj.run()                                                                                                                                                                                                                       
      File "/tmp/pip-req-build-rmgiy02c/setup.py", line 23, in run                                                                                                                                                                          
        raise RuntimeError("CMake must be installed to build the following extensions: " +                                                                                                                                                  
    RuntimeError: CMake must be installed to build the following extensions: pyrx                                                                                                                                                           
    ----------------------------------------                                                                                                                                                                                                
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-rmgiy02c/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-rmgiy02c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7cbdgyne/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/pyrx Check the logs for full command output.

$ I have tried install in Parrot Os Security and have same result

randomx: Couldn't use largePages for RandomX ...

also, it is VERY slow the first time. How does this compare to C implementation of RandomX?

Are the hashes reproducible like this, or do we have to report certain steps failed and were skipped?
Thanks

randomx: Couldn't use largePages for RandomX cache
randomx: Couldn't use largePages for RandomX dataset
randomx: Couldn't use largePages for RandomX VM

Build Fails

subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 364, in check_call
        raise CalledProcessError(retcode, cmd)
 subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.