Skip to content

fish_config doesn't work without curses module #8487

@TechDevJorge

Description

@TechDevJorge

Please tell us which fish version you are using by executing the following:

fish --version fish, version 3.3.1
echo $version

Please tell us which operating system and terminal you are using. The output of uname -a and echo $TERM may be helpful in this regard although other commands might be relevant in your specific situation.
Linux localhost.localdomain 4.18.0-305.7.1.el8_4.x86_64 #1 SMP Tue Jun 29 21:55:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Please tell us if you tried fish without third-party customizations by executing this command and whether it affected the behavior you are reporting:

sh -c 'env HOME=$(mktemp -d) fish'
Running that didn't help. I'm just trying to go into the config so I'll post my command/output below
tech@localhost ~> sh -c 'env HOME=$(mktemp -d) fish'
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
tech@localhost /h/tech> fish_config
Traceback (most recent call last):
File "/usr/share/fish/tools/web_config/webconfig.py", line 1547, in
esc = get_special_ansi_escapes()
File "/usr/share/fish/tools/web_config/webconfig.py", line 511, in get_special_ansi_escapes
import curses
File "/usr/local/lib/python3.9/curses/init.py", line 13, in
from _curses import *
ModuleNotFoundError: No module named '_curses'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions