Giter Site home page Giter Site logo

FileNotFoundError about gputil HOT 3 CLOSED

anderskm avatar anderskm commented on July 23, 2024 1
FileNotFoundError

from gputil.

Comments (3)

davidkarl avatar davidkarl commented on July 23, 2024 1

thank you very much,
what i did is simply use the github version and it worked.

however, for completeness' sake - i actually figured out that adding nvidia-smi to path was the problem however i guess i don't know enough because i tried going to "user variables" and "system variables" and to both of them i added:
variable: nvidia-smi
value: C:\Program Files\NVIDIA Corporation\NVSMI (path to the nvidia-smi.exe)

however that didn't work with the pip version.

should i have done something else in my environment variables window?

from gputil.

anderskm avatar anderskm commented on July 23, 2024

Are you using the version on pip or are you using the latest version here on github? The version here in github is a few features ahead of pip.
The issue is caused by nvidia-smi not being in your environment variable "path". This should be corrected in the current version here on Github, but not on pip.

To solve the problem, you can either download the code here or add the folder with nvidia-smi to your environment variable "path".

The issue have been previously discussed. You can have a look at the original issue and the pull request solving it.

Hopefully, I will get time to push the newest version to pip before Christmas :-)

from gputil.

anderskm avatar anderskm commented on July 23, 2024

@davidkarl The pip version have been quite a bit behind the github version in terms of features. I have simply been too slow to push the new features/fixes to pip.
However, I have tagged and released a new version (v1.4.0) and uploaded it to pip.

W.r.t. your issue with the environment variables, you should add C:\Program Files\NVIDIA Corporation\NVSMI to the variable called PATH. But that should no longer be required with the latest version on pip (and github).

I will be closing this issue for now. If the problem still remains, feel free to comment on this issue, and I will reopen it.

from gputil.

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.