I am starting to build my skills in ROS2, however in the course of ROS2, I cannot run any package in the termial or simulator.
Most of the time system show me a issue with: “setuptools” in setup.py file
help box sais: Import “setuptools” could not be resolved from sourcePylance(reportMissingModuleSource)
The most common solution to get rid of “SetuptoolsDeprecationWarning” would be to downgrade the version of setuptools that is currently installed on the virtual machine.
Run the below command on a terminal in your environment.
pip install setuptools==58.2.0
This should fix your problem. Let me know if the problem still persists.