Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riscv64 host --. ./export.sh fails after 'successful' install.sh build #4

Closed
dsobotta opened this issue Dec 2, 2021 · 0 comments
Closed

Comments

@dsobotta
Copy link
Owner

dsobotta commented Dec 2, 2021

debian@debian:/home/debian/git/esp-idf-riscv$ ./install.sh
Detecting the Python interpreter
Checking "python" ...
Checking "python3" ...
Python 3.9.9
"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
WARNING: directory for tool xtensa-esp32-elf version esp-2021r1-8.4.0 is present, but tool was not found
Installing [email protected]
file xtensa-esp32-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz is already downloaded
WARNING: destination path already exists, removing
Extracting /home/debian/.espressif/dist/xtensa-esp32-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz to /home/debian/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0
WARNING: directory for tool xtensa-esp32s2-elf version esp-2021r1-8.4.0 is present, but tool was not found
Installing [email protected]
file xtensa-esp32s2-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz is already downloaded
WARNING: destination path already exists, removing
Extracting /home/debian/.espressif/dist/xtensa-esp32s2-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz to /home/debian/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0
WARNING: directory for tool xtensa-esp32s3-elf version esp-2021r1-8.4.0 is present, but tool was not found
Installing [email protected]
file xtensa-esp32s3-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz is already downloaded
WARNING: destination path already exists, removing
Extracting /home/debian/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz to /home/debian/.espressif/tools/xtensa-esp32s3-elf/esp-2021r1-8.4.0
WARNING: directory for tool riscv32-esp-elf version esp-2021r1-8.4.0 is present, but tool was not found
Installing [email protected]
file riscv32-esp-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz is already downloaded
WARNING: destination path already exists, removing
Extracting /home/debian/.espressif/dist/riscv32-esp-elf-gcc8_4_0-esp-2021r1-linux-amd64.tar.gz to /home/debian/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0
WARNING: directory for tool esp32ulp-elf version 2.28.51-esp-20191205 is present, but tool was not found
Installing [email protected]
file binutils-esp32ulp-linux-amd64-2.28.51-esp-20191205.tar.gz is already downloaded
WARNING: destination path already exists, removing
Extracting /home/debian/.espressif/dist/binutils-esp32ulp-linux-amd64-2.28.51-esp-20191205.tar.gz to /home/debian/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205
WARNING: directory for tool esp32s2ulp-elf version 2.28.51-esp-20191205 is present, but tool was not found
Installing [email protected]
file binutils-esp32s2ulp-linux-amd64-2.28.51-esp-20191205.tar.gz is already downloaded
WARNING: destination path already exists, removing
Extracting /home/debian/.espressif/dist/binutils-esp32s2ulp-linux-amd64-2.28.51-esp-20191205.tar.gz to /home/debian/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205
WARNING: directory for tool openocd-esp32 version v0.10.0-esp32-20210401 is present, but tool was not found
Installing [email protected]
file openocd-esp32-linux64-0.10.0-esp32-20210401.tar.gz is already downloaded
WARNING: destination path already exists, removing
Extracting /home/debian/.espressif/dist/openocd-esp32-linux64-0.10.0-esp32-20210401.tar.gz to /home/debian/.espressif/tools/openocd-esp32/v0.10.0-esp32-20210401
Installing Python environment and packages
Python 3.9.9
pip 21.3.1 from /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages/pip (python 3.9)
Installing Python packages from /home/debian/git/esp-idf-riscv/requirements.txt
Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
Ignoring None: markers 'sys_platform == "win32"' don't match your environment
Requirement already satisfied: setuptools>=21 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requireme
nts.txt (line 4)) (58.3.0)
Requirement already satisfied: click>=7.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requirements.
txt (line 8)) (8.0.3)
Requirement already satisfied: pyserial>=3.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requiremen
ts.txt (line 9)) (3.5)
Requirement already satisfied: future>=0.15.2 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requireme
nts.txt (line 10)) (0.18.2)
Requirement already satisfied: cryptography>=2.1.4 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requ
irements.txt (line 11)) (36.0.0)
Requirement already satisfied: pyparsing<2.4.0,>=2.0.3 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/
requirements.txt (line 12)) (2.3.1)
Requirement already satisfied: pyelftools>=0.22 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/require
ments.txt (line 13)) (0.27)
Requirement already satisfied: gdbgui==0.13.2.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/require
ments.txt (line 15)) (0.13.2.0)
Requirement already satisfied: pygdbmi<=0.9.0.2 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/require
ments.txt (line 18)) (0.9.0.2)
Requirement already satisfied: python-socketio<5 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requir
ements.txt (line 21)) (4.6.1)
Requirement already satisfied: kconfiglib==13.7.1 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requi
rements.txt (line 23)) (13.7.1)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/
requirements.txt (line 26)) (1.5.4)
Requirement already satisfied: bitstring>=3.1.6 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/require
ments.txt (line 27)) (3.1.9)
Requirement already satisfied: ecdsa>=0.16.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requiremen
ts.txt (line 28)) (0.17.0)
Requirement already satisfied: construct==2.10.54 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from -r /home/debian/git/esp-idf-riscv/requi
rements.txt (line 32)) (2.10.54)
Requirement already satisfied: Flask<1.0,>=0.12.2 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from gdbgui==0.13.2.0->-r /home/debian/git/e
sp-idf-riscv/requirements.txt (line 15)) (0.12.5)
Requirement already satisfied: gevent<2.0,>=1.2.2 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from gdbgui==0.13.2.0->-r /home/debian/git/e
sp-idf-riscv/requirements.txt (line 15)) (1.5.0)
Requirement already satisfied: Pygments<3.0,>=2.2.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from gdbgui==0.13.2.0->-r /home/debian/git
/esp-idf-riscv/requirements.txt (line 15)) (2.10.0)
Requirement already satisfied: Flask-SocketIO<3.0,>=2.9 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from gdbgui==0.13.2.0->-r /home/debian
/git/esp-idf-riscv/requirements.txt (line 15)) (2.9.6)
Requirement already satisfied: Flask-Compress<2.0,>=1.4.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from gdbgui==0.13.2.0->-r /home/debi
an/git/esp-idf-riscv/requirements.txt (line 15)) (1.10.1)
Requirement already satisfied: cffi>=1.12 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from cryptography>=2.1.4->-r /home/debian/git/esp-id
f-riscv/requirements.txt (line 11)) (1.15.0)
Requirement already satisfied: python-engineio<4,>=3.13.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from python-socketio<5->-r /home/deb
ian/git/esp-idf-riscv/requirements.txt (line 21)) (3.14.2)
Requirement already satisfied: six>=1.9.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from python-socketio<5->-r /home/debian/git/esp-idf-
riscv/requirements.txt (line 21)) (1.16.0)
Requirement already satisfied: pycparser in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=2.1.4->-r /home/debian
/git/esp-idf-riscv/requirements.txt (line 11)) (2.21)
Requirement already satisfied: itsdangerous>=0.21 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-
r /home/debian/git/esp-idf-riscv/requirements.txt (line 15)) (2.0.1)
Requirement already satisfied: Jinja2>=2.4 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r /home
/debian/git/esp-idf-riscv/requirements.txt (line 15)) (3.0.3)
Requirement already satisfied: Werkzeug<1.0,>=0.7 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-
r /home/debian/git/esp-idf-riscv/requirements.txt (line 15)) (0.16.1)
Requirement already satisfied: brotli in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from Flask-Compress<2.0,>=1.4.0->gdbgui==0.13.2.0->-r /h
ome/debian/git/esp-idf-riscv/requirements.txt (line 15)) (1.0.9)
Requirement already satisfied: greenlet>=0.4.14 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from gevent<2.0,>=1.2.2->gdbgui==0.13.2.0->-r
/home/debian/git/esp-idf-riscv/requirements.txt (line 15)) (1.1.2)
Requirement already satisfied: MarkupSafe>=2.0 in /home/debian/.espressif/python_env/idf3.2_py3.9_env/lib/python3.9/site-packages (from Jinja2>=2.4->Flask<1.0,>=0.12.2->gdbgui==0
.13.2.0->-r /home/debian/git/esp-idf-riscv/requirements.txt (line 15)) (2.0.1)
All done! You can now run:

