在Anaconda下安装Pytorch的超详细步骤
xuan_er06:
请问最后输入import torch之后显示Python 3.11.3 | packaged by Anaconda, Inc. | (main, May 15 2023, 15:41:31) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Traceback (most recent call last):
File "", line 1, in
File "E:\Anaconda\envs\pytorch\Lib\site-packages\torch\__init__.py", line 122, in
raise err
OSError: [WinError 193] %1 不是有效的 Win32 应用程序。 Error loading "E:\Anaconda\envs\pytorch\Lib\site-packages\torch\lib\nvfuser_codegen.dll" or one of its dependencies.
|