Ok, it seems it is very hard if not impossible to make a single env.yml that is cross-platform. Wonder why it fails spectacularly on linux? Perhaps since I'm having to create a py2 env with some really old obsolete pkgs? (But why does it work fine on macos?) I'll update this post if I figure it out. Then, the dependencies are those that conda choses.Ĭonda config -set restore_free_channel trueĬollecting package metadata (repodata.json): done This way, except basemap, the package I import in my python scripts will have the same version they had in the environment. So, now in environment.yml I only have tha packages I would have installed with conda install when I first created the environment. I copied the line corresponding to basemap and I manually edited my environment.yml adding this line there. Then I installed basemap with conda install basemap.įinally, I did a _conda env export, which again was full of dependencies (not only the primary I want). ![]() The solution I found was to remove all the packages that were installed as dependencies and just leave the packages I myself had installed with conda install packagename. How come conda cannot reproduce and environment I created with conda? I didn't have any pip packages in my environment.yml, all were packages installed by conda. It is frustrating, because precisely the point of anaconda is to manage this automatically. ![]() □ 471 PAGWatson, mooreniemi, Hammond95, datajanko, dfdazac, lianqiang, tomwwagstaff-product, rsangole, zpcore, shubhams, and 461 more reacted with thumbs up emoji □ 22 nguyenvulong, freedom9393, bharat-suri, aangelopoulos, Kihansi95, KonradMagnusson, diegomarquezp, dcxSt, minhduc2803, biggzlar, and 12 more reacted with laugh emoji □ 39 aerinkim, imhazige, vincent-ainitech, DongHwanJang, saaamxzy, AlessioMongelluzzo, avloss, vv111y, kvdesai, joleroi, and 29 more reacted with hooray emoji □ 21 realleyriley, RchalYang, FarisHijazi, kevinkopf, jingpengw, lodorg, rozsasarpi, aribenjamin, aangelopoulos, geekykant, and 11 more reacted with confused emoji ❤️ 43 aerinkim, vinisalazar, vincent-ainitech, DongHwanJang, avloss, kvdesai, jSieber7, naveen-hyperworks, BessieJessica, lucaspar, and 33 more reacted with heart emoji □ 35 vincent-ainitech, alar0330, HarrisonGoldwyn, DongHwanJang, avloss, vv111y, kvdesai, piettes, jSieber7, vkedlian, and 25 more reacted with rocket emoji □ 21 realleyriley, htpeter, RchalYang, crw2998, kevinkopf, dbellieny, tomasruizt, emdupre, lodorg, genecell, and 11 more reacted with eyes emoji
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |