jiazhihao / TASO

The Tensor Algebra SuperOptimizer for Deep Learning
Apache License 2.0
682 stars 89 forks source link

IImportError #101

Open ak47werttyydd opened 1 year ago

ak47werttyydd commented 1 year ago
Python 3.11.3 (main, May 15 2023, 15:45:52) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import taso
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ruochen/anaconda3/envs/taso3/lib/python3.11/site-packages/taso-0.1.0-py3.11-linux-x86_64.egg/taso/__init__.py", line 1, in <module>
    from .core import *
ImportError: /home/ruochen/anaconda3/envs/taso3/lib/libtaso_runtime.so: undefined symbol: _ZN6google8protobuf8internal16InternalMetadataD1Ev

It seems like the problem is with protobuf. I install protobuf in a conda environment, on which conda environment taso is installed