Error install horovod with python 3.11.5 on macOS 11.3.1
DriverSong opened this issue · comments
DriverSong commented
Environment:
- Framework: TensorFlow
- Framework version: 2.12.0
- Horovod version: v0.28.1
- MPI version:
- CUDA version:
- NCCL version:
- Python version: 3.11.5
- Spark / PySpark version:
- Ray version: 2.9.0
- OS and version: macOS 11.3.1
- GCC version: 9.5.0
- CMake version: 3.28.1
Checklist:
- Did you search issues to find if somebody asked this question before?
- If your question is about hang, did you read this doc?
- If your question is about docker, did you read this doc?
- Did you check if you question is answered in the troubleshooting guide?
Bug report:
Please describe erroneous behavior you're observing and steps to reproduce it.
The install cmd:
pip install 'horovod[tensorflow]'
The envs:
HOROVOD_WITH_TENSORFLOW=1
HOROVOD_WITHOUT_PYTORCH=1
HOROVOD_WITHOUT_MXNET=1
The errors:
running install_scripts
[WARNING] This wheel needs a higher macOS version than the version your Python interpreter is compiled against. To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least 11_0 or recreate these files with lower MACOSX_DEPLOYMENT_TARGET:
build/bdist.macosx-10.9-x86_64/wheel/horovod/tensorflow/mpi_lib.cpython-311-darwin.soTraceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/7t/kj0yg5_x5c398pp4jht7p6tm0000gp/T/pip-install-q40x46lh/horovod_611b3167fef94970beb553a171d240da/setup.py", line 213, in <module>
setup(name='horovod',
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
super().run_command(command)
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 328, in run
impl_tag, abi_tag, plat_tag = self.get_tag()
^^^^^^^^^^^^^^
File "/myhome/anaconda3/envs/ray-examples/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 278, in get_tag
assert tag in supported_tags, "would build wheel with unsupported tag {}".format(tag)
^^^^^^^^^^^^^^^^^^^^^
AssertionError: would build wheel with unsupported tag ('cp311', 'cp311', 'macosx_11_0_x86_64')