
I try to run Nyx on Linux 4.9.80-Re4son-v7+ #1 SMP Thu Apr 26 17:45:16 CDT 2018 armv7l getting following after start: Traceback (most recent call last): File "/usr/bin/nyx", line 11, in <module> load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 476, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2700, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2318, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 46, in <module> import distutils.spawn ModuleNotFoundError: No module named 'distutils.spawn' Could somebody show me a way to solve this and get Nyx running? Thanks Paul

Well, do you have this package? (distutils) On Fri, Jul 27, 2018, 12:58 Paul <pa011@web.de> wrote:
I try to run Nyx on Linux 4.9.80-Re4son-v7+ #1 SMP Thu Apr 26 17:45:16 CDT 2018 armv7l getting following after start:
Traceback (most recent call last): File "/usr/bin/nyx", line 11, in <module> load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 476, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2700, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2318, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 46, in <module> import distutils.spawn ModuleNotFoundError: No module named 'distutils.spawn'
Could somebody show me a way to solve this and get Nyx running?
Thanks Paul
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

Hi Paul. Distutils should be a python builtin. Per chance did you compile python yourself? If so then that can sometimes exclude modules we expect to be there (like compression libs). On Fri, Jul 27, 2018 at 8:57 AM, Paul <pa011@web.de> wrote:
I try to run Nyx on Linux 4.9.80-Re4son-v7+ #1 SMP Thu Apr 26 17:45:16 CDT 2018 armv7l getting following after start:
Traceback (most recent call last): File "/usr/bin/nyx", line 11, in <module> load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 476, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2700, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2318, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 46, in <module> import distutils.spawn ModuleNotFoundError: No module named 'distutils.spawn'
Could somebody show me a way to solve this and get Nyx running?
Thanks Paul
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

So, where do we find distutils? It doesn't load with apt-get install or pip install on either ubuntu or debian. What dicroty is it in? On 7/27/2018 11:50 AM, Damian Johnson wrote:
Hi Paul. Distutils should be a python builtin. Per chance did you compile python yourself? If so then that can sometimes exclude modules we expect to be there (like compression libs).
On Fri, Jul 27, 2018 at 8:57 AM, Paul <pa011@web.de> wrote:
I try to run Nyx on Linux 4.9.80-Re4son-v7+ #1 SMP Thu Apr 26 17:45:16 CDT 2018 armv7l getting following after start:
Traceback (most recent call last): File "/usr/bin/nyx", line 11, in <module> load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 476, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2700, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2318, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3/dist-packages/nyx/__init__.py", line 46, in <module> import distutils.spawn ModuleNotFoundError: No module named 'distutils.spawn'
Could somebody show me a way to solve this and get Nyx running?
Thanks Paul
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

On Fri, 27 Jul 2018 11:50:57 -0700 Damian Johnson <atagar@torproject.org> wrote:
Hi Paul. Distutils should be a python builtin. Per chance did you compile python yourself? If so then that can sometimes exclude modules we expect to be there (like compression libs).
On newer Debian/Ubuntu, it's in a separate package: # apt-get install python3-distutils -- Andrew Deason adeason@dson.org

Ahhh! Very helpful, thanks Andrew. I'll be cutting a Stem 1.7 release soon. I'll include a fix for it. https://trac.torproject.org/projects/tor/ticket/26967 On Sat, Jul 28, 2018 at 8:23 AM, Andrew Deason <adeason@dson.org> wrote:
On Fri, 27 Jul 2018 11:50:57 -0700 Damian Johnson <atagar@torproject.org> wrote:
Hi Paul. Distutils should be a python builtin. Per chance did you compile python yourself? If so then that can sometimes exclude modules we expect to be there (like compression libs).
On newer Debian/Ubuntu, it's in a separate package:
# apt-get install python3-distutils
-- Andrew Deason adeason@dson.org
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
participants (5)
-
Andrew Deason
-
arisbe
-
Damian Johnson
-
Paul
-
Renato dos Santos