You seem to have used a conda installation of Pyhon. this is know to be a source of problem (see for example this (old) post <https://groups.google.com/d/msg/sage-devel/8BOCNiZmzbs/xbJhc1W9CQAJ>).
I know that a solution exist, but am unable to retrieve it right now. You might get a prompter answer by reposting your question with this information in the post *title* thus inviting people who know the answer to answer. An even better strategy would be to post the same suitably-titled question on sage-support, which is more relevant to your problem. Sorry to not be able to be more helpful... -- Emmanuel Charpentier Le jeudi 28 décembre 2017 14:55:21 UTC+1, James Lee a écrit : > > Hi All, > > I would like help building Sage 8.1 from source on cygwin64/Windows 10. > The problem seems to be related to downloading "patch-2.7.5.tar.gz" (error > message below). > > This is what I did: > > - downloaded sage-8.1.tar.gz from a mirror site listed in > sagemath.org---I put this on the C drive > - extracted the tarfile from the cygwin terminal: tar xvf sage-x.y.tar > .gz > - changed into the sage-8.1 directory: cd sage-8.1 > - started the build process: make > > This is what I think the relevant part of the output is: > > *********************************************** >> make[1]: Entering directory '/cygdrive/c/sage-8.1/build/make' >> make base >> make[2]: Entering directory '/cygdrive/c/sage-8.1/build/make' >> sage-logger -p 'sage-spkg patch-2.7.5' >> '/cygdrive/c/sage-8.1/logs/pkgs/patch-2.7.5.log' >> [patch-2.7.5] Found local metadata for patch-2.7.5 >> [patch-2.7.5] C:\Anaconda3\python.exe: can't open file >> '/cygdrive/c/sage-8.1/build/bin/sage-download-file': [Errno 2] No such file >> or directory >> [patch-2.7.5] >> ************************************************************************ >> [patch-2.7.5] Error downloading patch-2.7.5.tar.gz >> [patch-2.7.5] >> ************************************************************************ >> [patch-2.7.5] Please email sage-devel ( >> http://groups.google.com/group/sage-devel ) >> [patch-2.7.5] explaining the problem and including the log file >> [patch-2.7.5] /cygdrive/c/sage-8.1/logs/pkgs/patch-2.7.5.log >> [patch-2.7.5] Describe your computer, operating system, etc. >> [patch-2.7.5] >> ************************************************************************ >> make[2]: *** [Makefile:2369: >> /cygdrive/c/sage-8.1/local/var/lib/sage/installed/patch-2.7.5] Error 1 >> make[2]: Leaving directory '/cygdrive/c/sage-8.1/build/make' >> make[1]: *** [Makefile:817: all-toolchain] Error 2 >> make[1]: Leaving directory '/cygdrive/c/sage-8.1/build/make' >> >> real 0m2.881s >> user 0m0.286s >> sys 0m0.605s >> *************************************************************** >> Error building Sage. >> >> The following package(s) may have failed to build (not necessarily >> during this run of 'make all'): >> >> * package: patch-2.7.5 >> log file: /cygdrive/c/sage-8.1/logs/pkgs/patch-2.7.5.log >> build directory: >> /cygdrive/c/sage-8.1/local/var/tmp/sage/build/patch-2.7.5 >> >> 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: *** [Makefile:18: all] Error 1 >> > > Any suggestions to get past this problem would be greatly appreciated. > Many thanks in advance. > > James > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.