V4, get error in install.sh

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

V4, get error in install.sh

Postby jumjum123 » Mon Mar 02, 2020 11:36 am

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

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: V4, get error in install.sh

Postby ESP_krzychb » Mon Mar 02, 2020 1:16 pm

Hi jumjum123,

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

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

Re: V4, get error in install.sh

Postby jumjum123 » Mon Mar 02, 2020 2:47 pm

@ESP_krzychb
thanks a lot, that helped.

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

Re: V4, get error in install.sh

Postby jumjum123 » Mon Mar 02, 2020 5:09 pm

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

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: V4, get error in install.sh

Postby ESP_igrr » Tue Mar 03, 2020 6:13 am

Could you please try installing libusb-1.0 package? This looks like https://github.com/espressif/esp-idf/issues/4095.

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

Re: V4, get error in install.sh

Postby jumjum123 » Wed Mar 04, 2020 10:19 am

@ESP_igrr,
thanks, problem solved.
BTW, I agree to Mirronellis recommendation to add this to https://docs.espressif.com/projects/esp ... setup.html

Who is online

Users browsing this forum: Baidu [Spider], Majestic-12 [Bot] and 378 guests