make ptest fails after compilation based on Python3
I installed sagemath 8.3rc0 on my fedora 28 linux x86_64 system using the following commands:
make configure
./configure --prefix=$HOME/sage --with-python=3 --with-mp=gmp
make build
This seemed to have installed sage successfully but when I run tests with:
$ make ptest
I get the following errors and make ptest fails:
[manifolds] from Queue import Queue
[manifolds] ModuleNotFoundError: No module named 'Queue'
OSError: [manifolds] /home/user/sagemath/inst/lib/python3.6/site-packages/sage/manifolds/differentiable/curve.py:docstring of sage.manifolds.differentiable.curve.DifferentiableCurve:58: WARNING: Exception occurred in plotting curve-1
[dochtml] [manifolds] dumping object inventory... done
[dochtml] [manifolds] build succeeded.
[dochtml] [manifolds] The HTML pages are in ../inst/share/doc/sage/inventory/en/reference/manifolds.
[dochtml] Error building the documentation.
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):
* documentation: dochtml
log file: /home/user/sagemath/src/logs/pkgs/../dochtml.log
The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
make[1]: *** [Makefile:33: all-start] Error 1
make[1]: Leaving directory '/home/user/sagemath/src'
make: *** [Makefile:13: all] Error 2
I believe one of the OSError
or the dochtml
error is causing make ptest
to fail. Can I get advice on how I can correct these problems?
Python 3 is not actually officially supported yet; it's still a work-in-progress. You'll find that many things do work, but it is not ready for production.
William Stein just made it very easy to test the latest Sage built with Python 3: