Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Am0rphous opened this issue Feb 4, 2022 · 1 comment

Comments

@Am0rphous
Copy link

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

@atagar
Copy link
Collaborator

atagar commented Feb 4, 2022

Thanks Am0rphous, this is a good point. distutils used to be a python builtin but nowadays you're right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants