AttributeError: module ‘torch’ has no attribute ‘__version__’
Jan 1, 2021
Summary
Troubleshoot AttributeError of torch
. Install Pytorch
modules.
Error message
I got an error message as below.
AttributeError: module 'torch' has no attribute '__version__'
Re-install
pip uninstall torch
Access Pytorch
website to install torch module.
Select your environment then it generates command for terminal. Copy and paste. Once I completed the installation, I do not see the error message anymore.