[{"data":1,"prerenderedAt":331},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2025\u002F12\u002F18\u002Fplatformio-for-esp32-missing-intelhex\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":181,"date":315,"description":213,"embedImage":316,"extension":317,"image":316,"intro":318,"meta":319,"navigation":320,"path":321,"seo":322,"series":316,"sitemap":323,"stem":324,"tags":325,"__hash__":330},"content\u002F2025\u002F12\u002F18\u002Fplatformio-for-esp32-missing-intelhex.md","PlatformIO for ESP32 - missing intelhex",{"type":208,"value":209,"toc":313},"minimark",[210,214,225,232,258,265,303,306,309],[211,212,213],"p",{},"After updating the espttool inside platformio from 1.40501 to a later version, I encountered the following error:",[215,216,221],"pre",{"className":217,"code":219,"language":220},[218],"language-text","ModuleNotFoundError: No module named 'intelhex'\n","text",[222,223,219],"code",{"__ignoreMap":224},"",[211,226,227,228,231],{},"One fix is to pin the esptool version back to 1.40501 in the ",[222,229,230],{},"platformio.ini"," file:",[215,233,237],{"className":234,"code":235,"language":236,"meta":224,"style":224},"language-ini shiki shiki-themes github-dark","platform_packages =\n    tool-esptoolpy@~1.40501.0\n","ini",[222,238,239,252],{"__ignoreMap":224},[240,241,244,248],"span",{"class":242,"line":243},"line",1,[240,245,247],{"class":246},"snl16","platform_packages",[240,249,251],{"class":250},"s95oV"," =\n",[240,253,255],{"class":242,"line":254},2,[240,256,257],{"class":250},"    tool-esptoolpy@~1.40501.0\n",[211,259,260,261,264],{},"The other workaround seems to be installing the python package ",[222,262,263],{},"intelhex"," manually. You can do this by running (at least\non a linux or mac system):",[215,266,270],{"className":267,"code":268,"language":269,"meta":224,"style":224},"language-bash shiki shiki-themes github-dark","cd .platformio\u002Fpenv\nsource bin\u002Factivate\npip install intelhex\n","bash",[222,271,272,282,290],{"__ignoreMap":224},[240,273,274,278],{"class":242,"line":243},[240,275,277],{"class":276},"sDLfK","cd",[240,279,281],{"class":280},"sU2Wk"," .platformio\u002Fpenv\n",[240,283,284,287],{"class":242,"line":254},[240,285,286],{"class":276},"source",[240,288,289],{"class":280}," bin\u002Factivate\n",[240,291,293,297,300],{"class":242,"line":292},3,[240,294,296],{"class":295},"svObZ","pip",[240,298,299],{"class":280}," install",[240,301,302],{"class":280}," intelhex\n",[211,304,305],{},"After this - the error disappears - and it now works fine with 2.40900.250804 (4.9.0).",[211,307,308],{},"I have no idea why this is needed, nor if this is the \"correct\" solution - but it works for me.",[310,311,312],"style",{},"html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}",{"title":224,"searchDepth":254,"depth":254,"links":314},[],"2025-12-18 10:03 +0100",null,"md","Updating the ESP32 platform in PlatformIO to later than 1.40501 gave an error about missing intelhex.",{},true,"\u002F2025\u002F12\u002F18\u002Fplatformio-for-esp32-missing-intelhex",{"title":206,"description":213},{"loc":321},"2025\u002F12\u002F18\u002Fplatformio-for-esp32-missing-intelhex",[326,327,328,263,329],"arduino","esp32","platformio","troubleshooting","_ICL2_0XueXgfpMEojrGyRasSxeDGacTGaZZXJRup0k",1775292984174]