torchrec - [WinError 193] %1 is not a valid Win32 application

Hi, I used pip install torchrec, which was successful. Yet, when I tried to import torchrec, this error showed up.

“[WinError 193] %1 is not a valid Win32 application”

This error only happened in my vscode. (My laptop is system type is: “64-bit operating system, x64-based processor” with Nvidia GeForce MX450) Running the tutorial code in colab was not a problem that everything ran smoothly.

Is there any problem? Any solutions? Any Suggestions?

1 Like

Have you ever solved that problem? I am facing the same.

Someone here mentioned setting up Python 64-bit solved the problem, but that did not work for me.