![]() Now just create it: conda env create -f environment-clean.ymlĬonda environments aren't really multiplatform. No dependency of dependency were left in the file. I maintained the version number, and removed the id after the name. Then I removed everything except the directly imported files. A nice feature of pandas is that you can have environments with different python versions. So p圓9h8c16a72_0 will tell you that you are using python 3.9. You can find it from the id after each package. ![]() First include the python version that were originally used. Now I manually edited the environment-clean.yml file. Te command below list the imports and remove and repetition: grep import -h *.ipynb |grep -v undefined|sort |uniq Maybe you will have to do it recursively. Since it were just a bunch of Jupyter notebooks, all the files were in the same dir. Now I checked which libraries were used by the code. I maintained the "name" and "channels" sections. I copied the enviroment.yml' to environment-clean.yml` and started to edit the second file. The commands are in *nix, but I'll tell what they are doing. I had the same problem, here is how I sped my environment creation. backports.shutil-get-terminal-size=1.0.0 Press CTRL-C to abort.Įxamining fontconfig: 5%|▉ | 10/202 : 38%|▍| 3/8 [įinding shortest conflict path for fontconfig: 50%|▌| 4/8 [įinding shortest conflict pa| for fontconfig when the one in dependencies is 2.13.1 and I have installed it through 2.13.1 However, running conda create env -file I get the following output: conda env create -file Ĭollecting package metadata (repodata.json): doneįound conflicts! Looking for incompatible packages. ![]() I was provided with an file to be able to create a conda environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |