Hello,
Up to now, I used the Arduino environment for my projects, but now its time to go to GIt, and Platformio appear powerful, so I decided to start this new adventure. I started using platformio some mount ago,
I’ve had got some problems and I tried to adjust theirs by myself. Something I have done but now I don’t know where is the solution. I had installed more and more than one time VSC, Platformio and Python in different versions. now Python is 2.7.13.
The problem born during the Upload of projects using ESP8266, during the build phase I get a successful result, different projects, using this ardware tipe, make the same error.
problem who is:
- " File “C:\Users\cuogh.platformio\packages\tool-esptoolpy\esptool.py”, line 2848, in *
- ESP8266ROM.STUB_CODE = eval(zlib.decompress(base64.b64decode(b)))"
NameError: name ‘b’ is not defined
**** [upload] Error 1
----------------------------------------- OTHER INFORMATIONS:------------
Op. System WINDOWS 10, 64 bit.
Platformio.ini :
slight_smile:[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
If I try to use the terminal the commands obtain error eg
“$ pio
bash: pio: command not found”
Many thanks for your support
Ciao
Daniele