我有最新版本的pytorch和torchvision。'LSTM' object has no attribute '_flat_weights_names'pip installtorch==1.2.0+cu92 torchvision==0.4.0+cu92 -f https://download.pytorch.org/whl
我用pytorch构建了一个程序执行程序。它很好的工作在PC上,那里的执行是建立在上面,但不是在另一个PC上。引发ImportError,DLL加载失败。
我是个新手,所以我不知道发生了什么。\conda\envs\cy_pytorch\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module我使用pytols1.0.1、python 3.6.8和pyinstall
我尝试在python2.7中安装pytorch,但得到以下错误:UnsatisfiableError: The following specifications were foundunless you explicitlyversion='>=1.3.4'] -> cffi[version='>=1.7'