(apriltags) PS C:\Users\John\Documents\AprilTag\TagTracker-master> pip install -r requirements.txt Collecting apriltag==0.0.16 Using cached apriltag-0.0.16.tar.gz (201 kB) Preparing metadata (setup.py) ... done Collecting numpy==1.22.3 Using cached numpy-1.22.3-cp38-cp38-win_amd64.whl (14.7 MB) Collecting opencv-contrib-python==4.5.5.64 Using cached opencv_contrib_python-4.5.5.64-cp36-abi3-win_amd64.whl (42.2 MB) Collecting pynetworktables==2021.0.0 Using cached pynetworktables-2021.0.0-py3-none-any.whl (65 kB) Requirement already satisfied: imutils==0.5.4 in c:\users\john\anaconda3\envs\apriltags\lib\site-packages (from -r requirements.txt (line 5)) (0.5.4) Building wheels for collected packages: apriltag Building wheel for apriltag (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [66 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-38 copying python\apriltag.py -> build\lib.win-amd64-cpython-38 running build_ext C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py:30: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:1 (project): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "C:/Users/John/AppData/Local/Temp/pip-install-pxomeo3a/apriltag_d9c228a0b1a14988bbfff97a31f32c05/build/temp.win-amd64-cpython-38/Release/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py", line 62, in setup( File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup return run_commands(dist) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands dist.run_commands() File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands self.run_command(cmd) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run self.run_command(cmd_name) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py", line 35, in run self.build_extension(ext) File "C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py", line 59, in build_extension subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) File "C:\Users\John\anaconda3\envs\apriltags\lib\subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\John\\AppData\\Local\\Temp\\pip-install-pxomeo3a\\apriltag_d9c228a0b1a14988bbfff97a31f32c05', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\John\\AppData\\Local\\Temp\\pip-install-pxomeo3a\\apriltag_d9c228a0b1a14988bbfff97a31f32c05\\build\\lib.win-amd64-cpython-38', '-DPYTHON_EXECUTABLE=C:\\Users\\John\\anaconda3\\envs\\apriltags\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\John\\AppData\\Local\\Temp\\pip-install-pxomeo3a\\apriltag_d9c228a0b1a14988bbfff97a31f32c05\\build\\lib.win-amd64-cpython-38', '-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 apriltag Running setup.py clean for apriltag Failed to build apriltag Installing collected packages: apriltag, pynetworktables, numpy, opencv-contrib-python Running setup.py install for apriltag ... error error: subprocess-exited-with-error × Running setup.py install for apriltag did not run successfully. │ exit code: 1 ╰─> [70 lines of output] running install C:\Users\John\anaconda3\envs\apriltags\lib\site-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_py creating build creating build\lib.win-amd64-cpython-38 copying python\apriltag.py -> build\lib.win-amd64-cpython-38 running build_ext C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py:30: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:1 (project): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "C:/Users/John/AppData/Local/Temp/pip-install-pxomeo3a/apriltag_d9c228a0b1a14988bbfff97a31f32c05/build/temp.win-amd64-cpython-38/Release/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py", line 62, in setup( File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup return run_commands(dist) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands dist.run_commands() File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands self.run_command(cmd) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\command\install.py", line 68, in run return orig.install.run(self) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\command\install.py", line 698, in run self.run_command('build') File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run self.run_command(cmd_name) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command self.distribution.run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Users\John\anaconda3\envs\apriltags\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py", line 35, in run self.build_extension(ext) File "C:\Users\John\AppData\Local\Temp\pip-install-pxomeo3a\apriltag_d9c228a0b1a14988bbfff97a31f32c05\setup.py", line 59, in build_extension subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) File "C:\Users\John\anaconda3\envs\apriltags\lib\subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\John\\AppData\\Local\\Temp\\pip-install-pxomeo3a\\apriltag_d9c228a0b1a14988bbfff97a31f32c05', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\John\\AppData\\Local\\Temp\\pip-install-pxomeo3a\\apriltag_d9c228a0b1a14988bbfff97a31f32c05\\build\\lib.win-amd64-cpython-38', '-DPYTHON_EXECUTABLE=C:\\Users\\John\\anaconda3\\envs\\apriltags\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\John\\AppData\\Local\\Temp\\pip-install-pxomeo3a\\apriltag_d9c228a0b1a14988bbfff97a31f32c05\\build\\lib.win-amd64-cpython-38', '-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: legacy-install-failure × Encountered error while trying to install package. ╰─> apriltag note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. (apriltags) PS C:\Users\John\Documents\AprilTag\TagTracker-master>