-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
No module named 'packaging' when installing Horovod #4003
Comments
Same issue here when trying to install Horovod on top of PyTorch 2. |
Same issue here when torch==2.1.2 |
same issue with tensorflow=2.8.4 |
Can you try this fix please? -HOROVOD_WITH_PYTORCH=1 pip3 install --no-cache-dir horovod[pytorch]
+HOROVOD_WITH_PYTORCH=1 pip3 install --no-cache-dir git+https://github.com/horovod/horovod.git@fix-packaging-not-found#egg=horovod[pytorch] |
I tried with this
The problem "No module named 'packaging'" disappear, but there is the problem as below:
|
Did you install tensorflow before? Did you try
|
dear @EnricoMi I checked my tensorflow installation with
and seemly that there is a problem
can you help with this? |
Sorry, I can't. So that is unrelated and the branch might still work. |
Hi,
I am getting the error
ModuleNotFoundError: No module named 'packaging'
when trying to install horovod.I am running the following commands:
My setup is:
I think my issue relates to these issues but they couldn't help me (#3744, #3697).
Full error message:
The text was updated successfully, but these errors were encountered: