添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account freemansion, CCludts, koyo-jakanees, Clara85, CalvinLeather, tgsmith61591, vbotics, Meisam-Azad, jaircastruita, cguerrero360, and 76 more reacted with thumbs up emoji bribroder reacted with thumbs down emoji IcyW reacted with eyes emoji All reactions chirag64, amirbernatODT, savanovich, olgabot, naeioi, ninghu, four43, dragonforce2010, tms1337, ClaudiuCreanga, and 11 more reacted with thumbs up emoji puzzler10, rschwabco, maxcurzi, anupammahapatra, and ReinboldV reacted with thumbs down emoji All reactions type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere labels Mar 29, 2017

No. This helps:
https://conda.io/docs/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file

I'm out.

I downloaded a file environment.yml but it always saves as environment.yml.txt thats why this command conda env create -f environment.yml is not reading the file. Any solution ?

Have you tried renaming it to environment.yml?

I downloaded a file environment.yml but it always saves as environment.yml.txt thats why this command conda env create -f environment.yml is not reading the file. Any solution ?

could you try> conda env create -f environment-dev.yml

I downloaded a file environment.yml but it always saves as environment.yml.txt thats why this command conda env create -f environment.yml is not reading the file. Any solution ?

Have you tried renaming it to environment.yml?

I've tried this, and it work.

conda env update --file environment.yml

Or update a specific environment without activating it:

conda env update --name envname--file environment.yml
  kuanzi, PxYu, nahuelbrandan, wizofe, pyaf, kalufinnle, mrezak, liangyuandg, pablodz, joseandro, and 19 more reacted with thumbs up emoji
  applecool, pablodz, alexisthual, daeunni, and realsushi-official reacted with hooray emoji
  pablodz, kaaloo, alexisthual, IcyW, ThorJonsson, and daeunni reacted with heart emoji
      All reactions
          

It would be nice if instead of the error CondaValueError: could not parse 'name: xxx' in: environment.yml when mistyping conda install --file environment.yml, conda would give a more helpful error message like conda install cannot use this environment.yml file. Did you mean conda env update --file environment.yml?