math module OK
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/george/APCG/apcg/mcp/sage/local/lib/python/hashlib.py", line 138, in <module>
sha224 = __get_builtin_constructor('sha224')
File "/home/george/APCG/apcg/mcp/sage/local/lib/python/hashlib.py", line 66, in __get_builtin_constructor
import _sha256
ImportError: No module named _sha256
hashlib module failed to importreal 2m6.118s
user 1m20.713s
sys 0m7.724s
sage: An error occurred while installing python-2.6.4.p9
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/george/APCG/apcg/mcp/sage/install.log. Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9 and type 'make check' 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/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9' && '/home/george/APCG/apcg/mcp/sage/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/python-2.6.4.p9] Error 1
make[1]: Leaving directory `/home/george/APCG/apcg/mcp/sage/spkg'real 2m14.313s
user 1m23.997s
sys 0m8.637s
Error building Sage.
./sage -docbuild all html 2>&1 | tee -a dochtml.logI have installed multiple packages, updated Python, and any number of other things. Unfortunately, I must use this version of Sage and would like some help with this. Please explain why this is so difficult and why the error messages are astoundingly unhelpful. Thank you, any help is appreciated!
I spent hours Googling the error message before posting here. And tried anything even remotely related to my issue, to no avail.
Hey Sage Devs!I have encountered a problem during my attempt to build Sage for the first time. As the program requests, I attempt to 'make' Sage and most of it seems to work fine until it attempts to test Python. At this point, I encounter the error below:
math module OK
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/george/APCG/apcg/mcp/sage/local/lib/python/hashlib.py", line 138, in <module>
sha224 = __get_builtin_constructor('sha224')
File "/home/george/APCG/apcg/mcp/sage/local/lib/python/hashlib.py", line 66, in __get_builtin_constructor
import _sha256
ImportError: No module named _sha256
hashlib module failed to import
real 2m6.118s
user 1m20.713s
sys 0m7.724s
sage: An error occurred while installing python-2.6.4.p9
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/george/APCG/apcg/mcp/sage/install.log. Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9 and type 'make check' 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/george/APCG/apcg/mcp/sage/spkg/build/python-2.6.4.p9' && '/home/george/APCG/apcg/mcp/sage/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/python-2.6.4.p9] Error 1
make[1]: Leaving directory `/home/george/APCG/apcg/mcp/sage/spkg'
real 2m14.313s
user 1m23.997s
sys 0m8.637s
Error building Sage.
./sage -docbuild all html 2>&1 | tee -a dochtml.log
I have installed multiple packages, updated Python, and any number of other things. Unfortunately, I must use this version of Sage and would like some help with this. Please explain why this is so difficult and why the error messages are astoundingly unhelpful. Thank you, any help is appreciated!
Alright, here's all of the information that seems relevant:
I'm running Ubuntu 12.04 as a Virtual Machine (More than enough memory - up to 100 GB if needed for everything!) hosted on a Windows 8 laptop. I inherited a massive code base reliant on Sage to do the background mathematics and many of the function calls and background work makes use of Sage, in addition to the fact that I am not the only programmer and have very little to do with Sage, needing it only to work correctly so that I may work on the GUI side of things. The code base uses Sage 4.6 along with some overwritten sage functions to accomplish what we need to do...only available in 4.6.
My python spkg build log is attached (or at least I think it is. I'm more familiar with pypy and have little experience installing stuff like this from scratch. If this isn't it, please direct me to the correct file. Thanks!)