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
#2
Should add requirements.txt when create environment.
conda create --name foo_env --file requirements.txt
Try to later with conda it can/will be trouble with versions.

Can also use pip,create a clean environment conda create --name bar_env.
Now in activated environment,then do:
conda install pip
This will pull down newest Python version 3.8.2 with pip.
Then can use:
pip install -r requirements.txt
Reply


Messages In This Thread
RE: Creating Conda env from requirments.txt file - by snippsat - Apr-22-2020, 10:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help creating shell scrip for python file marciokoko 10 1,637 Sep-16-2023, 09:46 PM
Last Post: snippsat
  Confused over Conda Package manager vs PIP JanOlvegg 3 1,385 Mar-09-2023, 02:09 PM
Last Post: JanOlvegg
  How to deactivate correctly a conda environment NoNameoN 2 2,199 Nov-04-2022, 01:43 PM
Last Post: NoNameoN
  Creating csv files from Excel file azizrasul 40 6,673 Nov-03-2022, 08:33 PM
Last Post: azizrasul
  Creating file with images BobSmoss 1 1,472 Jan-08-2022, 08:46 PM
Last Post: snippsat
  SSL error while trying to update conda ilango 0 2,264 Nov-04-2021, 08:38 AM
Last Post: ilango
  Creating csv file from another file pisike 0 1,666 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,445 May-27-2020, 10:00 AM
Last Post: snippsat
  Creating a pdf from file DT2000 4 2,433 Apr-03-2020, 07:16 PM
Last Post: DT2000
  Installing a new package using pip in conda environment firebolt7 1 2,642 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