Skip to content

Adding to Conda #66

Answered by ddasilva
WilliamParsonsV asked this question in Q&A
Apr 4, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @WilliamParsonsV . You can add pip dependencies to conda environment.yml files, and they will get installed automatically when you make the conda environment. Here is an example from one of my projects. Does this solve your problem?

name: myproject
channels:
  - conda-forge
dependencies:
  # Base python
  - python>=3.8.5
  # Conda dependencies
  - astropy==5.0
  - termcolor==1.1.0
  - xmltodict==0.12.0
  # Pip Dependencies
  - pip
  - pip:
      - ccsdspy

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WilliamParsonsV
Comment options

Answer selected by WilliamParsonsV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants