Skip to content

fish_config: No module named 'distutils.spawn' #7514

@Natsurii

Description

@Natsurii

I was trying to setup fish on fresh install of Raspbian OS 32bit on RPi4.
Running fish_config threw a Python web error:
Traceback (most recent call last): File "/usr/share/fish/tools/web_config/webconfig.py", line 11, in <module> from distutils.spawn import find_executable ModuleNotFoundError: No module named 'distutils.spawn'

This behaviour also shows on sh -c 'env HOME=$(mktemp -d) fish'

Here is some technical details.
$ fish --version
fish, version 3.1.2

$ uname -a
Linux raspberrypi 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux

$ echo $TERM
xterm-256color

$python3 --version
Python 3.7.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions