On Sat, Jun 2, 2018 at 11:27 PM, Dima Pasechnik <[email protected]> wrote: > > > On Saturday, June 2, 2018 at 10:28:58 AM UTC+2, Frédéric Chapoton wrote: >> >> build from scratch. Bad idea to try to convert an existing installation >> from py2 to py3.. > > > it turns out that ./configure --with-python=3 > is not enough, one also needs to export > SAGE_PYTHON3=yes > > why, oh why.... > > is this a bug?
In what case do you need to manually export SAGE_PYTHON3=yes, because that's exactly what ./configure --with-python=3 does. It puts SAGE_PYTHON3=yes in sage-env-config >> Frederic >> >> Le samedi 2 juin 2018 09:39:57 UTC+2, Dima Pasechnik a écrit : >>> >>> I am trying to figure out how to switch an installation of Sage from >>> python2 to python3, without >>> make distclean and rebuilding everything. >>> >>> I understand that one needs to do >>> >>> ./configure --with-python=3 >>> >>> however, attempting to do >>> >>> make build >>> >>> gives an error "unable to import six" >>> >>> If I install six using pip3, the next complaint is about unable to import >>> pkgconfig. Installing the latter with pip3 >>> and re-trying tells me it cannot import numpy, etc... >>> >>> Is there a way out, or one really needs to re-build from scratch? >>> >>> >>> Thanks, >>> Dima >>> > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
