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!