platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.2k stars 192 forks source link

ModuleNotFoundError: No module named 'encodings' #1322

Closed DenisMtfl closed 4 years ago

DenisMtfl commented 4 years ago

%23 Description of problem Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.39.2 PIO IDE: v1.9.3 System: Windows_NT, 10.0.18363, x64

%23 Exception

Error: Could not create PIO Core Virtual Environment. Please create it manually -> http://bit.ly/pio-core-virtualenv 
 Error: Virtualenv Create: Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x000030e4 (most recent call first):

    at t.value (c:\Users\Denis\.vscode\extensions\platformio.platformio-ide-1.9.3\node_modules\platformio-node-helpers\dist\webpack:\platformio-node-helpers\src\installer\stages\platformio-core.js:303:14)
thb584Git commented 4 years ago

Same problem here, any feedback, workaround or solution yet? Problem occurs after trying a complete reinstallion hoping to solve a problem with programmer for AVR devices not working with PlatformIO IDE.

ivankravets commented 4 years ago

Please provide an output from system Terminal cmd

echo %PATH%
python --version
pip --version
pip list
thb584Git commented 4 years ago

Here you go, attached requested output plus programming log w/wo custom in pio.ini

Afterwards Upgraded pip version 18.1 to version 19.3.1 as recommended with same result.

Best Regards

Thomas

Von: Ivan Kravets [mailto:notifications@github.com] Gesendet: Samstag, 16. November 2019 14:09 An: platformio/platformio-vscode-ide Cc: thb584Git; Comment Betreff: Re: [platformio/platformio-vscode-ide] Installation Manager (#1322)

Please provide an output from system Terminal cmd

echo %PATH% python --version pip --version pip list

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/platformio/platformio-vscode-ide/issues/1322?email_source=notifications&email_token=AM6JWFLGHSGCAKAH7R4VJF3QT7WFXA5CNFSM4JIANBP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHRE3A#issuecomment-554635884 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6JWFJOGGSHHRQFZLF36DTQT7WFXANCNFSM4JIANBPQ . https://github.com/notifications/beacon/AM6JWFOB3J6CURMZH4INBY3QT7WFXA5CNFSM4JIANBP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHRE3A.gif

Host-M win7/64bit:

C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos>echo %PATH% C:\Users\thomas.platformio\penv\Scripts;C:\Users\thomas.platformio\penv;C:\progs\WinAVR-20100110\bin;C:\progs\WinAVR-20100110\utils\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft VS Code\bin;C:\Users\thomas\AppData\Local\Microsoft\WindowsApps;;C:\progs\WinAVR-20100110\bin;C:\progs\WinAVR-20100110\utils\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft VS Code\bin;C:\Users\thomas\AppData\Local\Microsoft\WindowsApps;

C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos>python --version Python 2.7.13

C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos>pip --version pip 18.1 from c:\users\thomas.platformio\penv\lib\site-packages\pip (python 2.7)

C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos>pip list Package Version


bottle 0.12.17 certifi 2019.9.11 chardet 3.0.4 Click 7.0 colorama 0.4.1 idna 2.8 marshmallow 2.20.5 pip 18.1 platformio 4.1.0 pyelftools 0.25 pyserial 3.4 requests 2.22.0 semantic-version 2.8.2 setuptools 41.4.0 tabulate 0.8.5 urllib3 1.25.6 wheel 0.33.6 You are using pip version 18.1, however version 19.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Custom set:

Processing myenv (platform: atmelavr; framework: arduino; board: uno)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/uno.html PLATFORM: Atmel AVR 1.15.0 > Arduino Uno HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 31.50KB Flash PACKAGES: toolchain-atmelavr 1.50400.190710 (5.4.0), framework-arduinoavr 4.1.2, tool-avrdude 1.60300.190424 (6.3.0) LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Looking for FastLed library in registry Found: https://platformio.org/lib/show/126/FastLED LibraryManager: Installing id=126 FastLED @ 3.3.2 is already installed Found 7 compatible libraries Scanning dependencies... Dependency Graph |-- 0.9.2 | |-- 3.3.2 | | |-- 1.0 | | |-- 1.0 | |-- 1.0 |-- 3.3.2 | |-- 1.0 | |-- 1.0 Building in release mode Checking size .pio\build\myenv\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" DATA: [= ] 8.6% (used 176 bytes from 2048 bytes) PROGRAM: [== ] 15.8% (used 5086 bytes from 32256 bytes) Configuring upload protocol... AVAILABLE: stk500v2 CURRENT: upload_protocol = stk500v2 Looking for upload port... Use manually specified: custom Programming .pio\build\myenv\firmware.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p) avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file ".pio\build\myenv\firmware.hex" avrdude: writing flash (5086 bytes):

Writing | ################################################## | 100% 1.70s

avrdude: 5086 bytes of flash written avrdude: verifying flash memory against .pio\build\myenv\firmware.hex: avrdude: load data flash data from input file .pio\build\myenv\firmware.hex: avrdude: input file .pio\build\myenv\firmware.hex contains 5086 bytes avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.62s

avrdude: verifying ... avrdude: 5086 bytes of flash verified

avrdude: safemode: Fuses OK (E:FD, H:DE, L:FF)

avrdude done. Thank you.

=================================================== [SUCCESS] Took 5.04 seconds ===================================================

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

without custom set(verbose)

C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos>platformio.exe run --target program -v Processing myenv (platform: atmelavr; framework: arduino; board: uno; upload_protocol: stk500v2; upload_flags: -Pusb; lib_deps: FastLed, MobaLedLib)

CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/uno.html PLATFORM: Atmel AVR 1.15.0 > Arduino Uno HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 31.50KB Flash PACKAGES: toolchain-atmelavr 1.50400.190710 (5.4.0), framework-arduinoavr 4.1.2, tool-avrdude 1.60300.190424 (6.3.0) LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Looking for FastLed library in registry Found: https://platformio.org/lib/show/126/FastLED LibraryManager: Installing id=126 FastLED @ 3.3.2 is already installed Found 7 compatible libraries Scanning dependencies... Dependency Graph |-- 0.9.2 (C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos.pio\libdeps\myenv\MobaLedLib_ID5987) | |-- 3.3.2 (C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos.pio\libdeps\myenv\FastLED_ID126) | | |-- 1.0 (C:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SoftwareSerial) | | |-- 1.0 (C:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SPI) | |-- 1.0 (C:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SPI) |-- 3.3.2 (C:\Users\thomas\Documents\PlatformIO\Projects\GitRepos.pio\libdeps\myenv\FastLED_ID126) | |-- 1.0 (C:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SoftwareSerial) | |-- 1.0 (C:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SPI) Building in release mode avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\FastLED.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\FastLED.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\bitswap.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\bitswap.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\colorpalettes.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries__cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\colorpalettes.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\colorutils.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\colorutils.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\hsv2rgb.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\hsv2rgb.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\lib8tion.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\lib8tion.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\noise.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\noise.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\platforms.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\platforms.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\power_mgt.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\power_mgt.cpp avr-g++ -o .pio\build\myenv\libea2\FastLED_ID126\wiring.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\FastLED_ID126\wiring.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\AnalogPattern.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\AnalogPattern.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\Counter.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\Counter.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\Debug_Functions.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\Debug_Functions.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\Dprintf.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\Dprintf.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\House.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\House.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\Logic.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\Logic.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\MobaLedLib.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\MobaLedLib.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\RandFunc.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\RandFunc.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\Schedule.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\Schedule.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\Test_Buttons.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\Test_Buttons.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\WeldingLight.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\WeldingLight.cpp avr-g++ -o .pio\build\myenv\lib288\MobaLedLib_ID5987\mcp_can_nd.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p -DPLATFORMIO=40100 -DARDUINO_AVR_UNO -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -I.pio\libdeps\myenv\MobaLedLib_ID5987\src -I.pio\libdeps\myenv\FastLED_ID126 -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores\arduino\SPI\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\libraries\cores__\arduino\SoftwareSerial\src -IC:\Users\thomas.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\thomas.platformio\packages\framework-arduinoavr\variants\standard .pio\libdeps\myenv\MobaLedLib_ID5987\src\mcp_can_nd.cpp avr-gcc-ar rc .pio\build\myenv\lib288\libMobaLedLib_ID5987.a .pio\build\myenv\lib288\MobaLedLib_ID5987\AnalogPattern.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\Counter.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\Debug_Functions.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\Dprintf.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\House.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\Logic.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\MobaLedLib.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\RandFunc.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\Schedule.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\Test_Buttons.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\WeldingLight.cpp.o .pio\build\myenv\lib288\MobaLedLib_ID5987\mcp_can_nd.cpp.o avr-g++ -o .pio\build\myenv\firmware.elf -Os -mmcu=atmega328p -Wl,--gc-sections -flto -fuse-linker-plugin .pio\build\myenv\libea2\FastLED_ID126\FastLED.cpp.o .pio\build\myenv\libea2\FastLED_ID126\bitswap.cpp.o .pio\build\myenv\libea2\FastLED_ID126\colorpalettes.cpp.o .pio\build\myenv\libea2\FastLED_ID126\colorutils.cpp.o .pio\build\myenv\libea2\FastLED_ID126\hsv2rgb.cpp.o .pio\build\myenv\libea2\FastLED_ID126\lib8tion.cpp.o .pio\build\myenv\libea2\FastLED_ID126\noise.cpp.o .pio\build\myenv\libea2\FastLED_ID126\platforms.cpp.o .pio\build\myenv\libea2\FastLED_ID126\power_mgt.cpp.o .pio\build\myenv\libea2\FastLED_ID126\wiring.cpp.o .pio\build\myenv\src\RGB-LED8.cpp.o -L.pio\build\myenv -Wl,--start-group .pio\build\myenv\libc25\libSoftwareSerial.a .pio\build\myenv\libd86\libSPI.a .pio\build\myenv\lib288\libMobaLedLib_ID5987.a .pio\build\myenv\libFrameworkArduinoVariant.a .pio\build\myenv\libFrameworkArduino.a -lm -Wl,--end-group MethodWrapper(["checkprogsize"], [".pio\build\myenv\firmware.elf"]) Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" DATA: [= ] 8.6% (used 176 bytes from 2048 bytes) PROGRAM: [== ] 15.8% (used 5086 bytes from 32256 bytes) .pio\build\myenv\firmware.elf : section size addr .data 38 8388864 .text 5048 0 .bss 138 8388902 .comment 48 0 .note.gnu.avr.deviceinfo 64 0 .debug_info 1524 0 .debug_abbrev 1442 0 .debug_line 26 0 .debug_str 520 0 Total 8848

(["program"], [".pio\build\myenv\firmware.hex"]) AVAILABLE: stk500v2 CURRENT: upload_protocol = stk500v2 MethodWrapper(["program"], [".pio\build\myenv\firmware.hex"]) Error: Please specify `upload_port` for environment or use global `--upload-port` option. For some development platforms it can be a USB flash drive (i.e. /media//) *** [program] Explicit exit, status 1 ==================================================== [FAILED] Took 2.68 seconds ====================================================
ivankravets commented 4 years ago

Try to uninstall all Pythons from your machine and install the latest http://docs.platformio.org/en/latest/faq.html#install-python-interpreter