Yes, in order to use the installed Python ROS package, you need to add the Noetic ROS folder to your Windows environment variable
PYTHONPATH
. This will allow you to import the ROS package when using the
python3.8
command. To add the Noetic ROS folder to
PYTHONPATH
, follow these steps:
- Open the start menu and search for "environment variables".
- Click on "Edit the system environment variables".
- In the System Properties window, click on the "Environment Variables" button.
- In the "System variables" section, find the variable named
PYTHONPATH
and click on the "Edit" button.
- In the "Edit Environment Variable" window, click on the "New" button.
- Enter the path to your Noetic ROS folder. For example...