python - How to install gh CLI library using conda's environment.yml? - TagMerge
3How to install gh CLI library using conda's environment.yml?How to install gh CLI library using conda's environment.yml?

How to install gh CLI library using conda's environment.yml?

Asked 1 years ago
0
3 answers

Add conda-forge to the channels and gh to the dependencies:

environment.yaml

name: conda_env
channels:
  - conda-forge
  - defaults
dependencies:
  - python>=3.8
  - pip>=20.1.1
  - gh

Note it is recommended when using Conda Forge to give it priority over defaults (hence, the order). Otherwise, one risks encountering channel mixing issues. Likely not an issue here, since gh is a standalone binary, but worth being aware of.

Source: link

0

conda search scipy
conda search --override-channels --channel defaults scipy
conda search --override-channels --channel http://conda.anaconda.org/mutirri iminuit
conda install --name myenv scipy
conda install scipy

Source: link

0

Add non-local PR template support (#5097)
* Add non-local PR template support

* Consolidate template support functions

* Change back query name

Source: link

Recent Questions on python

    Programming Languages