I also have this. Is there any reason it might be calling python instead of python3?
trevorkarn@Trevors-MacBook-Air sage % python3 --version Python 3.9.1 trevorkarn@Trevors-MacBook-Air sage % python --version Python 2.7.16 Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 8:28 AM Trevor Karn <trevor.k.k...@gmail.com> wrote: > > Here is what I get. It seems like it is the same as yours? > > > trevorkarn@Trevors-MacBook-Air sage % brew info python3 > > python@3.9: stable 3.9.1 > > Interpreted, interactive, object-oriented programming language > > https://www.python.org/ > > /usr/local/Cellar/python@3.9/3.9.1_8 (8,665 files, 129.4MB) * > > Built from source on 2021-02-05 at 16:39:31 > > From: > https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pyt...@3.9.rb > > License: Python-2.0 > > ==> *Dependencies* > > Build: *pkg-config **✔* > > Required: *gdbm **✔*, *openssl@1.1 **✔*, *readline **✔*, *sqlite **✔*, *tcl-tk > **✔*, *xz **✔* > > ==> *Caveats* > > Python has been installed as > > /usr/local/bin/python3 > > > Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to > > `python3`, `python3-config`, `pip3` etc., respectively, have been > installed into > > /usr/local/opt/python@3.9/libexec/bin > > > You can install Python packages with > > pip3 install <package> > > They will install into the site-package directory > > /usr/local/lib/python3.9/site-packages > > > See: https://docs.brew.sh/Homebrew-and-Python > > ==> *Analytics* > > install: 755,419 (30 days), 2,396,024 (90 days), 2,995,387 (365 days) > > install-on-request: 244,063 (30 days), 714,665 (90 days), 799,812 (365 > days) > > build-error: 0 (30 days) > > Best Regards, > > Trevor Karn > > > On Mon, Feb 8, 2021 at 8:17 AM Dima Pasechnik <dimp...@gmail.com> wrote: > >> Could it be that you need to update your Homebrew (?) python3 package? >> What version do you have now? >> E.g. on a box where the latest Sage builds I have >> >> % brew info python3 >> >> python@3.9: stable 3.9.1 (bottled) >> Interpreted, interactive, object-oriented programming language >> https://www.python.org/ >> /usr/local/Cellar/python@3.9/3.9.1_8 (4,057 files, 67.8MB) * >> Poured from bottle on 2021-02-06 at 10:13:24 >> From: >> https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pyt...@3.9.rb >> >> >> On Mon, Feb 8, 2021 at 1:53 PM Trevor Karn <trevor.k.k...@gmail.com> >> wrote: >> > >> > Ah I see, thanks for explaining. >> > >> > Here is my top-level config.log. >> > >> > Best Regards, >> > >> > Trevor Karn >> > >> > >> > On Mon, Feb 8, 2021 at 7:09 AM Dima Pasechnik <dimp...@gmail.com> >> wrote: >> >> >> >> >> >> >> >> On Mon, 8 Feb 2021, 13:02 Trevor Karn, <trevor.k.k...@gmail.com> >> wrote: >> >>> >> >>> Thanks for sending that link. I am confused though, because it says a >> fix was issued. Does that mean it should work now? >> >> >> >> >> >> sorry, I was not clear. What I meant to say that it appears to be a >> well-known issue in the Python@macOS universe, >> >> and lately all seems to be OK with Sage. >> >> >> >> To figure out exactly goes wrong in your case, we need to know where >> Python3 used in Sage is coming from. >> >> Please post the top-level config.log >> >> >> >> >> >>> >> >>> And yes, I am on the most recent develop branch >> >>> >> >>> On Mon, Feb 8, 2021 at 5:42 AM Dima Pasechnik <dimp...@gmail.com> >> wrote: >> >>>> >> >>>> This seems to be well-known issue, see e.g >> >>>> https://github.com/pypa/virtualenv/issues/2027 >> >>>> >> >>>> Are you on the most recent develop branch (9.3.beta7)? >> >>>> >> >>>> On Mon, Feb 8, 2021 at 9:20 AM Trevor Karn <trevor.k.k...@gmail.com> >> wrote: >> >>>> > >> >>>> > Hi, >> >>>> > >> >>>> > I'm trying to build Sage from the source code. I cloned it from >> git, and tried to build from the develop branch using make from the sage >> directory. I ran into trouble building cython. The error message suggested >> that I email this group. Does anyone have any advice on how to proceed? >> >>>> > >> >>>> > I am using macOS Big Sur 11.2 on a MacBook Air. >> >>>> > >> >>>> > The log file is attached, this is from a second run - it failed >> once, and I tried running make a second time without any changes and this >> is the log from the second run, which returns the same error just without >> all of the info before it (eg. the flint installation). >> >>>> > >> >>>> > Thanks so much. >> >>>> > >> >>>> > Best, >> >>>> > Trevor >> >>>> > >> >>>> > -- >> >>>> > 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 sage-devel+unsubscr...@googlegroups.com. >> >>>> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/1c93ec2e-86bd-45f0-bba0-cc254a392305n%40googlegroups.com >> . >> >>>> >> >>>> -- >> >>>> You received this message because you are subscribed to a topic in >> the Google Groups "sage-devel" group. >> >>>> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe. >> >>>> To unsubscribe from this group and all its topics, send an email to >> sage-devel+unsubscr...@googlegroups.com. >> >>>> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3CFFAYzUtNnSrt_RPKW7X_p8j_VXGtZbKLWG%2BST%3DCO%2BQ%40mail.gmail.com >> . >> >>> >> >>> -- >> >>> Best, >> >>> >> >>> Trevor >> >>> >> >>> -- >> >>> 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 sage-devel+unsubscr...@googlegroups.com. >> >>> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/CAJ6VCMAVGG57CHovd7zoXa0C3Nxsr3WfXi0FWwapKrDfup7_sA%40mail.gmail.com >> . >> >> >> >> -- >> >> You received this message because you are subscribed to a topic in the >> Google Groups "sage-devel" group. >> >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe. >> >> To unsubscribe from this group and all its topics, send an email to >> sage-devel+unsubscr...@googlegroups.com. >> >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/CAAWYfq026cNP9FTmBySPskZZoc%2BH4ykTQO7je6TW4YTkirg_qw%40mail.gmail.com >> . >> > >> > -- >> > 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 sage-devel+unsubscr...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/CAJ6VCMDJEN7KzDmvB0x0GDrXiQrK3F_e_eBZvSJf-JxVre0n-Q%40mail.gmail.com >> . >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "sage-devel" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sage-devel/TmbLnmwz2mg/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> sage-devel+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3meWN5AWip9BG5GzJ%3DFfLvoHKFrpS6Ezmq4X2GWH8mQw%40mail.gmail.com >> . >> > -- 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 sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAJ6VCMCSmNiTBAO0NS2ZqQ-abgq7CtsRt1CerOka_gtBDoNKhQ%40mail.gmail.com.