diff --git a/tools/idf_tools.py b/tools/idf_tools.py index 91e6a354a4..914ecc048a 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -1185,7 +1185,7 @@ def action_install_python_env(args): subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', 'virtualenv'], stdout=sys.stdout, stderr=sys.stderr) - subprocess.check_call([sys.executable, '-m', 'virtualenv', '--no-site-packages', idf_python_env_path], + subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path], stdout=sys.stdout, stderr=sys.stderr) run_args = [virtualenv_python, '-m', 'pip', 'install', '--no-warn-script-location'] requirements_txt = os.path.join(global_idf_path, 'requirements.txt')