-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
AttributeError: module 'distutils' has no attribute 'version' #12324
Comments
I think pytorch/pytorch#69894 is the cause. I experienced the error before, and I remember using a different version of Can you try |
@dennisushi Also, I remember the patch for this issue have been resolved in the PyTorch 1.11, so if you're okay with trying out the new version, I'd suggest doing so. Feel free to reopen this issue if the problem still persists. |
I was experiencing the same issue. Solved after upgrading to PyTorch 1.11. Thank you! |
@dennisushi I encounter the same issue in torch==1.10.0. It was solved after upgrading to Pytorch 1.11.0. Thank you! |
🐛 Bug
Can't import pytorch_lightning > 1.2
Works OK with ==1.2.
Expected behavior
No error
conda
,pip
, source): pip3The text was updated successfully, but these errors were encountered: