Skip to content

Ubuntu 18.04 - import distutils.spawn ModuleNotFoundError: No module named 'distutils.spawn' #57

@Am0rphous

Description

@Am0rphous

Hi! Looking at the documentation there seems to be no mention of the dependency python3-distutils when installing nyx on Ubuntu 18.04 OS.

When installing on 18.04 one encounters an error which may look like this:

File "/usr/bin/nyx", line 11, in load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 480, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2693, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2324, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2330, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/lib/python3/dist-packages/nyx/init.py", line 46, in import distutils.spawn ModuleNotFoundError: No module named 'distutils.spawn'

It would be helpful to add a small note regarding dependency on either the Github repo or at nyx.torproject.org.
I suggest a short note like this under the FAQ section at nyx.torproject.org, and specifically under the question "Does Nyx have any dependencies?":

Ubuntu 18.04 dependency:
python3-distutils

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions