Skip to content

Instantly share code, notes, and snippets.

@ericdill
Created July 30, 2020 20:06
Show Gist options
  • Select an option

  • Save ericdill/9f065e8a240022dedd5a1c9cf88bffe7 to your computer and use it in GitHub Desktop.

Select an option

Save ericdill/9f065e8a240022dedd5a1c9cf88bffe7 to your computer and use it in GitHub Desktop.

Revisions

  1. ericdill created this gist Jul 30, 2020.
    1,310 changes: 1,310 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,1310 @@
    {
    "cells": [
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "You need the following libraries to make this work:\n",
    "Run conda env create -f this_output.yaml\n",
    "```\n",
    "name: my-env\n",
    "channels:\n",
    "- conda-forge\n",
    "dependencies:\n",
    "- jupyterlab\n",
    "- mamba\n",
    "- pip\n",
    "- pip:\n",
    " - ipython-autotime\n",
    "```\n",
    "Then activate the above conda environment and run the notebook to explore"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 2,
    "metadata": {},
    "outputs": [],
    "source": [
    "\n",
    "%load_ext autotime"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 3,
    "metadata": {},
    "outputs": [
    {
    "data": {
    "text/plain": [
    "1"
    ]
    },
    "execution_count": 3,
    "metadata": {},
    "output_type": "execute_result"
    },
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "time: 3.63 ms\n"
    ]
    }
    ],
    "source": [
    "1"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 4,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "\n",
    "Remove all packages in environment /tmp/test1:\n",
    "\n",
    "time: 1.95 s\n"
    ]
    }
    ],
    "source": [
    "!conda env remove -p /tmp/test1"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 5,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Cache location: /Users/eric.dill/miniconda/pkgs\n",
    "Will remove the following tarballs:\n",
    "\n",
    "/Users/eric.dill/miniconda/pkgs\n",
    "-------------------------------\n",
    "numpy-1.14.0-py36_blas_openblas_200.tar.bz2 3.9 MB\n",
    "certifi-2020.6.20-py36h9f0ad1d_0.tar.bz2 151 KB\n",
    "blas-1.1-openblas.tar.bz2 1 KB\n",
    "setuptools-49.2.0-py36h9f0ad1d_0.tar.bz2 937 KB\n",
    "openblas-0.2.20-8.tar.bz2 20.1 MB\n",
    "python-3.6.11-h5d1cf6b_1_cpython.tar.bz2 20.2 MB\n",
    "libgfortran-3.0.1-0.tar.bz2 495 KB\n",
    "python_abi-3.6-1_cp36m.tar.bz2 4 KB\n",
    "\n",
    "---------------------------------------------------\n",
    "Total: 45.8 MB\n",
    "\n",
    "Removed numpy-1.14.0-py36_blas_openblas_200.tar.bz2\n",
    "Removed certifi-2020.6.20-py36h9f0ad1d_0.tar.bz2\n",
    "Removed blas-1.1-openblas.tar.bz2\n",
    "Removed setuptools-49.2.0-py36h9f0ad1d_0.tar.bz2\n",
    "Removed openblas-0.2.20-8.tar.bz2\n",
    "Removed python-3.6.11-h5d1cf6b_1_cpython.tar.bz2\n",
    "Removed libgfortran-3.0.1-0.tar.bz2\n",
    "Removed python_abi-3.6-1_cp36m.tar.bz2\n",
    "WARNING: /Users/eric.dill/.conda/pkgs does not exist\n",
    "Cache location: /Users/eric.dill/miniconda/pkgs\n",
    "Will remove the following packages:\n",
    "/Users/eric.dill/miniconda/pkgs\n",
    "-------------------------------\n",
    "\n",
    "setuptools-49.2.0-py36h9f0ad1d_0 3.9 MB\n",
    "openblas-0.2.20-8 161.7 MB\n",
    "libgfortran-3.0.1-0 1.6 MB\n",
    "blas-1.1-openblas 3 KB\n",
    "certifi-2020.6.20-py36h9f0ad1d_0 299 KB\n",
    "python_abi-3.6-1_cp36m 10 KB\n",
    "numpy-1.14.0-py36_blas_openblas_200 16.9 MB\n",
    "python-3.6.11-h5d1cf6b_1_cpython 53.2 MB\n",
    "\n",
    "---------------------------------------------------\n",
    "Total: 237.5 MB\n",
    "\n",
    "removing setuptools-49.2.0-py36h9f0ad1d_0\n",
    "removing openblas-0.2.20-8\n",
    "removing libgfortran-3.0.1-0\n",
    "removing blas-1.1-openblas\n",
    "removing certifi-2020.6.20-py36h9f0ad1d_0\n",
    "removing python_abi-3.6-1_cp36m\n",
    "removing numpy-1.14.0-py36_blas_openblas_200\n",
    "removing python-3.6.11-h5d1cf6b_1_cpython\n",
    "time: 3.08 s\n"
    ]
    }
    ],
    "source": [
    "!conda clean -ay"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 6,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Collecting package metadata (current_repodata.json): done\n",
    "Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.\n",
    "Collecting package metadata (repodata.json): done\n",
    "Solving environment: done\n",
    "\n",
    "## Package Plan ##\n",
    "\n",
    " environment location: /tmp/test1\n",
    "\n",
    " added / updated specs:\n",
    " - numpy=1.14.0\n",
    "\n",
    "\n",
    "The following packages will be downloaded:\n",
    "\n",
    " package | build\n",
    " ---------------------------|-----------------\n",
    " blas-1.1 | openblas 1 KB defaults\n",
    " certifi-2020.6.20 | py36h9f0ad1d_0 151 KB defaults\n",
    " libgfortran-3.0.1 | 0 495 KB defaults\n",
    " numpy-1.14.0 |py36_blas_openblas_200 3.9 MB defaults\n",
    " openblas-0.2.20 | 8 20.1 MB defaults\n",
    " python-3.6.11 |h5d1cf6b_1_cpython 20.2 MB defaults\n",
    " python_abi-3.6 | 1_cp36m 4 KB defaults\n",
    " setuptools-49.2.0 | py36h9f0ad1d_0 937 KB defaults\n",
    " ------------------------------------------------------------\n",
    " Total: 45.8 MB\n",
    "\n",
    "The following NEW packages will be INSTALLED:\n",
    "\n",
    " blas conda-forge/osx-64::blas-1.1-openblas\n",
    " ca-certificates conda-forge/osx-64::ca-certificates-2020.6.20-hecda079_0\n",
    " certifi conda-forge/osx-64::certifi-2020.6.20-py36h9f0ad1d_0\n",
    " libcxx conda-forge/osx-64::libcxx-10.0.1-h5f48129_0\n",
    " libffi conda-forge/osx-64::libffi-3.2.1-h4a8c4bd_1007\n",
    " libgfortran conda-forge/osx-64::libgfortran-3.0.1-0\n",
    " ncurses conda-forge/osx-64::ncurses-6.2-hb1e8313_1\n",
    " numpy conda-forge/osx-64::numpy-1.14.0-py36_blas_openblas_200\n",
    " openblas conda-forge/osx-64::openblas-0.2.20-8\n",
    " openssl conda-forge/osx-64::openssl-1.1.1g-h0b31af3_1\n",
    " pip conda-forge/noarch::pip-20.2-py_0\n",
    " python conda-forge/osx-64::python-3.6.11-h5d1cf6b_1_cpython\n",
    " python_abi conda-forge/osx-64::python_abi-3.6-1_cp36m\n",
    " readline conda-forge/osx-64::readline-8.0-h0678c8f_2\n",
    " setuptools conda-forge/osx-64::setuptools-49.2.0-py36h9f0ad1d_0\n",
    " sqlite conda-forge/osx-64::sqlite-3.32.3-h93121df_1\n",
    " tk conda-forge/osx-64::tk-8.6.10-hbbe82c9_0\n",
    " wheel conda-forge/noarch::wheel-0.34.2-py_1\n",
    " xz conda-forge/osx-64::xz-5.2.5-h0b31af3_1\n",
    " zlib conda-forge/osx-64::zlib-1.2.11-h0b31af3_1006\n",
    "\n",
    "\n",
    "\n",
    "Downloading and Extracting Packages\n",
    "openblas-0.2.20 | 20.1 MB | ##################################### | 100% \n",
    "numpy-1.14.0 | 3.9 MB | ##################################### | 100% \n",
    "python_abi-3.6 | 4 KB | ##################################### | 100% \n",
    "certifi-2020.6.20 | 151 KB | ##################################### | 100% \n",
    "python-3.6.11 | 20.2 MB | ##################################### | 100% \n",
    "setuptools-49.2.0 | 937 KB | ##################################### | 100% \n",
    "blas-1.1 | 1 KB | ##################################### | 100% \n",
    "libgfortran-3.0.1 | 495 KB | ##################################### | 100% \n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test1\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 53.3 s\n"
    ]
    }
    ],
    "source": [
    "!conda create -p /tmp/test1 numpy=1.14.0 -y"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 7,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "name: test\n",
    "channels:\n",
    "- conda-forge\n",
    "dependencies:\n",
    "- numpy=1.14.0time: 171 ms\n"
    ]
    }
    ],
    "source": [
    "!cat env.yaml"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 8,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Cache location: /Users/eric.dill/miniconda/pkgs\n",
    "Will remove the following tarballs:\n",
    "\n",
    "/Users/eric.dill/miniconda/pkgs\n",
    "-------------------------------\n",
    "numpy-1.14.0-py36_blas_openblas_200.tar.bz2 3.9 MB\n",
    "certifi-2020.6.20-py36h9f0ad1d_0.tar.bz2 151 KB\n",
    "blas-1.1-openblas.tar.bz2 1 KB\n",
    "setuptools-49.2.0-py36h9f0ad1d_0.tar.bz2 937 KB\n",
    "openblas-0.2.20-8.tar.bz2 20.1 MB\n",
    "python-3.6.11-h5d1cf6b_1_cpython.tar.bz2 20.2 MB\n",
    "libgfortran-3.0.1-0.tar.bz2 495 KB\n",
    "python_abi-3.6-1_cp36m.tar.bz2 4 KB\n",
    "\n",
    "---------------------------------------------------\n",
    "Total: 45.8 MB\n",
    "\n",
    "Removed numpy-1.14.0-py36_blas_openblas_200.tar.bz2\n",
    "Removed certifi-2020.6.20-py36h9f0ad1d_0.tar.bz2\n",
    "Removed blas-1.1-openblas.tar.bz2\n",
    "Removed setuptools-49.2.0-py36h9f0ad1d_0.tar.bz2\n",
    "Removed openblas-0.2.20-8.tar.bz2\n",
    "Removed python-3.6.11-h5d1cf6b_1_cpython.tar.bz2\n",
    "Removed libgfortran-3.0.1-0.tar.bz2\n",
    "Removed python_abi-3.6-1_cp36m.tar.bz2\n",
    "WARNING: /Users/eric.dill/.conda/pkgs does not exist\n",
    "Cache location: /Users/eric.dill/miniconda/pkgs\n",
    "Will remove the following packages:\n",
    "/Users/eric.dill/miniconda/pkgs\n",
    "-------------------------------\n",
    "\n",
    "blas-1.1-openblas 3 KB\n",
    "python_abi-3.6-1_cp36m 10 KB\n",
    "\n",
    "---------------------------------------------------\n",
    "Total: 12 KB\n",
    "\n",
    "removing blas-1.1-openblas\n",
    "removing python_abi-3.6-1_cp36m\n",
    "time: 2.44 s\n"
    ]
    }
    ],
    "source": [
    "!conda clean -ay"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 9,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Collecting package metadata (repodata.json): done\n",
    "Solving environment: done\n",
    "\n",
    "Downloading and Extracting Packages\n",
    "blas-1.1 | 1 KB | ##################################### | 100% \n",
    "python_abi-3.6 | 4 KB | ##################################### | 100% \n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test2\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 29.9 s\n"
    ]
    }
    ],
    "source": [
    "!conda env create -f env.yaml -p /tmp/test2"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 10,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "usage: conda-lock [-h] [-c CONDA] [--no-mamba] [-p [PLATFORM]] [-f FILE]\n",
    " [-m {default,docker}]\n",
    "\n",
    "optional arguments:\n",
    " -h, --help show this help message and exit\n",
    " -c CONDA, --conda CONDA\n",
    " path (or name) of the conda/mamba executable to use.\n",
    " --no-mamba don't attempt to use or install mamba.\n",
    " -p [PLATFORM], --platform [PLATFORM]\n",
    " generate lock files for the following platforms\n",
    " -f FILE, --file FILE path to a conda environment specification\n",
    " -m {default,docker}, --mode {default,docker}\n",
    " Run this conda-lock in an isolated docker container.\n",
    " This may be required to account for some issues where\n",
    " conda-lock conflicts with existing condarc\n",
    " configurations.\n",
    "time: 621 ms\n"
    ]
    }
    ],
    "source": [
    "!conda-lock -h"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 11,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "generating lockfile for osx-64\n",
    "generating lockfile for linux-64\n",
    "generating lockfile for win-64\n",
    "Traceback (most recent call last):\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/bin/conda-lock\", line 10, in <module>\n",
    " sys.exit(main())\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/lib/python3.8/site-packages/conda_lock/conda_lock.py\", line 400, in main\n",
    " run_lock(\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/lib/python3.8/site-packages/conda_lock/conda_lock.py\", line 391, in run_lock\n",
    " make_lock_files(\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/lib/python3.8/site-packages/conda_lock/conda_lock.py\", line 263, in make_lock_files\n",
    " dry_run_install = solve_specs_for_arch(\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/lib/python3.8/site-packages/conda_lock/conda_lock.py\", line 212, in solve_specs_for_arch\n",
    " return json.loads(proc.stdout)\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/lib/python3.8/json/__init__.py\", line 357, in loads\n",
    " return _default_decoder.decode(s)\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/lib/python3.8/json/decoder.py\", line 337, in decode\n",
    " obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n",
    " File \"/Users/eric.dill/miniconda/envs/jlab/lib/python3.8/json/decoder.py\", line 355, in raw_decode\n",
    " raise JSONDecodeError(\"Expecting value\", s, err.value) from None\n",
    "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n",
    "time: 28.6 s\n"
    ]
    }
    ],
    "source": [
    "!conda-lock -f env.yaml -p osx-64"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 12,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "generating lockfile for osx-64\n",
    "To use the generated lock files create a new environment:\n",
    "\n",
    " conda create --name YOURENV --file conda-linux-64.lock\n",
    "\n",
    "time: 8.68 s\n"
    ]
    }
    ],
    "source": [
    "!conda-lock -f env.yaml -p osx-64"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 13,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Cache location: \n",
    "There are no tarballs to remove\n",
    "WARNING: /Users/eric.dill/miniconda/envs/jlab/pkgs does not exist\n",
    "WARNING: /Users/eric.dill/.conda/pkgs does not exist\n",
    "Cache location: \n",
    "There are no unused packages to remove\n",
    "time: 755 ms\n"
    ]
    }
    ],
    "source": [
    "!conda clean -ay"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "With downloading conda packages"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 14,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "\n",
    "Downloading and Extracting Packages\n",
    "ca-certificates-2020 | ################################################# | 100% \n",
    "libcxx-10.0.1 | ################################################# | 100% \n",
    "libgfortran-3.0.1 | ################################################# | 100% \n",
    "xz-5.2.5 | ################################################# | 100% \n",
    "zlib-1.2.11 | ################################################# | 100% \n",
    "libffi-3.2.1 | ################################################# | 100% \n",
    "ncurses-6.2 | ################################################# | 100% \n",
    "openblas-0.2.20 | ################################################# | 100% \n",
    "openssl-1.1.1g | ################################################# | 100% \n",
    "tk-8.6.10 | ################################################# | 100% \n",
    "blas-1.1 | ################################################# | 100% \n",
    "readline-8.0 | ################################################# | 100% \n",
    "sqlite-3.32.3 | ################################################# | 100% \n",
    "python-3.6.11 | ################################################# | 100% \n",
    "numpy-1.14.0 | ################################################# | 100% \n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "time: 29.3 s\n"
    ]
    }
    ],
    "source": [
    "!conda create -p /tmp/test3 --file conda-osx-64.lock"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "Without downloading conda packages"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 15,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "time: 6.57 s\n"
    ]
    }
    ],
    "source": [
    "!conda create -p /tmp/test4 --file conda-osx-64.lock"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "Using just conda"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 16,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Collecting package metadata (current_repodata.json): done\n",
    "Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.\n",
    "Collecting package metadata (repodata.json): done\n",
    "Solving environment: done\n",
    "\n",
    "## Package Plan ##\n",
    "\n",
    " environment location: /tmp/test5\n",
    "\n",
    " added / updated specs:\n",
    " - numpy=1.14.0\n",
    "\n",
    "\n",
    "The following packages will be downloaded:\n",
    "\n",
    " package | build\n",
    " ---------------------------|-----------------\n",
    " certifi-2020.6.20 | py36h9f0ad1d_0 151 KB defaults\n",
    " pip-20.2 | py_0 1.1 MB defaults\n",
    " python-3.6.11 |h5d1cf6b_1_cpython 20.2 MB defaults\n",
    " python_abi-3.6 | 1_cp36m 4 KB defaults\n",
    " setuptools-49.2.0 | py36h9f0ad1d_0 937 KB defaults\n",
    " wheel-0.34.2 | py_1 24 KB defaults\n",
    " zlib-1.2.11 | h0b31af3_1006 101 KB defaults\n",
    " ------------------------------------------------------------\n",
    " Total: 22.5 MB\n",
    "\n",
    "The following NEW packages will be INSTALLED:\n",
    "\n",
    " blas conda-forge/osx-64::blas-1.1-openblas\n",
    " ca-certificates conda-forge/osx-64::ca-certificates-2020.6.20-hecda079_0\n",
    " certifi conda-forge/osx-64::certifi-2020.6.20-py36h9f0ad1d_0\n",
    " libcxx conda-forge/osx-64::libcxx-10.0.1-h5f48129_0\n",
    " libffi conda-forge/osx-64::libffi-3.2.1-h4a8c4bd_1007\n",
    " libgfortran conda-forge/osx-64::libgfortran-3.0.1-0\n",
    " ncurses conda-forge/osx-64::ncurses-6.2-hb1e8313_1\n",
    " numpy conda-forge/osx-64::numpy-1.14.0-py36_blas_openblas_200\n",
    " openblas conda-forge/osx-64::openblas-0.2.20-8\n",
    " openssl conda-forge/osx-64::openssl-1.1.1g-h0b31af3_1\n",
    " pip conda-forge/noarch::pip-20.2-py_0\n",
    " python conda-forge/osx-64::python-3.6.11-h5d1cf6b_1_cpython\n",
    " python_abi conda-forge/osx-64::python_abi-3.6-1_cp36m\n",
    " readline conda-forge/osx-64::readline-8.0-h0678c8f_2\n",
    " setuptools conda-forge/osx-64::setuptools-49.2.0-py36h9f0ad1d_0\n",
    " sqlite conda-forge/osx-64::sqlite-3.32.3-h93121df_1\n",
    " tk conda-forge/osx-64::tk-8.6.10-hbbe82c9_0\n",
    " wheel conda-forge/noarch::wheel-0.34.2-py_1\n",
    " xz conda-forge/osx-64::xz-5.2.5-h0b31af3_1\n",
    " zlib conda-forge/osx-64::zlib-1.2.11-h0b31af3_1006\n",
    "\n",
    "\n",
    "\n",
    "Downloading and Extracting Packages\n",
    "zlib-1.2.11 | 101 KB | ##################################### | 100% \n",
    "setuptools-49.2.0 | 937 KB | ##################################### | 100% \n",
    "pip-20.2 | 1.1 MB | ##################################### | 100% \n",
    "python-3.6.11 | 20.2 MB | ##################################### | 100% \n",
    "python_abi-3.6 | 4 KB | ##################################### | 100% \n",
    "wheel-0.34.2 | 24 KB | ##################################### | 100% \n",
    "certifi-2020.6.20 | 151 KB | ##################################### | 100% \n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test5\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 43.5 s\n"
    ]
    }
    ],
    "source": [
    "!conda create -p /tmp/test5 numpy=1.14.0 -y"
    ]
    },
    {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
    "Run it again now that everything is downloaded"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 17,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Collecting package metadata (current_repodata.json): done\n",
    "Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.\n",
    "Collecting package metadata (repodata.json): done\n",
    "Solving environment: done\n",
    "\n",
    "## Package Plan ##\n",
    "\n",
    " environment location: /tmp/test5\n",
    "\n",
    " added / updated specs:\n",
    " - numpy=1.14.0\n",
    "\n",
    "\n",
    "The following NEW packages will be INSTALLED:\n",
    "\n",
    " blas conda-forge/osx-64::blas-1.1-openblas\n",
    " ca-certificates conda-forge/osx-64::ca-certificates-2020.6.20-hecda079_0\n",
    " certifi conda-forge/osx-64::certifi-2020.6.20-py36h9f0ad1d_0\n",
    " libcxx conda-forge/osx-64::libcxx-10.0.1-h5f48129_0\n",
    " libffi conda-forge/osx-64::libffi-3.2.1-h4a8c4bd_1007\n",
    " libgfortran conda-forge/osx-64::libgfortran-3.0.1-0\n",
    " ncurses conda-forge/osx-64::ncurses-6.2-hb1e8313_1\n",
    " numpy conda-forge/osx-64::numpy-1.14.0-py36_blas_openblas_200\n",
    " openblas conda-forge/osx-64::openblas-0.2.20-8\n",
    " openssl conda-forge/osx-64::openssl-1.1.1g-h0b31af3_1\n",
    " pip conda-forge/noarch::pip-20.2-py_0\n",
    " python conda-forge/osx-64::python-3.6.11-h5d1cf6b_1_cpython\n",
    " python_abi conda-forge/osx-64::python_abi-3.6-1_cp36m\n",
    " readline conda-forge/osx-64::readline-8.0-h0678c8f_2\n",
    " setuptools conda-forge/osx-64::setuptools-49.2.0-py36h9f0ad1d_0\n",
    " sqlite conda-forge/osx-64::sqlite-3.32.3-h93121df_1\n",
    " tk conda-forge/osx-64::tk-8.6.10-hbbe82c9_0\n",
    " wheel conda-forge/noarch::wheel-0.34.2-py_1\n",
    " xz conda-forge/osx-64::xz-5.2.5-h0b31af3_1\n",
    " zlib conda-forge/osx-64::zlib-1.2.11-h0b31af3_1006\n",
    "\n",
    "\n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test5\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 15.9 s\n"
    ]
    }
    ],
    "source": [
    "!conda create -p /tmp/test6 numpy=1.14.0 -y"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 18,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Collecting package metadata (current_repodata.json): done\n",
    "Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.\n",
    "Collecting package metadata (repodata.json): done\n",
    "Solving environment: done\n",
    "\n",
    "## Package Plan ##\n",
    "\n",
    " environment location: /tmp/test6\n",
    "\n",
    " added / updated specs:\n",
    " - numpy=1.14.0\n",
    "\n",
    "\n",
    "The following NEW packages will be INSTALLED:\n",
    "\n",
    " blas conda-forge/osx-64::blas-1.1-openblas\n",
    " ca-certificates conda-forge/osx-64::ca-certificates-2020.6.20-hecda079_0\n",
    " certifi conda-forge/osx-64::certifi-2020.6.20-py36h9f0ad1d_0\n",
    " libcxx conda-forge/osx-64::libcxx-10.0.1-h5f48129_0\n",
    " libffi conda-forge/osx-64::libffi-3.2.1-h4a8c4bd_1007\n",
    " libgfortran conda-forge/osx-64::libgfortran-3.0.1-0\n",
    " ncurses conda-forge/osx-64::ncurses-6.2-hb1e8313_1\n",
    " numpy conda-forge/osx-64::numpy-1.14.0-py36_blas_openblas_200\n",
    " openblas conda-forge/osx-64::openblas-0.2.20-8\n",
    " openssl conda-forge/osx-64::openssl-1.1.1g-h0b31af3_1\n",
    " pip conda-forge/noarch::pip-20.2-py_0\n",
    " python conda-forge/osx-64::python-3.6.11-h5d1cf6b_1_cpython\n",
    " python_abi conda-forge/osx-64::python_abi-3.6-1_cp36m\n",
    " readline conda-forge/osx-64::readline-8.0-h0678c8f_2\n",
    " setuptools conda-forge/osx-64::setuptools-49.2.0-py36h9f0ad1d_0\n",
    " sqlite conda-forge/osx-64::sqlite-3.32.3-h93121df_1\n",
    " tk conda-forge/osx-64::tk-8.6.10-hbbe82c9_0\n",
    " wheel conda-forge/noarch::wheel-0.34.2-py_1\n",
    " xz conda-forge/osx-64::xz-5.2.5-h0b31af3_1\n",
    " zlib conda-forge/osx-64::zlib-1.2.11-h0b31af3_1006\n",
    "\n",
    "\n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test6\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 12.8 s\n"
    ]
    }
    ],
    "source": [
    "!conda create -p /tmp/test6 numpy=1.14.0 -y"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 20,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "Collecting package metadata (current_repodata.json): done\n",
    "Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.\n",
    "Collecting package metadata (repodata.json): done\n",
    "Solving environment: done\n",
    "\n",
    "## Package Plan ##\n",
    "\n",
    " environment location: /tmp/test7\n",
    "\n",
    " added / updated specs:\n",
    " - numpy=1.14.0\n",
    "\n",
    "\n",
    "The following NEW packages will be INSTALLED:\n",
    "\n",
    " blas conda-forge/osx-64::blas-1.1-openblas\n",
    " ca-certificates conda-forge/osx-64::ca-certificates-2020.6.20-hecda079_0\n",
    " certifi conda-forge/osx-64::certifi-2020.6.20-py36h9f0ad1d_0\n",
    " libcxx conda-forge/osx-64::libcxx-10.0.1-h5f48129_0\n",
    " libffi conda-forge/osx-64::libffi-3.2.1-h4a8c4bd_1007\n",
    " libgfortran conda-forge/osx-64::libgfortran-3.0.1-0\n",
    " ncurses conda-forge/osx-64::ncurses-6.2-hb1e8313_1\n",
    " numpy conda-forge/osx-64::numpy-1.14.0-py36_blas_openblas_200\n",
    " openblas conda-forge/osx-64::openblas-0.2.20-8\n",
    " openssl conda-forge/osx-64::openssl-1.1.1g-h0b31af3_1\n",
    " pip conda-forge/noarch::pip-20.2-py_0\n",
    " python conda-forge/osx-64::python-3.6.11-h5d1cf6b_1_cpython\n",
    " python_abi conda-forge/osx-64::python_abi-3.6-1_cp36m\n",
    " readline conda-forge/osx-64::readline-8.0-h0678c8f_2\n",
    " setuptools conda-forge/osx-64::setuptools-49.2.0-py36h9f0ad1d_0\n",
    " sqlite conda-forge/osx-64::sqlite-3.32.3-h93121df_1\n",
    " tk conda-forge/osx-64::tk-8.6.10-hbbe82c9_0\n",
    " wheel conda-forge/noarch::wheel-0.34.2-py_1\n",
    " xz conda-forge/osx-64::xz-5.2.5-h0b31af3_1\n",
    " zlib conda-forge/osx-64::zlib-1.2.11-h0b31af3_1006\n",
    "\n",
    "\n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test7\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 13.1 s\n"
    ]
    }
    ],
    "source": [
    "!conda create -p /tmp/test7 numpy=1.14.0 -y"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 21,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "\n",
    " __ __ __ __\n",
    " / \\ / \\ / \\ / \\\n",
    " / \\/ \\/ \\/ \\\n",
    "███████████████/ /██/ /██/ /██/ /████████████████████████\n",
    " / / \\ / \\ / \\ / \\ \\____\n",
    " / / \\_/ \\_/ \\_/ \\ o \\__,\n",
    " / _/ \\_____/ `\n",
    " |/\n",
    " ███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗\n",
    " ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗\n",
    " ██╔████╔██║███████║██╔████╔██║██████╔╝███████║\n",
    " ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║\n",
    " ██�� ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║\n",
    " ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝\n",
    "\n",
    " mamba (0.4.3) supported by @QuantStack\n",
    "\n",
    " GitHub: https://github.com/QuantStack/mamba\n",
    " Twitter: https://twitter.com/QuantStack\n",
    "\n",
    "█████████████████████████████████████████████████████████████\n",
    "\n",
    "conda-forge/noarch [<=> ] (00m:00s) \n",
    "conda-forge/noarch [=> ] (00m:00s) 19 KB / ?? (34.54 KB/s)\n",
    "conda-forge/noarch [=> ] (00m:00s) 19 KB / ?? (34.54 KB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) \n",
    "conda-forge/noarch [=> ] (00m:00s) 19 KB / ?? (34.54 KB/s)\n",
    "conda-forge/osx-64 [=> ] (00m:00s) 177 KB / ?? (326.84 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 19 KB / ?? (34.54 KB/s)\n",
    "conda-forge/osx-64 [=> ] (00m:00s) 177 KB / ?? (326.84 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 429 KB / ?? (619.53 KB/s)\n",
    "conda-forge/osx-64 [=> ] (00m:00s) 177 KB / ?? (326.84 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 429 KB / ?? (619.53 KB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) 177 KB / ?? (326.84 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 429 KB / ?? (619.53 KB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) 654 KB / ?? (941.66 KB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 429 KB / ?? (619.53 KB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) 654 KB / ?? (941.66 KB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 831 KB / ?? (984.74 KB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) 654 KB / ?? (941.66 KB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 831 KB / ?? (984.74 KB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 654 KB / ?? (941.66 KB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 831 KB / ?? (984.74 KB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 831 KB / ?? (984.74 KB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.23 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.23 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.23 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.55 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.23 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.55 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.23 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.74 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.23 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.74 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.40 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.74 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.40 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.74 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.40 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.88 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.40 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.88 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.56 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.88 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.56 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.88 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.56 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (1.96 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.56 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (1.96 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.66 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (1.96 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 2 MB / ?? (1.66 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (1.96 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 2 MB / ?? (1.66 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 2 MB / ?? (1.66 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 3 MB / ?? (1.75 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) Finalizing...\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) Done\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/noarch [====================] (00m:01s) Done\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/noarch [====================] (00m:01s) Done\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.05 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.15 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.15 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.26 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.26 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.32 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.32 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.37 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.37 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 6 MB / ?? (2.38 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 6 MB / ?? (2.38 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 6 MB / ?? (2.41 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 6 MB / ?? (2.41 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.43 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.43 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.45 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.45 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 8 MB / ?? (2.47 MB/s)\n",
    "conda-forge/osx-64 [ <=>] (00m:02s) 8 MB / ?? (2.47 MB/s)\n",
    "conda-forge/osx-64 [ <=>] (00m:02s) 8 MB / ?? (2.50 MB/s)\n",
    "conda-forge/osx-64 [ <=] (00m:02s) 8 MB / ?? (2.50 MB/s)\n",
    "conda-forge/osx-64 [ <=] (00m:02s) 9 MB / ?? (2.53 MB/s)\n",
    "conda-forge/osx-64 [ <] (00m:02s) 9 MB / ?? (2.53 MB/s)\n",
    "conda-forge/osx-64 [ <] (00m:02s) 9 MB / ?? (2.56 MB/s)\n",
    "conda-forge/osx-64 [ <] (00m:03s) Finalizing...\n",
    "conda-forge/osx-64 [ <] (00m:03s) Done\n",
    "conda-forge/osx-64 [====================] (00m:03s) Done\n",
    "conda-forge/osx-64 [====================] (00m:03s) Done\n",
    "\n",
    "Looking for: ['numpy=1.14.0']\n",
    "\n",
    "Transaction\n",
    "\n",
    " Prefix: /tmp/test7\n",
    "\n",
    " Updating specs:\n",
    "\n",
    " - numpy==1.14.0\n",
    "\n",
    "\n",
    " Package Version Build Channel Size\n",
    "─────────────────────────────────────────────────────────────────────────────────────\n",
    " Install:\n",
    "─────────────────────────────────────────────────────────────────────────────────────\n",
    "\n",
    "\u001b[32m blas \u001b[00m 1.1 openblas conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m ca-certificates\u001b[00m 2020.6.20 hecda079_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m certifi \u001b[00m 2020.6.20 py36h9f0ad1d_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m libcxx \u001b[00m 10.0.1 h5f48129_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m libffi \u001b[00m 3.2.1 h4a8c4bd_1007 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m libgfortran \u001b[00m 3.0.1 0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m ncurses \u001b[00m 6.2 hb1e8313_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m numpy \u001b[00m 1.14.0 py36_blas_openblas_200 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m openblas \u001b[00m 0.2.20 8 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m openssl \u001b[00m 1.1.1g h0b31af3_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m pip \u001b[00m 20.2 py_0 conda-forge/noarch\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m python \u001b[00m 3.6.11 hc38f9c5_1_cpython conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m python_abi \u001b[00m 3.6 1_cp36m conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m readline \u001b[00m 8.0 h0678c8f_2 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m setuptools \u001b[00m 49.2.0 py36h9f0ad1d_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m sqlite \u001b[00m 3.32.3 h93121df_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m tk \u001b[00m 8.6.10 hbbe82c9_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m wheel \u001b[00m 0.34.2 py36_0 conda-forge/osx-64 43 KB\n",
    "\u001b[32m xz \u001b[00m 5.2.5 h0b31af3_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m zlib \u001b[00m 1.2.11 h01d97ff_1006 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\n",
    " Summary:\n",
    "\n",
    " Install: 20 packages\n",
    "\n",
    " Total download: 43 KB\n",
    "\n",
    "─────────────────────────────────────────────────────────────────────────────────────\n",
    "\n",
    "wheel [========> ] (00m:00s) \n",
    "wheel [==> ] (00m:00s) 18 KB / 43 KB ( 34.05 KB/s)\n",
    "wheel [======] (00m:00s) 18 KB / 43 KB ( 34.05 KB/s)\n",
    "wheel [====================] (00m:00s) Validating...\n",
    "wheel [====================] (00m:00s) Waiting...\n",
    "wheel [====================] (00m:00s) Decompressing...\n",
    "\u001b[1A\u001b[0KFinished wheel (00m:00s) 43 KB 80 KB/s\n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test7\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 18.4 s\n"
    ]
    }
    ],
    "source": [
    "!mamba create -p /tmp/test7 numpy=1.14.0 -y"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 23,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "\n",
    " __ __ __ __\n",
    " / \\ / \\ / \\ / \\\n",
    " / \\/ \\/ \\/ \\\n",
    "███████████████/ /██/ /██/ /██/ /████████████████████████\n",
    " / / \\ / \\ / \\ / \\ \\____\n",
    " / / \\_/ \\_/ \\_/ \\ o \\__,\n",
    " / _/ \\_____/ `\n",
    " |/\n",
    " ███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗\n",
    " ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗\n",
    " ██╔████╔██║███████║██╔████╔██║██████╔╝███████║\n",
    " ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║\n",
    " ██║ ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║\n",
    " ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝\n",
    "\n",
    " mamba (0.4.3) supported by @QuantStack\n",
    "\n",
    " GitHub: https://github.com/QuantStack/mamba\n",
    " Twitter: https://twitter.com/QuantStack\n",
    "\n",
    "█████████████████████████████████████████████████████████████\n",
    "\n",
    "conda-forge/noarch [<=> ] (00m:00s) \n",
    "conda-forge/noarch [=> ] (00m:00s) 206 KB / ?? (410.40 KB/s)\n",
    "conda-forge/noarch [=> ] (00m:00s) 206 KB / ?? (410.40 KB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) \n",
    "conda-forge/noarch [=> ] (00m:00s) 206 KB / ?? (410.40 KB/s)\n",
    "conda-forge/osx-64 [=> ] (00m:00s) 365 KB / ?? (724.67 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 206 KB / ?? (410.40 KB/s)\n",
    "conda-forge/osx-64 [=> ] (00m:00s) 365 KB / ?? (724.67 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 676 KB / ?? (1.01 MB/s)\n",
    "conda-forge/osx-64 [=> ] (00m:00s) 365 KB / ?? (724.67 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 676 KB / ?? (1.01 MB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) 365 KB / ?? (724.67 KB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 676 KB / ?? (1.01 MB/s)\n",
    "conda-forge/osx-64 [<=> ] (00m:00s) 874 KB / ?? (1.30 MB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 676 KB / ?? (1.01 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 874 KB / ?? (1.30 MB/s)\n",
    "conda-forge/noarch [<=> ] (00m:00s) 676 KB / ?? (1.01 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.63 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 676 KB / ?? (1.01 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.63 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.30 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.63 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.30 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 1 MB / ?? (1.63 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.30 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.83 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.30 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.83 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.54 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.83 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.54 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.83 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.54 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.99 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 1 MB / ?? (1.54 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.99 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.69 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.99 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.69 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 2 MB / ?? (1.99 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.69 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (2.11 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.69 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (2.11 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.82 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (2.11 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.82 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (2.11 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.82 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (2.22 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 2 MB / ?? (1.82 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (2.22 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:00s) 3 MB / ?? (1.90 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:00s) 3 MB / ?? (2.22 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 3 MB / ?? (1.90 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 3 MB / ?? (2.22 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 3 MB / ?? (1.90 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 3 MB / ?? (1.90 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) 3 MB / ?? (1.95 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) Finalizing...\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/noarch [ <=> ] (00m:01s) Done\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/noarch [====================] (00m:01s) Done\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/noarch [====================] (00m:01s) Done\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.29 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.36 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 4 MB / ?? (2.36 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.42 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.42 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.46 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.46 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.51 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 5 MB / ?? (2.51 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 6 MB / ?? (2.55 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 6 MB / ?? (2.55 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:01s) 6 MB / ?? (2.57 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 6 MB / ?? (2.57 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.57 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.57 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.59 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 7 MB / ?? (2.59 MB/s)\n",
    "conda-forge/osx-64 [ <=> ] (00m:02s) 8 MB / ?? (2.61 MB/s)\n",
    "conda-forge/osx-64 [ <=>] (00m:02s) 8 MB / ?? (2.61 MB/s)\n",
    "conda-forge/osx-64 [ <=>] (00m:02s) 8 MB / ?? (2.62 MB/s)\n",
    "conda-forge/osx-64 [ <=] (00m:02s) 8 MB / ?? (2.62 MB/s)\n",
    "conda-forge/osx-64 [ <=] (00m:02s) 8 MB / ?? (2.63 MB/s)\n",
    "conda-forge/osx-64 [ <] (00m:02s) 8 MB / ?? (2.63 MB/s)\n",
    "conda-forge/osx-64 [ <] (00m:02s) 9 MB / ?? (2.65 MB/s)\n",
    "conda-forge/osx-64 [ <] (00m:02s) Finalizing...\n",
    "conda-forge/osx-64 [ <] (00m:03s) Done\n",
    "conda-forge/osx-64 [====================] (00m:03s) Done\n",
    "conda-forge/osx-64 [====================] (00m:03s) Done\n",
    "\n",
    "Looking for: ['numpy=1.14.0']\n",
    "\n",
    "Transaction\n",
    "\n",
    " Prefix: /tmp/test8\n",
    "\n",
    " Updating specs:\n",
    "\n",
    " - numpy==1.14.0\n",
    "\n",
    "\n",
    " Package Version Build Channel Size\n",
    "─────────────────────────────────────────────────────────────────────────────────────\n",
    " Install:\n",
    "─────────────────────────────────────────────────────────────────────────────────────\n",
    "\n",
    "\u001b[32m blas \u001b[00m 1.1 openblas conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m ca-certificates\u001b[00m 2020.6.20 hecda079_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m certifi \u001b[00m 2020.6.20 py36h9f0ad1d_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m libcxx \u001b[00m 10.0.1 h5f48129_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m libffi \u001b[00m 3.2.1 h4a8c4bd_1007 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m libgfortran \u001b[00m 3.0.1 0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m ncurses \u001b[00m 6.2 hb1e8313_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m numpy \u001b[00m 1.14.0 py36_blas_openblas_200 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m openblas \u001b[00m 0.2.20 8 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m openssl \u001b[00m 1.1.1g h0b31af3_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m pip \u001b[00m 20.2 py_0 conda-forge/noarch\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m python \u001b[00m 3.6.11 hc38f9c5_1_cpython conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m python_abi \u001b[00m 3.6 1_cp36m conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m readline \u001b[00m 8.0 h0678c8f_2 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m setuptools \u001b[00m 49.2.0 py36h9f0ad1d_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m sqlite \u001b[00m 3.32.3 h93121df_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m tk \u001b[00m 8.6.10 hbbe82c9_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m wheel \u001b[00m 0.34.2 py36_0 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m xz \u001b[00m 5.2.5 h0b31af3_1 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\u001b[32m zlib \u001b[00m 1.2.11 h01d97ff_1006 conda-forge/osx-64\u001b[32m Cached\u001b[00m\n",
    "\n",
    " Summary:\n",
    "\n",
    " Install: 20 packages\n",
    "\n",
    " Total download: 0 B\n",
    "\n",
    "─────────────────────────────────────────────────────────────────────────────────────\n",
    "\n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "#\n",
    "# To activate this environment, use\n",
    "#\n",
    "# $ conda activate /tmp/test8\n",
    "#\n",
    "# To deactivate an active environment, use\n",
    "#\n",
    "# $ conda deactivate\n",
    "\n",
    "time: 16.1 s\n"
    ]
    }
    ],
    "source": [
    "!mamba create -p /tmp/test8 numpy=1.14.0 -y"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": 24,
    "metadata": {},
    "outputs": [
    {
    "name": "stdout",
    "output_type": "stream",
    "text": [
    "\n",
    " __ __ __ __\n",
    " / \\ / \\ / \\ / \\\n",
    " / \\/ \\/ \\/ \\\n",
    "███████████████/ /██/ /██/ /██/ /████████████████████████\n",
    " / / \\ / \\ / \\ / \\ \\____\n",
    " / / \\_/ \\_/ \\_/ \\ o \\__,\n",
    " / _/ \\_____/ `\n",
    " |/\n",
    " ███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗\n",
    " ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗\n",
    " ██╔████╔██║███████║██╔████╔██║██████╔╝███████║\n",
    " ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║\n",
    " ██║ ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║\n",
    " ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝\n",
    "\n",
    " mamba (0.4.3) supported by @QuantStack\n",
    "\n",
    " GitHub: https://github.com/QuantStack/mamba\n",
    " Twitter: https://twitter.com/QuantStack\n",
    "\n",
    "█████████████████████████████████████████████████████████████\n",
    "\n",
    "Preparing transaction: done\n",
    "Verifying transaction: done\n",
    "Executing transaction: done\n",
    "time: 5.21 s\n"
    ]
    }
    ],
    "source": [
    "!mamba create -p /tmp/test9 --file conda-osx-64.lock"
    ]
    },
    {
    "cell_type": "code",
    "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": []
    }
    ],
    "metadata": {
    "kernelspec": {
    "display_name": "Python 3",
    "language": "python",
    "name": "python3"
    },
    "language_info": {
    "codemirror_mode": {
    "name": "ipython",
    "version": 3
    },
    "file_extension": ".py",
    "mimetype": "text/x-python",
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
    "version": "3.8.5"
    }
    },
    "nbformat": 4,
    "nbformat_minor": 4
    }