esp 8266 compilation doesn't work

Hi,
When I try to compile my program, I get the following errors :

esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____.....
Traceback (most recent call last):
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/esptool/esptool.py", line 2890, in main
    esp.connect(args.before)
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/esptool/esptool.py", line 478, in connect
    last_error = self._connect_attempt(mode=mode, esp32r0_delay=True)
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/esptool/esptool.py", line 434, in _connect_attempt
    self._setRTS(True)   # EN=LOW, chip in reset
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/esptool/esptool.py", line 406, in _setRTS
    self._port.setDTR(self._port.dtr)
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/pyserial/serial/serialutil.py", line 599, in setDTR
    self.dtr = value
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/pyserial/serial/serialutil.py", line 469, in dtr
    self._update_dtr_state()
  File "/home/superroot65/.arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/pyserial/serial/serialposix.py", line 636, in _update_dtr_state
    fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_DTR_str)
OSError: [Errno 19] No such device
OSError: [Errno 19] No such device

If someone know why it does that, it should be very helpfull :slight_smile:
NB : I am on lubuntu 20.04 and the pin D0 is connect to gnd. If I don’t do so, I have an error :
can’t detect device