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

Error when importing after fresh installation on colab #12

Open
janzuiderveld opened this issue Nov 15, 2021 · 0 comments
Open

Error when importing after fresh installation on colab #12

janzuiderveld opened this issue Nov 15, 2021 · 0 comments

Comments

@janzuiderveld
Copy link

What CUDA and Python versions have you tested the pip package in? After installation on a fresh collab I receive the following error:


OSError Traceback (most recent call last)
in ()
----> 1 import wav2clip

7 frames
/usr/local/lib/python3.7/dist-packages/wav2clip/init.py in ()
2 import torch
3
----> 4 from .model.encoder import ResNetExtractor
5
6

/usr/local/lib/python3.7/dist-packages/wav2clip/model/encoder.py in ()
4 from torch import nn
5
----> 6 from .resnet import BasicBlock
7 from .resnet import ResNet
8

/usr/local/lib/python3.7/dist-packages/wav2clip/model/resnet.py in ()
3 import torch.nn as nn
4 import torch.nn.functional as F
----> 5 import torchaudio
6
7

/usr/local/lib/python3.7/dist-packages/torchaudio/init.py in ()
----> 1 from torchaudio import _extension # noqa: F401
2 from torchaudio import (
3 compliance,
4 datasets,
5 functional,

/usr/local/lib/python3.7/dist-packages/torchaudio/_extension.py in ()
25
26
---> 27 _init_extension()

/usr/local/lib/python3.7/dist-packages/torchaudio/_extension.py in _init_extension()
19 # which depends on libtorchaudio and dynamic loader will handle it for us.
20 if path.exists():
---> 21 torch.ops.load_library(path)
22 torch.classes.load_library(path)
23 # This import is for initializing the methods registered via PyBind11

/usr/local/lib/python3.7/dist-packages/torch/_ops.py in load_library(self, path)
108 # static (global) initialization code in order to register custom
109 # operators with the JIT.
--> 110 ctypes.CDLL(path)
111 self.loaded_libraries.add(path)
112

/usr/lib/python3.7/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error)
362
363 if handle is None:
--> 364 self._handle = _dlopen(self._name, mode)
365 else:
366 self._handle = handle

OSError: libcudart.so.10.2: cannot open shared object file: No such file or directory

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

No branches or pull requests

1 participant