PyTorch Compatibility Issue with MATLAB Engine
古いコメントを表示
I'm trying to use MATLAB Engine to extract features for a PyTorch model, but I'm receiving the following error.
File "xxxx", line 22, in <module>
import torch
File "/home/lab/anaconda3/lib/python3.6/site-packages/torch/__init__.py", line 81, in <module>
from torch._C import *
ImportError: /usr/local/MATLAB/R2019b/extern/engines/python/dist/matlab/engine/glnxa64/../../../../../../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /home/lab/anaconda3/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
Interestingly, the error occurs on the line where I try to import PyTorch, not where I import MATLAB Engine. I was previously able to import PyTorch prior to installing MATLAB Runtime. I'm running Ubuntu 16.04.
Any ideas on what I'm doing wrong?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Actors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!