Python Forum
Creating Conda env from requirments.txt file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Conda env from requirments.txt file
#5
Just giving a path to the requirements.txt file would not be enough. You are not going to a new directory, you are going to a new conda environment.

Also,in the command

conda create - --name py33 python=3.3.0

and

conda install -f -y -q --name py33 -c conda-forge --file requirements.txt

I can just leave out

-c conda-forge

?

Also, does the requirements.txt file need to be anything special. I mean it can just have the name of
the modules and their version number, and that's all.

Respectfully,

ErnestTBass
Reply


Messages In This Thread
RE: Creating Conda env from requirments.txt file - by ErnestTBass - Apr-23-2020, 12:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help creating shell scrip for python file marciokoko 10 1,473 Sep-16-2023, 09:46 PM
Last Post: snippsat
  Confused over Conda Package manager vs PIP JanOlvegg 3 1,286 Mar-09-2023, 02:09 PM
Last Post: JanOlvegg
  How to deactivate correctly a conda environment NoNameoN 2 2,021 Nov-04-2022, 01:43 PM
Last Post: NoNameoN
  Creating csv files from Excel file azizrasul 40 6,037 Nov-03-2022, 08:33 PM
Last Post: azizrasul
  Creating file with images BobSmoss 1 1,434 Jan-08-2022, 08:46 PM
Last Post: snippsat
  SSL error while trying to update conda ilango 0 2,217 Nov-04-2021, 08:38 AM
Last Post: ilango
  Creating csv file from another file pisike 0 1,632 Nov-24-2020, 02:02 PM
Last Post: pisike
  Error: How to to close and restart your shell after running 'conda init' angelica 3 10,340 May-27-2020, 10:00 AM
Last Post: snippsat
  Creating a pdf from file DT2000 4 2,374 Apr-03-2020, 07:16 PM
Last Post: DT2000
  Installing a new package using pip in conda environment firebolt7 1 2,557 Nov-18-2019, 12:31 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020