question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'basis_cuda'

See original GitHub issue

Hi, thanks for your excellent work! I am using Ubunt 16.04, cuda 9.2 and pytorch 0.4.1 When importing torch_geometric by: from torch_geometric.nn import GCNConv

I met the following error:

  File "/home/x/PycharmProjects/untitled/foo/simple_gcn.py", line 3, in <module>
    from torch_geometric.nn import GCNConv
  File "/home/x/anaconda3/lib/python3.6/site-packages/torch_geometric-0.3.1-py3.6.egg/torch_geometric/nn/__init__.py", line 1, in <module>
  File "/home/x/anaconda3/lib/python3.6/site-packages/torch_geometric-0.3.1-py3.6.egg/torch_geometric/nn/conv/__init__.py", line 1, in <module>
  File "/home/x/anaconda3/lib/python3.6/site-packages/torch_geometric-0.3.1-py3.6.egg/torch_geometric/nn/conv/spline_conv.py", line 3, in <module>
  File "/home/x/anaconda3/lib/python3.6/site-packages/torch_spline_conv/__init__.py", line 1, in <module>
    from .basis import SplineBasis
  File "/home/x/anaconda3/lib/python3.6/site-packages/torch_spline_conv/basis.py", line 5, in <module>
    import basis_cuda
ModuleNotFoundError: No module named 'basis_cuda'

Currently I can work with my data on CPU, but maybe using GPU may accelerate things up. Could you give me some advice about this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rusty1scommented, Nov 4, 2018

Should be fixed in master.

0reactions
back2yescommented, Nov 4, 2018

@Yes, it works great. And you are great!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'en_core_web_sm'
5 Answers 5 · Go to command prompt · Run command: python -m spacy download en_core_web_sm.
Read more >
ModuleNotFoundError: no module named "taming" · Issue #176
I get this error when executing stable diffusion:
Read more >
Solved: Re: ModuleNotFoundError: No module named 'meraki'
I'm trying to get up and running with Python and the Meraki API but can't get it working. I installed Python. I installed...
Read more >
ModuleNotFoundError: no module named Python Error [Fixed]
When you try to import a module in a Python file, Python tries to resolve this module in several ways. Sometimes, Python throws...
Read more >
How to Fix ModuleNotFoundError and ImportError
I believe most Python programmes are quite familiar with ModuleNotFoundError import aModuleNotFoundError: No module named 'a'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found