Skip to content

ImportError: No module named getch #30

@JiangXiuXiang

Description

@JiangXiuXiang

Hi, thanks for your work , I have some problem when I use this.

after installing rosshow by bash script "ros-install-this", I run "rosshow" in terminal, but there is sth wrong :

Traceback (most recent call last):
File "/opt/ros/melodic/bin/rosshow", line 11, in
load_entry_point('rosshow==2.0.1', 'console_scripts', 'rosshow')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2693, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2324, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2330, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rosshow/rosshow.py", line 17, in
from rosshow.getch import Getch
ImportError: No module named getch

I have try to change the system variable PYTHONPATH , like "export PYTHONPATH=$PYTHONPATH:/opt/ros/melodic/lib/python2.7/dist-packages:/opt/ros/melodic/lib/python2.7/dist-packages/rosshow
",but it does't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions