Building wheel for python-rtmidi (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [32 lines of output]
C:\Users\AppData\Local\Temp\pip-install-sdo6y7xm\python-rtmidi_1f82c48fdeec47a9b352ec58e5523c0a\setup.py:27: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
JACK1_MIN_VERSION = StrictVersion('0.125.0')
C:\Users\AppData\Local\Temp\pip-install-sdo6y7xm\python-rtmidi_1f82c48fdeec47a9b352ec58e5523c0a\setup.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
JACK2_MIN_VERSION = StrictVersion('1.9.11')
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\rtmidi
copying rtmidi\midiconstants.py -> build\lib.win-amd64-cpython-311\rtmidi
copying rtmidi\midiutil.py -> build\lib.win-amd64-cpython-311\rtmidi
copying rtmidi\version.py -> build\lib.win-amd64-cpython-311\rtmidi
copying rtmidi__init.py -> build\lib.win-amd64-cpython-311\rtmidi
running egg_info
writing python_rtmidi.egg-info\PKG-INFO
writing dependency_links to python_rtmidi.egg-info\dependency_links.txt
writing top-level names to python_rtmidi.egg-info\top_level.txt
reading manifest file 'python_rtmidi.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '*.rst.in'
no previously-included directories found matching 'ci'
warning: no previously-included files matching 'pycache__' found under directory ''
warning: no previously-included files matching '.py[co]' found under directory '*'
adding license file 'LICENSE.txt'
adding license file 'AUTHORS.rst'
writing manifest file 'python_rtmidi.egg-info\SOURCES.txt'
running build_ext
building 'rtmidi._rtmidi' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-rtmidi
Running setup.py clean for python-rtmidi
Successfully built lss
Failed to build python-rtmidi
ERROR: Could not build wheels for python-rtmidi, which is required to install pyproject.toml-based project
Building wheel for python-rtmidi (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [32 lines of output] C:\Users\AppData\Local\Temp\pip-install-sdo6y7xm\python-rtmidi_1f82c48fdeec47a9b352ec58e5523c0a\setup.py:27: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. JACK1_MIN_VERSION = StrictVersion('0.125.0') C:\Users\AppData\Local\Temp\pip-install-sdo6y7xm\python-rtmidi_1f82c48fdeec47a9b352ec58e5523c0a\setup.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. JACK2_MIN_VERSION = StrictVersion('1.9.11') running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\rtmidi copying rtmidi\midiconstants.py -> build\lib.win-amd64-cpython-311\rtmidi copying rtmidi\midiutil.py -> build\lib.win-amd64-cpython-311\rtmidi copying rtmidi\version.py -> build\lib.win-amd64-cpython-311\rtmidi copying rtmidi__init.py -> build\lib.win-amd64-cpython-311\rtmidi running egg_info writing python_rtmidi.egg-info\PKG-INFO writing dependency_links to python_rtmidi.egg-info\dependency_links.txt writing top-level names to python_rtmidi.egg-info\top_level.txt reading manifest file 'python_rtmidi.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching '*.rst.in' no previously-included directories found matching 'ci' warning: no previously-included files matching 'pycache__' found under directory '' warning: no previously-included files matching '.py[co]' found under directory '*' adding license file 'LICENSE.txt' adding license file 'AUTHORS.rst' writing manifest file 'python_rtmidi.egg-info\SOURCES.txt' running build_ext building 'rtmidi._rtmidi' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for python-rtmidi Running setup.py clean for python-rtmidi Successfully built lss Failed to build python-rtmidi ERROR: Could not build wheels for python-rtmidi, which is required to install pyproject.toml-based project