NameError: name 'rclpy' is not defined
when i run ros2 run python_parameters param_talker
,NameError: name 'rclpy' is not defined hapend.
And when i openpython_parameters_node.py
in pycharm, i found No module named 'rclpy'
.
I dont konw why,and i dont konw how to solve it.
Does someone konw? I would really appreciate your help!!
Did you start your pycharm from a terminal?