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

Commitbc5232d

Browse files
maybe fix it
1 parentab8b465 commitbc5232d

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

‎builder/esp32.py‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,14 +1568,19 @@ def compile(*args): # NOQA
15681568
if'Project build complete.'inoutput:
15691569
output=output.rsplit('To flash, run:')[-1].strip()
15701570

1571+
importos
15711572
espressif_path=os.path.expanduser('~/.espressif')
15721573

1573-
importsys
1574-
print(f"version:{sys.version}")
1575-
importos
1576-
os.listdir(f"~")
1577-
os.listdir(f"{espressif_path}/")
1578-
os.listdir(f"{espressif_path}/python_env")
1574+
try:
1575+
print(f"espressif_path:{espressif_path}")
1576+
importsys
1577+
print(f"version:{sys.version}")
1578+
importos
1579+
os.listdir(f"~")
1580+
os.listdir(f"{espressif_path}/")
1581+
os.listdir(f"{espressif_path}/python_env/")
1582+
exceptExceptionase:
1583+
print(f"got exception{e}")
15791584

15801585
forverin ('3.8','3.9','3.10','3.11','3.12','3.13'):
15811586
python_path= (

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp