mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #118] [Question] ERROR: Failed to initialize curses (setupterm: could not find terminfo database) #72
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yyfcc17 on GitHub (Jan 1, 2024).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/118
Originally assigned to: @XuehaiPan on GitHub.
Required prerequisites
Questions
after i run nvitop, i got this error
i think this issue is related to miniconda env, i encountered this error twice.
i packed my miniconda env, and transfered to another computer to unpack and recreate the env, it is on the second computer, i had this issue.
i changed my miniconda path, then i got this issue, before this operation, nvitop runs perfectly.
it is easy to reproduce, you can investigate into it.
thanks for creating this greate tool.
@XuehaiPan commented on GitHub (Jan 1, 2024):
Duplicate of #38.
@yyfcc17 Do you set the
TERMenvironment variable properly in your shell environment? You can try:@yyfcc17 commented on GitHub (Jan 2, 2024):
this can solve the first situation, but still not working for the second.
and i think it is not the reason for this issue, because i have installed nvitop in another env in miniconda, in this env, nvitop works well.
i think maybe the
move operation / change dir operationbreaks the link to terminfo or something like that.@yyfcc17 commented on GitHub (Jan 2, 2024):
issue solved.
the conda
ncursespackage is broken, need to reinstall.for my case:
then nvitop works again.
@lhyscau commented on GitHub (Mar 5, 2024):
WTF! It works! Thanks!