torproject / nyx

Command-line monitor for Tor.
https://nyx.torproject.org/
GNU General Public License v3.0
122 stars 26 forks source link

pip install nyx [RegataOS - Opensuse] #67

Closed Jetrom17 closed 1 year ago

Jetrom17 commented 1 year ago
nyx

Then it breaks

Traceback (most recent call last):
  File "/usr/bin/nyx", line 11, in <module>
    load_entry_point('nyx==2.1.0.dev0', 'console_scripts', 'nyx')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/nyx-2.1.0.dev0-py3.6.egg/nyx/__init__.py", line 772, in <module>
    import nyx.curses
  File "/usr/lib/python3.6/site-packages/nyx-2.1.0.dev0-py3.6.egg/nyx/curses.py", line 88, in <module>
    import curses
  File "/usr/lib64/python3.6/_import_failed/curses.py", line 19, in <module>
    to install it.""")
ImportError: Module 'curses' is not installed.
Jetrom17 commented 1 year ago

I got help from Google's artificial intelligence (Bard), so it worked:

sudo zypper install python3-curses
Jetrom17 commented 1 year ago

I am sorry.