New submission from BC: When upgrading a virtual environment on Windows with venv, the following error is encountered:
Error: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\user\\Documents\\sandbox\\Lib\\tcl8.6' Affects both Python 3.3.5 and 3.4.1. Tested on Windows 7 SP1. Steps to reproduce: 1. Create a virtual environment with venv: C:\Users\user\Documents>c:\Python34\python.exe -m venv sandbox 2. Upgrade the virtual environment: C:\Users\user\Documents>c:\Python34\python.exe -m venv --upgrade sandbox Error: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\user\\Documents\\sandbox\\Lib\\tcl8.6' ---------- components: Library (Lib), Tkinter, Windows files: venv-upgrade.patch keywords: patch messages: 219766 nosy: hashstat priority: normal severity: normal status: open title: venv upgrade fails on Windows when copying TCL files type: behavior versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file35486/venv-upgrade.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21663> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com