apriltags
apriltags copied to clipboard
python3.8 and python3.9 could not install.
I can pip install it with python3.6 and python3.7,but when i install it with python3.8 or python3.9,it raise an error:
Building wheels for collected packages: pupil-apriltags
Building wheel for pupil-apriltags (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\anaconda\anaconda3\python.exe' 'C:\Users\Administrator\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpshyhbug5'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-imqsq2x3\pupil-apriltags_ad894239cae3485ba82be9b8cb1a0d27
Complete output (46 lines):
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator
Visual Studio 15 2017
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
See also "C:/Users/Administrator/AppData/Local/Temp/pip-install-imqsq2x3/pupil-apriltags_ad894239cae3485ba82be9b8cb1a0d27/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
--------------------------------------------------------------------------------
-- Trying "Visual Studio 15 2017 x64 v141" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Visual Studio 15 2017 x64 v141" generator - failure
--------------------------------------------------------------------------------
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.
Building windows wheels for Python 3.8 requires Microsoft Visual Studio 2019.
Get it with "Visual Studio 2017":
https://visualstudio.microsoft.com/vs/
Or with "Visual Studio 2019":
https://visualstudio.microsoft.com/vs/
********************************************************************************
----------------------------------------
ERROR: Failed building wheel for pupil-apriltags
What should i do? thanks.
So do I. I guess pip not support compiled binary file and need compile on yourself's devices. it's known to all that compile on local device really causes problems.