diff --git a/scripts/init_venv.py b/scripts/init_venv.py index b14ab8ace..009fa86ab 100644 --- a/scripts/init_venv.py +++ b/scripts/init_venv.py @@ -81,7 +81,10 @@ def install_dev_packages(): """Install the packages needed for development.""" for pkg in get_dev_packages(): utils.print_subtitle("Installing {}".format(pkg)) - venv_python('-m', 'pip', 'install', pkg) + if os.name == 'nt': + venv_python('-m', 'pip', 'install', '--no-clean', pkg) + else: + venv_python('-m', 'pip', 'install', pkg) def venv_python(*args, output=False):