Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AnacondaAndMiniconda

Masa
February 12, 2018

 AnacondaAndMiniconda

はんなりPython#2 2018/01/19
AnacondaとMinicondaについて入門者向け解説

Masa

February 12, 2018
Tweet

More Decks by Masa

Other Decks in Programming

Transcript

  1. at macOS, Linux Anaconda を使わなくとも、通常の pip コマンドでも 簡単に環境を構築できる at Windows

    機械学習などのためにPython を使用するなら、多く のモジュールがデフォルトでインストールされる Anaconda はとても便利  masayuki14 / reserve-docs
  2. Dockerで動かす # Dockerfile FROM python:latest # Install miniconda to /miniconda

    RUN curl -LO 'https://repo.continuum.io/miniconda/Miniconda3-late RUN bash Miniconda3-latest-Linux-x86_64.sh -b -p /miniconda ENV PATH=/miniconda/bin:${PATH} RUN conda update -y conda RUN conda install -y conda-build RUN conda update -y conda-build $ docker build -t miniconda . $ docker run -it --rm miniconda /bin/bash  masayuki14 / reserve-docs
  3. 2. build.sh bld.bat のダ ウンロード $ cd pyinstrument $ curl

    -L 'https://conda.io/docs/_downloads/build1.sh' -o build.s $ curl -L 'https://conda.io/docs/_downloads/bld.bat' -o bld.bat  masayuki14 / reserve-docs
  4. Error でた いろいろ探すも解決せず。 $ conda-build pyinstrument Adding in variants from

    internal_defaults INFO:conda_build.variants:Adding in variants from internal_defaul Attempting to finalize metadata for pyinstrument INFO:conda_build.metadata:Attempting to finalize metadata for pyi Solving environment: failed ...  masayuki14 / reserve-docs