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

Package conflicts with nvidia-ml-py (pynvml.py) #4

Closed
reapoker opened this issue Aug 7, 2021 · 4 comments
Closed

Package conflicts with nvidia-ml-py (pynvml.py) #4

reapoker opened this issue Aug 7, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation duplicate This issue or pull request already exists pynvml Something related to the `nvidia-ml-py` package

Comments

@reapoker
Copy link

reapoker commented Aug 7, 2021

Runtime Environment

  • Operating system and version: [e.g. Ubuntu 20.04 LTS / Windows 10 Build 19043.1110]
  • Terminal emulator and version: [e.g. GNOME Terminal 3.36.2 / Windows Terminal 1.8.1521.0]
  • Python version: [e.g. 3.5.6 / 3.9.6]
  • NVML version (driver version): [e.g. 460.84]
  • nvitop version or commit: [e.g. 0.3.5.6 / main@b669fa3]
  • python-ml-py version: [e.g. 11.450.51]
  • Locale: [e.g. C / C.UTF-8 / en_US.UTF-8]

Current Behavior

image

Expected Behavior

run as previews

@XuehaiPan
Copy link
Owner

XuehaiPan commented Aug 7, 2021

Do you have installed other implementations of NVML Python bindings (nvidia-ml-py3, pynvml, etc.) in your virtual environment? Have a quick check with:

pip3 freeze

You can fix this with the following command:

pip3 install --force-reinstall nvidia-ml-py==11.450.51

@reapoker
Copy link
Author

reapoker commented Aug 7, 2021

image
image
nvidia-ml-py3, pynvml have installed.
But it still reports the error.
error

@XuehaiPan
Copy link
Owner

nvidia-ml-py3, pynvml have installed.

nvidia-ml-py is conflict with nvidia-ml-py3 and pynvml. All these three packages will install module pynvml.py. You should uninstall the others and reinstall nvidia-ml-py:

pip3 uninstall nvidia-ml-py3 pynvml
pip3 install --force-reinstall nvidia-ml-py==11.450.51

Or you can create a new virtual environment and install nvitop in that.

@reapoker
Copy link
Author

reapoker commented Aug 7, 2021

thx!
image

@XuehaiPan XuehaiPan changed the title error Package conflicts with nvidia-ml-py (pynvml.py) Oct 13, 2021
@XuehaiPan XuehaiPan pinned this issue Nov 19, 2021
@XuehaiPan XuehaiPan added documentation Improvements or additions to documentation duplicate This issue or pull request already exists pynvml Something related to the `nvidia-ml-py` package labels Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation duplicate This issue or pull request already exists pynvml Something related to the `nvidia-ml-py` package
Projects
None yet
Development

No branches or pull requests

2 participants