Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3139
| Return-Path | <python-python-list@m.gmane.org> |
|---|---|
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'extensions': 0.04; '2.7': 0.05; 'python': 0.07; 'args,': 0.09; 'danny': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'skip:" 60': 0.09; 'skip:[ 30': 0.09; 'skip:\\ 30': 0.09; 'output': 0.12; 'error:': 0.14; '"bad': 0.16; '240,': 0.16; '67,': 0.16; '__init__': 0.16; 'directory"': 0.16; 'extract_dir,': 0.16; 'extracting': 0.16; 'f()': 0.16; 'func(*args)': 0.16; 'howdy,': 0.16; 'message-id:@post.gmane.org': 0.16; 'msg,': 0.16; 'oserror:': 0.16; 'prepended': 0.16; 'setuptools': 0.16; 'skip:( 50': 0.16; 'spec,': 0.16; 'true)': 0.16; 'skip:" 40': 0.16; 'traceback': 0.16; '(most': 0.16; 'thanks,': 0.17; 'endless': 0.19; 'shell': 0.19; 'command': 0.19; 'variable': 0.21; 'code': 0.22; 'trying': 0.23; 'last):': 0.23; 'skip:i 30': 0.23; 'upgraded': 0.23; 'skip:_ 20': 0.24; 'skip:l 30': 0.25; 'subject:problem': 0.25; 'creating': 0.26; 'windows': 0.26; 'environment': 0.26; "i'm": 0.26; 'raise': 0.29; 'skip:- 40': 0.29; 'error': 0.29; 'skip:" 30': 0.29; 'installing': 0.29; 'clean.': 0.31; 'received:gov': 0.31; 'does': 0.31; 'anyone': 0.31; "skip:' 10": 0.32; 'to:addr:python-list': 0.32; 'skip:e 20': 0.33; 'posts': 0.33; 'header:X-Complaints-To:1': 0.34; 'received:192': 0.34; 'file': 0.35; 'header:User-Agent:1': 0.35; '"",': 0.35; 'executable': 0.35; 'skip:. 10': 0.36; 'charset:us- ascii': 0.36; 'processing': 0.37; 'some': 0.37; 'run': 0.37; 'execute': 0.38; 'skip:z 20': 0.38; 'skip:" 20': 0.38; 'received:org': 0.38; 'completely': 0.38; 'skip:d 40': 0.39; 'to:addr:python.org': 0.39; 'header:Mime-Version:1': 0.39; 'header:Received:5': 0.40; 'might': 0.40; 'central': 0.60; '1.6': 0.84; '712,': 0.84; 'destination,': 0.84; 'easy_install': 0.84; 'ine': 0.84; 'download,': 0.91; 'skip:d 50': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Danny Shevitz <shevitz@lanl.gov> |
| Subject | virtualenv problem on win32 |
| Date | Wed, 13 Apr 2011 22:49:30 +0000 (UTC) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | sea.gmane.org |
| User-Agent | Loom/3.14 (http://gmane.org/) |
| X-Loom-IP | 192.12.184.6 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 (.NET CLR 3.5.30729)) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.323.1302734984.9059.python-list@python.org> (permalink) |
| Lines | 116 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1302734984 news.xs4all.nl 32470 [::ffff:82.94.164.166]:32869 |
| X-Complaints-To | abuse@xs4all.nl |
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3139 |
Show key headers only | View raw
Howdy,
I'm trying to use virtualenv for the first time and having endless grief.
I have upgraded my python distribution to the latest 2.7 distribution and it
is completely clean. I have prepended my path environment variable with
c:\python27 and c:\python27\scripts.
I have installed:
setuptools 0.6c11
virtualenv 1.6
windows extensions (I have read some posts that this might be important...)
When I try to create a virtual environment at the shell prompt:
virtualenv ENV
I get the following error:
###########################################################
d:\>virtualenv ENV
New python executable in ENV\Scripts\python.exe
Installing setuptools................................................
Complete output from command d:\ENV\Scripts\python.exe -c "#!python
\"\"\"Bootstra...sys.argv[1:])
" c:\python27\lib\site...ols-0.6c11-py2.7.egg:
Processing setuptools-0.6c11-py2.7.egg
creating d:\env\lib\site-packages\setuptools-0.6c11-py2.7.egg
Extracting setuptools-0.6c11-py2.7.egg to d:\env\lib\site-packages
Traceback (most recent call last):
File "<string>", line 279, in <module>
File "<string>", line 240, in main
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
1712, in main
with_ei_usage(lambda:
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
1700, in with_ei_usage
return f()
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
1716, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "c:\python27\Lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "c:\python27\Lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "c:\python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
211, in run
self.easy_install(spec, not self.no_deps)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
619, in install_eggs
return [self.install_egg(dist_filename, tmpdir)]
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
693, in install_egg
(os.path.basename(egg_path),os.path.dirname(destination)))
File "c:\python27\Lib\distutils\cmd.py", line 349, in execute
util.execute(func, args, msg, dry_run=self.dry_run)
File "c:\python27\Lib\distutils\util.py", line 401, in execute
func(*args)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line
996, in unpack_and_compile
unpack_archive(egg_path, destination, pf)
File "c:\python27\lib\site-packages\setuptools\archive_util.py", line 67, in u
npack_archive
driver(filename, extract_dir, progress_filter)
File "c:\python27\lib\site-packages\setuptools\archive_util.py", line 135, in
unpack_zipfile
z = zipfile.ZipFile(filename)
File "c:\python27\Lib\zipfile.py", line 712, in __init__
self._GetContents()
File "c:\python27\Lib\zipfile.py", line 746, in _GetContents
self._RealGetContents()
File "c:\python27\Lib\zipfile.py", line 786, in _RealGetContents
raise BadZipfile, "Bad magic number for central directory"
zipfile.BadZipfile: Bad magic number for central directory
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
File "c:\python27\scripts\virtualenv-script.py", line 8, in <module>
load_entry_point('virtualenv==1.6', 'console_scripts', 'virtualenv')()
File "c:\python27\lib\site-packages\virtualenv-1.6-py2.7.egg\virtualenv.py", l
ine 745, in main
prompt=options.prompt)
File "c:\python27\lib\site-packages\virtualenv-1.6-py2.7.egg\virtualenv.py", l
ine 843, in create_environment
install_setuptools(py_executable, unzip=unzip_setuptools)
File "c:\python27\lib\site-packages\virtualenv-1.6-py2.7.egg\virtualenv.py", l
ine 571, in install_setuptools
_install_req(py_executable, unzip)
File "c:\python27\lib\site-packages\virtualenv-1.6-py2.7.egg\virtualenv.py", l
ine 547, in _install_req
cwd=cwd)
File "c:\python27\lib\site-packages\virtualenv-1.6-py2.7.egg\virtualenv.py", l
ine 813, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command d:\ENV\Scripts\python.exe -c "#!python
\"\"\"Bootstra...sys.argv[1:])
" c:\python27\lib\site...ols-0.6c11-py2.7.egg failed with error code 1
###########################################################
does anyone know what is going on?
thanks,
Danny
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
virtualenv problem on win32 Danny Shevitz <shevitz@lanl.gov> - 2011-04-13 22:49 +0000 Re: virtualenv problem on win32 dim <dorin.marinca@gmail.com> - 2011-06-07 15:46 -0700
csiph-web