Hi , first I did run the command " conda env create -f environment.yml ". However maybe it is because I am in China which cannot directly access foreign websites (resolve this problem by change the source website to the mirror website) ,the download cannot be successful , so I decided to download the libraries one by one .When it comes to the last one --sage , the wrong I mentioned happened . Good news is that my tutor did not require me to run this code successfully ,only to understand its theory is enough. But I will still try to fix this problem cause sage is a quite important library as to GNN . thank you for your reply! Best wishes, Lily
Dima Pasechnik <dimp...@gmail.com> 于2024年3月29日周五 18:44写道: > > > On Friday, March 29, 2024 at 3:50:23 AM UTC Cassidy Taylor wrote: > > > Thank you for your reply! > However I cant change or update my conda environment cause the code I want > to replicate (which called AgentNet) have already specified restrictions > on conda environment and other needed library versions such as pytorch > 1.11.0. > > But I will try to download sage 10.2 on my present conda 11.3 environment. > > > We are talking about https://github.com/KarolisMart/AgentNet > > I am not entirely sure what the problem is. I am not sure why you ended up > with errors building GMP. > Please explain exactly what you did. > I suppose you > 1) installed Conda (on a Linux box or a Linux VM) > 2) checked out https://github.com/KarolisMart/AgentNet > 3) ran "conda env create -f environment.yml" > > None of this should involve any compilation - as it's meant to use > pre-built Conda packages. > > > > Anyway , thank you again and wish you have a great day! > 在2024年3月27日星期三 UTC+8 17:42:28<Dima Pasechnik> 写道: > > Hello, > > your installation shows sage 9.6, but conda carries sage 10.2 now: > https://anaconda.org/conda-forge/sage > > That's one you should be getting if you follow > https://doc.sagemath.org/html/en/installation/conda.html > > Could it be that your conda environment needs an update? > > HTH > Dima > > > > On Wed, Mar 27, 2024 at 9:11 AM Cassidy Taylor <luzha...@gmail.com> wrote: > > Everytime I tried to download Sagemath in the conda environment I created > on Ubuntu , the terminal kept showing this error(fig.1) . It shows that > there is something wrong with the download of gmp-6.2.1(fig.2) , seemed > like it is my C++ compiler not available. > [image: 微信图片_20240327153329.png] > > [image: 微信图片_20240327153257.png] > > BUT I have searched for so many days and so many ways , and I have > checked that my C++ compiler is already downloaded(fig.3) god knows how > many times, besides I also downloaded gmp-6.2.1.tar.zst on my ubuntu > system. > > [image: 微信图片_20240327153307.png] > Pls reply ASAP , this really set back my postgraduate career... > Looking forward to your answering , thank you ! > > -- > 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+...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/e6cad138-72a3-4406-b951-6b5ec4c40ed8n%40googlegroups.com > <https://groups.google.com/d/msgid/sage-devel/e6cad138-72a3-4406-b951-6b5ec4c40ed8n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > 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/914a98f7-837c-4055-ae8e-e64dd5518a6dn%40googlegroups.com > <https://groups.google.com/d/msgid/sage-devel/914a98f7-837c-4055-ae8e-e64dd5518a6dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJWikxLMNW3O1Hmfg3BuxBkZ%3D9zY%3DDvzvm_cRLGoh61orw2-Cg%40mail.gmail.com.