Message266134
The full error log:
$ python3
Failed to import the site module
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/site.py", line 75, in <module>
__boot()
File "/usr/local/lib/python2.7/site-packages/site.py", line 23, in __boot
loader.load_module('site')
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site.py", line 563, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site.py", line 549, in main
known_paths = addusersitepackages(known_paths)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site.py", line 281, in addusersitepackages
user_site = getusersitepackages()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site.py", line 257, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site.py", line 247, in getuserbase
USER_BASE = get_config_var('userbase')
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/sysconfig.py", line 582, in get_config_var
return get_config_vars().get(name)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/sysconfig.py", line 561, in get_config_vars
import _osx_support
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/_osx_support.py", line 4, in <module>
import re
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/re.py", line 335, in <module>
import copyreg
File "/usr/local/lib/python2.7/site-packages/copyreg/__init__.py", line 7, in <module>
raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.
What needs to be changed to avoid importing Python 2 modules? |
|
Date |
User |
Action |
Args |
2016-05-23 10:14:18 | Richard Penman | set | recipients:
+ Richard Penman, ronaldoussoren, ned.deily |
2016-05-23 10:14:18 | Richard Penman | set | messageid: <1463998458.13.0.885507182161.issue27090@psf.upfronthosting.co.za> |
2016-05-23 10:14:18 | Richard Penman | link | issue27090 messages |
2016-05-23 10:14:17 | Richard Penman | create | |
|