Code: Select all
2020-03-15 17:40:02.152 --------
2020-03-15 17:40:02.152 Installing Python environment:C:\Users\Computer\AppData\Local\Programs\Python\Python37\python.exe C:\Users\Computer\Desktop\esp-idf\tools\idf_tools.py install-python-env
2020-03-15 17:40:03.097 Done, exit code=1
2020-03-15 17:40:03.097 --------
2020-03-15 17:40:03.097 Running command: C:\Users\Computer\AppData\Local\Programs\Python\Python37\python.exe C:\Users\Computer\Desktop\esp-idf\tools\idf_tools.py install-python-env
usage: virtualenv [--version] [--with-traceback] [-v | -q] [--app-data APP_DATA] [--clear-app-data] [--discovery {builtin}] [-p py] [--creator {builtin,cpython3-win,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
Creating a new Python environment in C:\Users\Computer\.espressif\python_env\idf4.0_py3.7_env
Traceback (most recent call last):
File "C:\Users\Computer\Desktop\esp-idf\tools\idf_tools.py", line 1372, in <module>
main(sys.argv[1:])
File "C:\Users\Computer\Desktop\esp-idf\tools\idf_tools.py", line 1368, in main
action_func(args)
File "C:\Users\Computer\Desktop\esp-idf\tools\idf_tools.py", line 1184, in action_install_python_env
stdout=sys.stdout, stderr=sys.stderr)
File "C:\Users\Computer\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\Computer\\AppData\\Local\\Programs\\Python\\Python37\\python.exe', '-m', 'virtualenv', '--no-site-packages', 'C:\\Users\\Computer\\.espressif\\python_env\\idf4.0_py3.7_env']' returned non-zero exit status 2.
2020-03-15 17:40:03.097 --------
2020-03-15 17:40:03.097 Message box (OK):
Installation has failed with exit code 1
2020-03-15 17:41:19.434 User chose OK.
2020-03-15 17:41:19.439 Message box (Yes/No):
Installation log has been created, it may contain more information about the problem.
Display the installation log now?
2020-03-15 17:41:23.479 User chose Yes.
2020-03-15 17:41:23.484 CurStepChanged raised an exception.
2020-03-15 17:41:23.524 Need to restart Windows? No
2020-03-15 17:41:23.529 Exception message:
2020-03-15 17:41:23.529 Message box (OK):
Out Of Range.
2020-03-15 17:41:23.544 User chose OK.
2020-03-15 17:41:23.544 Deinitializing Setup.
2020-03-15 17:41:23.549 Failed to remove temporary directory: C:\Users\Computer\AppData\Local\Temp\is-Q10OF.tmp
what should I do? Thanks