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.
|