[New-bugs-announce] [issue24289] can't start Python3 due to ImportError of copy_reg
Mike Basca
report at bugs.python.org
Tue May 26 16:55:39 CEST 2015
New submission from Mike Basca:
Hello,
I recently upgraded pip and pip3 and now I can't start python3.
This is the Traceback I receive when I started python 3.4.3 (python2.7.10 is fine).
localhost:PP4E Mike$ python3
Failed to import the site module
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site.py", line 562, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site.py", line 548, in main
known_paths = addusersitepackages(known_paths)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site.py", line 281, in addusersitepackages
user_site = getusersitepackages()
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site.py", line 257, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site.py", line 247, in getuserbase
USER_BASE = get_config_var('userbase')
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/sysconfig.py", line 589, in get_config_var
return get_config_vars().get(name)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/sysconfig.py", line 568, in get_config_vars
import _osx_support
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/_osx_support.py", line 4, in <module>
import re
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/re.py", line 336, in <module>
import copyreg
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/copyreg.py", line 3, in <module>
from copy_reg import *
ImportError: No module named 'copy_reg'
Any help would be appreciated.
----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 244107
nosy: abaskm
priority: normal
severity: normal
status: open
title: can't start Python3 due to ImportError of copy_reg
type: compile error
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24289>
_______________________________________
More information about the New-bugs-announce
mailing list