Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: /usr/local/lib/python3.8/dist-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZNK3c107SymBool10guard_boolEPKcl #547

Open
smalie2222 opened this issue Dec 29, 2023 · 1 comment

Comments

@smalie2222
Copy link

How can I solve this issue? It seems to be caused by mismatched library versions or corrupted library files. My torch version is 1.13.1, and pytorch_lightning version is 1.9.5.

@PaVaNTrIpAtHi
Copy link

PaVaNTrIpAtHi commented Jan 5, 2024

This is due to version mismatch.
Change your requirements.txt with this :

Cython
matplotlib
numpy
omegaconf>=2.0.1
onnx
onnx-simplifier
opencv-python
pyaml
pycocotools
pytorch-lightning>=1.9.0,<2.0.0
tabulate
tensorboard
termcolor
torch == 1.12.1
torchaudio == 0.12.1
torchmetrics == 0.10.0
torchvision == 0.13.1
tqdm

And it will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants