File "<string>", line 1, in <module>
File "/home/slabbe/GitBox/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Lib/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
ctypes module failed to import
math module imported OK
hashlib module imported OK
crypt module imported OK
readline module imported OK
socket module imported OK
Error: One or more modules failed to import.
real 2m25.869s
user 2m5.516s
sys 0m6.272s
************************************************************************
Error building package python2-2.7.14.p2
************************************************************************
Please email sage-devel (
http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
/home/slabbe/GitBox/sage/logs/pkgs/python2-2.7.14.p2.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/slabbe/GitBox/sage/local/var/tmp/sage/build/python2-2.7.14.p2 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/slabbe/GitBox/sage/local/var/tmp/sage/build/python2-2.7.14.p2' && '/home/slabbe/GitBox/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************