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

error when running from the host #5

Open
jahwanoh opened this issue Jul 14, 2020 · 1 comment
Open

error when running from the host #5

jahwanoh opened this issue Jul 14, 2020 · 1 comment

Comments

@jahwanoh
Copy link

I ran it from the host by
python3 gpuGraph.py $JETSON@$IP
rsync was installed, but I have this error.
do you have any suggestion?

Traceback (most recent call last):
  File "/home/bepro/.local/lib/python3.6/site-packages/matplotlib/backends/backend_gtk3.py", line 88, in _on_timer
    TimerBase._on_timer(self)
  File "/home/bepro/.local/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 1205, in _on_timer
    ret = func(*args, **kwargs)
  File "/home/bepro/.local/lib/python3.6/site-packages/matplotlib/animation.py", line 1449, in _step
    still_going = Animation._step(self, *args)
  File "/home/bepro/.local/lib/python3.6/site-packages/matplotlib/animation.py", line 1169, in _step
    self._draw_next_frame(framedata, self._blit)
  File "/home/bepro/.local/lib/python3.6/site-packages/matplotlib/animation.py", line 1188, in _draw_next_frame
    self._draw_frame(framedata)
  File "/home/bepro/.local/lib/python3.6/site-packages/matplotlib/animation.py", line 1766, in _draw_frame
    self._drawn_artists = self._func(framedata, *self._args)
  File "gpuGraph.py", line 75, in updateGraph
    fileData = subprocess.check_output(cmd.split(" ")).decode("utf-8")
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'sshpass': 'sshpass'

@bitbrain-za
Copy link

sudo apt install sshpass

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