Page 1 of 1

V4, get error in install.sh

Posted: Mon Mar 02, 2020 11:36 am
by jumjum123
Whatever I tried with ./install.sh , always get an error
Any idea what to do ?
Installing Python environment and packages
Creating a new Python environment in /home/esp32/.espressif/python_env/idf4.0_py3.6_env
usage: virtualenv [--version] [--with-traceback] [-v | -q] [--app-data APP_DATA] [--clear-app-data] [--discovery {builtin}] [-p py] [--creator {builtin,cpython3-posix,venv}] [--seeder {app-data,pip}] [--no-seed]
[--activators comma_sep_list] [--clear] [--system-site-packages] [--symlinks | --copies] [--download | --no-download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip]
[--no-setuptools] [--no-wheel] [--symlink-app-data] [--prompt prompt] [-h]
dest
virtualenv: error: unrecognized arguments: --no-site-packages
OS: freshly installed Ubuntu V18.04
Python: tried with python2.7 and python3.6
virtualenv: virtualenv 20.0.7

Re: V4, get error in install.sh

Posted: Mon Mar 02, 2020 1:16 pm
by ESP_krzychb
Hi jumjum123,

Please check resolution in https://github.com/espressif/esp-idf/is ... -587144594

Re: V4, get error in install.sh

Posted: Mon Mar 02, 2020 2:47 pm
by jumjum123
@ESP_krzychb
thanks a lot, that helped.

Re: V4, get error in install.sh

Posted: Mon Mar 02, 2020 5:09 pm
by jumjum123
Sorry, but ran into next problem.
Running . ./export.sh logs this
esp32@v93180:~/esp-idf$ . ./export.sh
Adding ESP-IDF tools to PATH...
WARNING: tool openocd-esp32 version v0.10.0-esp32-20191114 is installed, but the tool failed to run
ERROR: tool openocd-esp32 has no installed versions. Please run '/home/esp32/esp-idf/install.sh' to install it.
Checked with latest from github and got same problem.
BTW, starting openocd in bin manually logs this
./openocd: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
Hope this helps to help me

Re: V4, get error in install.sh

Posted: Tue Mar 03, 2020 6:13 am
by ESP_igrr
Could you please try installing libusb-1.0 package? This looks like https://github.com/espressif/esp-idf/issues/4095.

Re: V4, get error in install.sh

Posted: Wed Mar 04, 2020 10:19 am
by jumjum123
@ESP_igrr,
thanks, problem solved.
BTW, I agree to Mirronellis recommendation to add this to https://docs.espressif.com/projects/esp ... setup.html