This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hashstat
Recipients hashstat
Date 2014-06-04.18:21:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401906089.06.0.772491813651.issue21663@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2014-06-04 18:21:29hashstatsetrecipients: + hashstat
2014-06-04 18:21:29hashstatsetmessageid: <1401906089.06.0.772491813651.issue21663@psf.upfronthosting.co.za>
2014-06-04 18:21:29hashstatlinkissue21663 messages
2014-06-04 18:21:28hashstatcreate