. ./export.sh

debian@debian:/home/debian/git/esp-idf-riscv$ . ./export.sh
Detecting the Python interpreter
Checking "python" ..
Checking "python3" ..
Python 3.9.9
"python3" has been detected
Adding ESP-IDF tools to PATH...
WARNING: directory for tool xtensa-esp32-elf version esp-2021r1-8.4.0 is present, but tool was not found
ERROR: tool xtensa-esp32-elf has no installed versions. Please run '/home/debian/git/esp-idf-riscv/install.sh' to install it.
WARNING: directory for tool xtensa-esp32s2-elf version esp-2021r1-8.4.0 is present, but tool was not found
ERROR: tool xtensa-esp32s2-elf has no installed versions. Please run '/home/debian/git/esp-idf-riscv/install.sh' to install it.
WARNING: directory for tool xtensa-esp32s3-elf version esp-2021r1-8.4.0 is present, but tool was not found
ERROR: tool xtensa-esp32s3-elf has no installed versions. Please run '/home/debian/git/esp-idf-riscv/install.sh' to install it.
WARNING: directory for tool riscv32-esp-elf version esp-2021r1-8.4.0 is present, but tool was not found
ERROR: tool riscv32-esp-elf has no installed versions. Please run '/home/debian/git/esp-idf-riscv/install.sh' to install it.
WARNING: directory for tool esp32ulp-elf version 2.28.51-esp-20191205 is present, but tool was not found
ERROR: tool esp32ulp-elf has no installed versions. Please run '/home/debian/git/esp-idf-riscv/install.sh' to install it.
WARNING: directory for tool esp32s2ulp-elf version 2.28.51-esp-20191205 is present, but tool was not found
ERROR: tool esp32s2ulp-elf has no installed versions. Please run '/home/debian/git/esp-idf-riscv/install.sh' to install it.
WARNING: directory for tool openocd-esp32 version v0.10.0-esp32-20210401 is present, but tool was not found
ERROR: tool openocd-esp32 has no installed versions. Please run '/home/debian/git/esp-idf-riscv/install.sh' to install it.
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named click
env: ‘idf.py’: No such file or directory
debian@debian:~/git/esp-idf-riscv$

@dsobotta dsobotta changed the title . ./export.sh fails after 'successful' install.sh build riscv64 host --. ./export.sh fails after 'successful' install.sh build Dec 9, 2021
@dsobotta dsobotta closed this as completed Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant