(Apr-23-2020, 12:49 PM)ErnestTBass Wrote: Also, does the requirements.txt file need to be anything special. beautifulsoup4-4.6.0 | p圓6_0 134 KB conda-forgeLook at this blog for different setup. defaultsLook at code in my perivos post,see that Beautifulsoup get pulled down from conda-forge. ![]() c conda-forgeYes,but it can be smart to use,i have it default as first place to look for packages. (Apr-23-2020, 12:49 PM)ErnestTBass Wrote: I can just leave out conda create -name one_env -file C:/code/requirements.txtSo here is requirements.txt in a other place,but all requirements will be installed to one_env. You are not going to a new directory, you are going to a new conda environment.No,it will install to the environment use specify dos not matter where the requirements.txt is. (Apr-23-2020, 12:49 PM)ErnestTBass Wrote: Just giving a path to the requirements.txt file would not be enough. It my case it clearly is not and I do not know how to get it inIt's just the same as over just copy in requirements.txt or give a path. (foo_env) G:\Anaconda3\Scripts ErnestTBas Wrote:That requires the requirements.txt file to be inside the newly created Type "help", "copyright", "credits" or "license" for more information. # To deactivate an active environment, use Pyopenssl conda-forge/noarch::pyopenssl-19.1.0-py_1 ![]() Pycparser conda-forge/noarch::pycparser-2.20-py_0 Python_abi-3.6 | 1_cp36m 4 KB conda-forge The following packages will be downloaded: ![]() Λ conda create -name foo_env -file requirements.txtĬollecting package metadata (repodata.json): doneĮnvironment location: G:\Anaconda3\envs\foo_env If i use one om my own requirements.txt here conda create -name foo_env -file requirements.txtIt will pull down Python 3.6.1 the version i used when made this 3-year ago. You don't need to specify python version. I know the rest, but what is conda-forge doing in there?It use conda-forge to pull down packages. (Apr-22-2020, 11:22 PM)ErnestTBass Wrote: Now I do not know about the "-c conda-forge" option in that command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |