Comments (5)
I ran into the same problem. The issue is in the rapidsai-csp-utils/colab/pip-install.py
script which throws this error:
Traceback (most recent call last):
File "rapidsai-csp-utils/colab/pip-install.py", line 26, in <module>
gpu_name = pynvml.nvmlDeviceGetName(pynvml.nvmlDeviceGetHandleByIndex(0)).decode('UTF-8')
AttributeError: 'str' object has no attribute 'decode'
In turn, cudf is not installed and later you get the "No module named 'cudf'" error.
To fix this I copied the script code into a new cell in Colab notebooks and simply removed the decode part from this line https://github.com/rapidsai-community/rapidsai-csp-utils/blob/main/colab/pip-install.py#L26.
Doing this should work and you'll be able to successfully install cudf. You can check it worked by running import cudf
in a new cell.
Hope it helped!
from rapidsai-csp-utils.
closed by #76
from rapidsai-csp-utils.
Unfortunately it is still doesnt work for me and getting the same error which: No module named 'cudf'
I think I did everything rigth... Any other tips, why doesnt it work properly?
from rapidsai-csp-utils.
Hey @kelemenantal , i tested it on a fresh copy of the template notebook and it worked. Have you tried the most recent template? You can always find them on our website. LMK. I'll leave the closed as it is solved, but we can debug. Also, we can chat on the RAPIDS slack.
from rapidsai-csp-utils.
Hey @kelemenantal , i tested it on a fresh copy of the template notebook and it worked. Have you tried the most recent template? You can always find them on our website. LMK. I'll leave the closed as it is solved, but we can debug. Also, we can chat on the RAPIDS slack.
Thx a lot, it is working with the template you shared! I have further issues, but it has no contact with the [No module named 'cudf'] so lets leave the case closed.
from rapidsai-csp-utils.
Related Issues (20)
- colab pip install notebook isn’t working HOT 2
- [FEA] Add Nightlies option to pip install for colab
- module not find error
- module not find error
- cudf & cugraph error HOT 1
- `rapids-conda-colab-template.ipynb` fails to install properly HOT 2
- install in colab fails just like issue #75 HOT 3
- GridsearchCV issue using cuML HOT 1
- Colab - can't import cudf, following template instructions HOT 2
- Unable to import cudf HOT 3
- Unable to install/import CUML HOT 1
- Remove/refactor scripts
- Add testing guide
- Conda notebook says it's installing via pip
- Failed to import CuPy because libcudart.so.11.0 cannot be opened HOT 2
- Can't import cupy HOT 2
- Add logic to always install a compatible version of RAPIDS, as Pascal GPUs won't be supported In RAPIDS 24.02+,
- Rapids installation goes fine but cannot import libraries: ImportError: Numba needs NumPy 1.24 or less
- colab conda install notebook isn’t working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapidsai-csp-utils.