美文网首页
Using conda with pip in the same

Using conda with pip in the same

作者: ThomasYoungK | 来源:发表于2019-05-15 13:19 被阅读0次

If you use environment.yml, then Binder will use a Miniconda distribution to install your packages. However, you may still want to use pip. In this case, you should not use a requirements.txt file, but instead use a - pip section in environment.yml. This repository is an example of how to construct your environment.yml file to accomplish this.

environment.yml

name: example-environment
channels:
  - conda-forge
dependencies:
  - python
  - numpy
  - pip
  - pip:
    - nbgitpuller
    - sphinx-gallery
    - pandas
    - matplotlib

参考文献:https://github.com/binder-examples/python-conda_pip

相关文章

网友评论

      本文标题:Using conda with pip in the same

      本文链接:https://www.haomeiwen.com/subject/esrpaqtx.html