Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63141 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2014-01-04 19:35 +0000 |
| Last post | 2014-01-05 08:59 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2014-01-04 19:35 +0000 |
| Subject | 3.4 on Windows ImportError: cannot import name 'IntEnum' |
| Message-ID | <mailman.4909.1388864119.18130.python-list@python.org> |
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
[toc] | [next] | [standalone]
| From | Marco Buttu <marco.buttu@gmail.com> |
|---|---|
| Date | 2014-01-05 08:59 +0100 |
| Message-ID | <lab3cb$tl4$1@speranza.aioe.org> |
| In reply to | #63141 |
On 01/04/2014 08:35 PM, Mark Lawrence wrote: > 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): ... > 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. Hi, it works for me (Windows XP, 32) -- Marco Buttu
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web