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
#8
Have to know that requirements.txt is more geared against pip,conda has it own way with .yml file <environment-name>.yml.
So the specific versions that are in requirements.txt may not be found in codas Repo packages.
Look at this post in your other thread where i use pip in conda environment.

conda do of course has jupyter,but may not have the specific version that's in requirements.txt
So if i do a simple build:
conda create --name one_env jupyter pandas requests
It will pull down jupyter in newest version.
jupyter_client-6.1.2 | 82 KB     | ################################################################### | 100%
jupyter-1.0.0        | 8 KB      | ################################################################### | 100%
jupyter_core-4.6.3   | 98 KB     | ################################################################### | 100%
jupyter_console-6.1. | 24 KB     | ################################################################### | 100%
Quote:I will use a docker image of jupyter notebook to do this. Mabbe that will work.
It will no difference if use conda and a requirements.txt that has version that's not in conda's Repo.
Reply


Messages In This Thread
RE: Creating Conda env from requirments.txt file - by snippsat - Apr-23-2020, 06:57 PM

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