install.sh failed, ubuntu 16.04
Posted: Wed Apr 21, 2021 10:10 am
hi,
just cloned the latest IDF and ./install.sh failed.
(there was a previous older IDF version that i deleted.)
see log:
tom@LinuxLaptop:~/esp/esp-idf$ git describe
v4.4-dev-960-gcf457d4
tom@LinuxLaptop:~/esp/esp-idf$ ./install.sh
Detecting the Python interpreter
Checking "python" ...
Checking "python3" ...
Python 3.5.2
"python3" has been detected
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, esp32s2ulp-elf, openocd-esp32
Skipping xtensa-esp32-elf@esp-2020r3-8.4.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2020r3-8.4.0 (already installed)
Skipping xtensa-esp32s3-elf@esp-2020r3-8.4.0 (already installed)
Skipping riscv32-esp-elf@1.24.0.123_64eb9ff-8.4.0 (already installed)
Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping openocd-esp32@v0.10.0-esp32-20200709 (already installed)
Installing Python environment and packages
Creating a new Python environment in /home/tom/.espressif/python_env/idf4.4_py3.5_env
Traceback (most recent call last):
File "/home/tom/esp/esp-idf/tools/idf_tools.py", line 1685, in <module>
main(sys.argv[1:])
File "/home/tom/esp/esp-idf/tools/idf_tools.py", line 1681, in main
action_func(args)
File "/home/tom/esp/esp-idf/tools/idf_tools.py", line 1383, in action_install_python_env
import virtualenv # noqa: F401
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/__init__.py", line 3, in <module>
from .run import cli_run, session_via_cli
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/run/__init__.py", line 13, in <module>
from .plugin.activators import ActivationSelector
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/run/plugin/activators.py", line 6, in <module>
from .base import ComponentBuilder
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/run/plugin/base.py", line 9, in <module>
from importlib_metadata import entry_points
File "/home/tom/.local/lib/python3.5/site-packages/importlib_metadata/__init__.py", line 158
dist: Optional['Distribution'] = None
^
SyntaxError: invalid syntax
tom@LinuxLaptop:~/esp/esp-idf$
just cloned the latest IDF and ./install.sh failed.
(there was a previous older IDF version that i deleted.)
see log:
tom@LinuxLaptop:~/esp/esp-idf$ git describe
v4.4-dev-960-gcf457d4
tom@LinuxLaptop:~/esp/esp-idf$ ./install.sh
Detecting the Python interpreter
Checking "python" ...
Checking "python3" ...
Python 3.5.2
"python3" has been detected
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, esp32s2ulp-elf, openocd-esp32
Skipping xtensa-esp32-elf@esp-2020r3-8.4.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2020r3-8.4.0 (already installed)
Skipping xtensa-esp32s3-elf@esp-2020r3-8.4.0 (already installed)
Skipping riscv32-esp-elf@1.24.0.123_64eb9ff-8.4.0 (already installed)
Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping openocd-esp32@v0.10.0-esp32-20200709 (already installed)
Installing Python environment and packages
Creating a new Python environment in /home/tom/.espressif/python_env/idf4.4_py3.5_env
Traceback (most recent call last):
File "/home/tom/esp/esp-idf/tools/idf_tools.py", line 1685, in <module>
main(sys.argv[1:])
File "/home/tom/esp/esp-idf/tools/idf_tools.py", line 1681, in main
action_func(args)
File "/home/tom/esp/esp-idf/tools/idf_tools.py", line 1383, in action_install_python_env
import virtualenv # noqa: F401
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/__init__.py", line 3, in <module>
from .run import cli_run, session_via_cli
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/run/__init__.py", line 13, in <module>
from .plugin.activators import ActivationSelector
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/run/plugin/activators.py", line 6, in <module>
from .base import ComponentBuilder
File "/home/tom/.local/lib/python3.5/site-packages/virtualenv/run/plugin/base.py", line 9, in <module>
from importlib_metadata import entry_points
File "/home/tom/.local/lib/python3.5/site-packages/importlib_metadata/__init__.py", line 158
dist: Optional['Distribution'] = None
^
SyntaxError: invalid syntax
tom@LinuxLaptop:~/esp/esp-idf$