"no such option: --no-warn-script-location"
MacOS: 10.15.1
Python: 2.7.16
pip 1.5.4
Full text below:
Code: Select all
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, openocd-esp32
Skipping xtensa-esp32-elf@esp-2019r2-8.2.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2019r2-8.2.0 (already installed)
Skipping esp32ulp-elf@2.28.51.20170517 (already installed)
Skipping openocd-esp32@v0.10.0-esp32-20190708 (already installed)
Installing Python environment and packages
Installing Python packages from /Users/username/esp/esp-idf/requirements.txt
Usage:
/Users/username/.espressif/python_env/idf4.1_py2.7_env/bin/python -m pip install [options] <requirement specifier> ...
/Users/username/.espressif/python_env/idf4.1_py2.7_env/bin/python -m pip install [options] -r <requirements file> ...
/Users/username/.espressif/python_env/idf4.1_py2.7_env/bin/python -m pip install [options] [-e] <vcs project url> ...
/Users/username/.espressif/python_env/idf4.1_py2.7_env/bin/python -m pip install [options] [-e] <local project path> ...
/Users/username/.espressif/python_env/idf4.1_py2.7_env/bin/python -m pip install [options] <archive url/path> ...
no such option: --no-warn-script-location
Traceback (most recent call last):
File "/Users/username/esp/esp-idf/tools/idf_tools.py", line 1349, in <module>
main(sys.argv[1:])
File "/Users/username/esp/esp-idf/tools/idf_tools.py", line 1345, in main
action_func(args)
File "/Users/username/esp/esp-idf/tools/idf_tools.py", line 1163, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/username/.espressif/python_env/idf4.1_py2.7_env/bin/python', '-m', 'pip', 'install', '--no-warn-script-location', '-r', '/Users/username/esp/esp-idf/requirements.txt']' returned non-zero exit status 2