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

ModuleNotFoundError in Google Colab with GPU runtime #80

Closed
vincentqb opened this issue Dec 15, 2020 · 1 comment
Closed

ModuleNotFoundError in Google Colab with GPU runtime #80

vincentqb opened this issue Dec 15, 2020 · 1 comment

Comments

@vincentqb
Copy link

vincentqb commented Dec 15, 2020

I'm trying to compile from source on google colab. I get a ModuleNotFoundError with GPU runtime only in google colab.

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-4-1b80fbf851cc> in <module>()
----> 1 from warprnnt_pytorch import RNNTLoss
      2 
      3 rnnt_loss = RNNTLoss()
      4 
      5 acts = torch.FloatTensor([[[[0.1, 0.6, 0.1, 0.1, 0.1],

ModuleNotFoundError: No module named 'warprnnt_pytorch'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

Related issues:

  • Unlike unable to run test.py file  #26, the installation seems to have been successful?
  • As noted here, any thoughts on which step I may be missing from the installation instructions?

Thanks!

@vincentqb
Copy link
Author

Solution found here. Using !python setup.py install --old-and-unmanageable was enough.

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

1 participant