TabError: inconsistent use of tabs and spaces in indentation

asked 2022-06-14 16:31:40 -0600

r_gerson gravatar image

updated 2022-06-14 16:39:13 -0600

hello, i wrote some simple publisher/subscriber nodes in python, in a package called test1. When i try to run colcon build, it errors:

--- stderr: test1                   
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< test1 [4.44s]

Summary: 1 package finished [5.30s]
  1 package had stderr output: test1
---

but i converted all spaces to tabs. How do i fix this? running humble on ubuntu 22.04 on raspberry pi4

edit retag flag offensive close merge delete