Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63141

3.4 on Windows ImportError: cannot import name 'IntEnum'

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
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; 'subject:Windows': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'bootstrap': 0.07; 'importerror:': 0.07; 'socket': 0.07; '51,': 0.09; 'lawrence': 0.09; 'main()': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'whatever.': 0.09; 'bug': 0.12; 'language.': 0.14; 'windows': 0.15; '61,': 0.16; '66,': 0.16; 'corrupt': 0.16; 'enum': 0.16; 'fname,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:import': 0.16; 'language': 0.16; 'command': 0.22; 'import': 0.22; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'skip:" 30': 0.26; 'skip:" 40': 0.26; 'tracker': 0.26; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'raise': 0.29; '13,': 0.31; 'lot.': 0.31; 'file': 0.32; 'run': 0.32; 'another': 0.32; '(most': 0.33; 'skip:_ 10': 0.34; 'skip:d 20': 0.34; 'problem': 0.35; '14,': 0.36; 'two': 0.37; 'being': 0.38; 'to:addr:python- list': 0.38; 'issue': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'first': 0.61; 'name': 0.63; 'confirm': 0.64; 'our': 0.64; '30,': 0.65; 'saw': 0.77; 'genuine': 0.78; '88,': 0.84; '92,': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject 3.4 on Windows ImportError: cannot import name 'IntEnum'
Date Sat, 04 Jan 2014 19:35:01 +0000
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-78-147-176-50.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4909.1388864119.18130.python-list@python.org> (permalink)
Lines 51
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1388864119 news.xs4all.nl 2892 [2001:888:2000:d::a6]:58877
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63141

Show key headers only | View raw


I first saw this when tring to run the command "py -3.4 -m ensurepip" 
which gave me this lot.

Traceback (most recent call last):
   File "C:\Python34\lib\runpy.py", line 160, in _run_module_as_main
     "__main__", fname, loader, pkg_name)
   File "C:\Python34\lib\runpy.py", line 73, in _run_code
     exec(code, run_globals)
   File "C:\Python34\lib\ensurepip\__main__.py", line 66, in <module>
     main()
   File "C:\Python34\lib\ensurepip\__main__.py", line 61, in main
     default_pip=args.default_pip,
   File "C:\Python34\lib\ensurepip\__init__.py", line 92, in bootstrap
     _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
   File "C:\Python34\lib\ensurepip\__init__.py", line 28, in _run_pip
     import pip
   File 
"C:\Users\Mark\AppData\Local\Temp\tmpysmgllcx\pip-1.5.rc1-py2.py3-none-any.whl\pip\__init__.py", 
line 9, in <module
   File 
"C:\Users\Mark\AppData\Local\Temp\tmpysmgllcx\pip-1.5.rc1-py2.py3-none-any.whl\pip\log.py", 
line 10, in <module>
   File 
"C:\Users\Mark\AppData\Local\Temp\tmpysmgllcx\pip-1.5.rc1-py2.py3-none-any.whl\pip\backwardcompat\__init__.py", 
lin
   File "C:\Python34\lib\urllib\request.py", line 88, in <module>
     import http.client
   File "C:\Python34\lib\http\client.py", line 69, in <module>
     import email.parser
   File "C:\Python34\lib\email\parser.py", line 13, in <module>
     from email.feedparser import FeedParser, BytesFeedParser
   File "C:\Python34\lib\email\feedparser.py", line 27, in <module>
     from email import message
   File "C:\Python34\lib\email\message.py", line 14, in <module>
     from email import utils
   File "C:\Python34\lib\email\utils.py", line 30, in <module>
     import socket
   File "C:\Python34\lib\socket.py", line 51, in <module>
     from enum import IntEnum
ImportError: cannot import name 'IntEnum'

Before I raise an issue on the bug tracker can another Windows user or 
two please confirm that this is a genuine problem and not my 
installation being corrupt or whatever.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

3.4 on Windows ImportError: cannot import name 'IntEnum' Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-04 19:35 +0000
  Re: 3.4 on Windows ImportError: cannot import name 'IntEnum' Marco Buttu <marco.buttu@gmail.com> - 2014-01-05 08:59 +0100

csiph-web