Can't generate the from

Hello there,

I am really new in MQTT. I am trying to connect my “nodemcu/esp8266” device to the cloud using free HiveMQ. I followed with success all required steps:

  • Install Arduino IDE
  • PubSubClient library
  • NTPClient library
  • LittleFS Filesystem Uploader
    But at the “Upload certificates to the board” step I am facing an issue: The “” does not compile (or run) to generate the “” required file. I am using Visual Studio Code on Windows 10 for this purpose. My problem is with the “urllib2” in line 21 and the “StringIO” in line 23 which can not be resolved.

Is there any solution for this problem.

Kind regards

do not use visual studio and use python or you have to change the import in the code