First, create a new and empty pipenv. If there is no Pipfile, the following command will create an empty one:
pipenv install
brew install zsh-completions | |
autoload -Uz compinit | |
compinit | |
autoload bashcompinit && bashcompinit | |
source /usr/local/share/zsh/site-functions/_aws |
#!/bin/sh | |
source deactivate | |
export CONDA_CUSTOM_ENV_URL="$1" | |
export CONDA_CUSTOM_ENV_PARENT_DIR="/home/ec2-user/SageMaker" | |
export CONDA_CUSTOM_ENV_DIR="$CONDA_CUSTOM_ENV_PARENT_DIR/custom_env" | |
cd $CONDA_CUSTOM_ENV_PARENT_DIR |
name: custom_env | |
dependencies: | |
- python=3.6 | |
- anaconda | |
- boto3 | |
- pip | |
- pip: | |
- tensorflow>=2.1.0 | |
- ipykernel |
''' | |
**Author**: | |
Mohamed Kari <contact@mkari.de> | |
**Describtion** | |
Clone private github repos effortlessly into your Notebook Cloud VM with a two-liner. | |
**Usage** | |
Alternative 1 (recommended): |
tested on MacOS
Ensure anaconda is in your path env variable, e.g. /usr/local/anaconda3/bin
after default-installing with brew.
Create the env and install dependencies.
conda create -p ./conda-env python=3.7
conda install -p ./conda-env/ anaconda