Coder Social home page Coder Social logo

Comments (5)

adalovelace avatar adalovelace commented on August 15, 2024

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.

taureandyernv avatar taureandyernv commented on August 15, 2024

closed by #76

from rapidsai-csp-utils.

kelemenantal avatar kelemenantal commented on August 15, 2024

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.

taureandyernv avatar taureandyernv commented on August 15, 2024

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.

kelemenantal avatar kelemenantal commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.