PyTorch Compatibility Issue with MATLAB Engine
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Actors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!