You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I've been on a somewhat problematic path of trying to install ctcdecode on MacOS with an M1 MacBook pro.
I had to use GCC 12 instead of clang for the installation to work at all.
After pip seems to install ctcdecode, importing it results in the error:
ImportError: dlopen(/opt/homebrew/Caskroom/miniforge/base/envs/rusocr/lib/python3.8/site-packages/ctcdecode/_ext/ctc_decode.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '__ZN3c1010TensorImpl17set_autograd_metaESt10unique_ptrINS_21AutogradMetaInterfaceESt14default_deleteIS2_EE'
I have torch, torchvision and torchaudio installed, and I've tried importing torch before importing ctcdecode to no avail.
I tried installing torch from source, but pip can't find the package when I give the no binary option.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/homebrew/Caskroom/miniforge/base/envs/rusocr/lib/python3.8/site-packages/ctcdecode/__init__.py", line 3, in <module> from ._ext import ctc_decode ImportError: dlopen(/opt/homebrew/Caskroom/miniforge/base/envs/rusocr/lib/python3.8/site-packages/ctcdecode/_ext/ctc_decode.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '__ZN3c1010TensorImpl17set_autograd_metaESt10unique_ptrINS_21AutogradMetaInterfaceESt14default_deleteIS2_EE'
Hi!
I've been on a somewhat problematic path of trying to install ctcdecode on MacOS with an M1 MacBook pro.
I had to use GCC 12 instead of clang for the installation to work at all.
After pip seems to install ctcdecode, importing it results in the error:
ImportError: dlopen(/opt/homebrew/Caskroom/miniforge/base/envs/rusocr/lib/python3.8/site-packages/ctcdecode/_ext/ctc_decode.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '__ZN3c1010TensorImpl17set_autograd_metaESt10unique_ptrINS_21AutogradMetaInterfaceESt14default_deleteIS2_EE'
I have torch, torchvision and torchaudio installed, and I've tried importing torch before importing ctcdecode to no avail.
I tried installing torch from source, but pip can't find the package when I give the no binary option.
The text was updated successfully, but these errors were encountered: