delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/07/15:12:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 7 Dec 2012 12:12:22 -0800
Message-ID: <CAPF-yObbVy9Ya9s_tPHOGLYX2eadcJPnmZDvuC0_vQiOR_z6rw@mail.gmail.com>
Subject: virtualenv 1.8.4 broken on cygwin, plus workaround
From: Dan Kegel <dank AT kegel DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

If you're used to
  pip install virtualenv
  virtualenv foo
working, but it recently started failing with
  ...
  File "/usr/lib/python2.6/site-packages/virtualenv.py", line 1506, in
install_python
  raise e
  OSError: [Errno 2] No such file or directory
you may be suffering from
  https://github.com/pypa/virtualenv/issues/373

A workaround that worked for me was to roll back virtualenv from 1.8.4
to 1.8.2, e.g.
$ pip uninstall virtualenv
$ pip install virtualenv==1.8.2

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019