This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abaskm
Recipients abaskm
Date 2015-05-26.14:55:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432652139.86.0.658792169733.issue24289@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-26 14:55:39abaskmsetrecipients: + abaskm
2015-05-26 14:55:39abaskmsetmessageid: <1432652139.86.0.658792169733.issue24289@psf.upfronthosting.co.za>
2015-05-26 14:55:39abaskmlinkissue24289 messages
2015-05-26 14:55:39abaskmcreate