Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit66128c7

Browse files
fix build on esp32.py with python 3.14
1 parentbc5232d commit66128c7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

‎builder/esp32.py‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,26 +1576,27 @@ def compile(*args): # NOQA
15761576
importsys
15771577
print(f"version:{sys.version}")
15781578
importos
1579-
os.listdir(f"~")
1579+
#os.listdir(f"~")
15801580
os.listdir(f"{espressif_path}/")
15811581
os.listdir(f"{espressif_path}/python_env/")
15821582
exceptExceptionase:
15831583
print(f"got exception{e}")
15841584

1585-
forverin ('3.8','3.9','3.10','3.11','3.12','3.13'):
1585+
forverin ('3.8','3.9','3.10','3.11','3.12','3.13','3.14','3.15','3.16'):
15861586
python_path= (
15871587
f'{espressif_path}/python_env/'
15881588
f'idf{IDF_VER[:-2]}_py{ver}_env/bin'
15891589
)
15901590
print(f"checking path{python_path}")
15911591
ifos.path.exists(python_path):
1592+
python_path+='/python'
15921593
break
15931594
else:
1594-
raiseRuntimeError(
1595-
'unable to locate python version used in the ESP-IDF'
1596-
)
1595+
#raise RuntimeError(
1596+
# 'unable to locate python version used in the ESP-IDF'
1597+
#)
1598+
python_path="python"
15971599

1598-
python_path+='/python'
15991600

16001601
output=output.split('python ',1)[-1]
16011602
output=output.split('\n',1)[0]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp