Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error install horovod with python 3.11.5 on macOS 11.3.1 #4013

Open
DriverSong opened this issue Dec 22, 2023 · 0 comments
Open

Error install horovod with python 3.11.5 on macOS 11.3.1 #4013

DriverSong opened this issue Dec 22, 2023 · 0 comments
Labels

Comments

@DriverSong
Copy link

Environment:

  1. Framework: TensorFlow
  2. Framework version: 2.12.0
  3. Horovod version: v0.28.1
  4. MPI version:
  5. CUDA version:
  6. NCCL version:
  7. Python version: 3.11.5
  8. Spark / PySpark version:
  9. Ray version: 2.9.0
  10. OS and version: macOS 11.3.1
  11. GCC version: 9.5.0
  12. CMake version: 3.28.1

Checklist:

  1. Did you search issues to find if somebody asked this question before?
  2. If your question is about hang, did you read this doc?
  3. If your question is about docker, did you read this doc?
  4. 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')
@DriverSong DriverSong added the bug label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant