[New-bugs-announce] [issue21663] venv upgrade fails on Windows when copying TCL files

BC report at bugs.python.org
Wed Jun 4 20:21:29 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue21663>
_______________________________________


More information about the New-bugs-announce mailing list