Skip to content

[BUG] The conda distribution has TERM-related problems #175

@Yura52

Description

@Yura52

Required prerequisites

  • I have read the documentation https://nvitop.readthedocs.io.
  • I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)
  • I have tried the latest version of nvitop in a new isolated virtual environment.

What version of nvitop are you using?

1.5.2

Operating system and version

Ubuntu 22.04

NVIDIA driver version

550.163.01

NVIDIA-SMI


Python environment

No environment is needed

Problem description

I use the Ghostty terminal emulator and I have an issue with nvitop described here:
ghostty-org/ghostty#8097

I noticed that there are similar issues in the repository (e.g. #118), but the suggested solution requires patching the terminal-related environment variables, which I would like to avoid. After a quick investigation, it seems that the problem is specifically in the Conda distribution of nvitop, not in Ghostty.

Steps to Reproduce

This works fine:

uvx nvitop

However, this fails:

pixi exec nvitop

Or, if you prefer conda:

conda create -n nvitop-conda-bug -y nvitop
conda run -n nvitop-conda-bug nvitop

Traceback

Logs


Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingupstreamSomething upstream related

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions