Create Virtual Environment for all Package
Create virtual environment for all experiment packages.
Create a Virtual Environment with all Experiment Packages
When you run an experiment, we keep track of all the packages used. If you need to rerun the experiment, you can easily recreate the environment with all those packages already installed using the MarkovML CLI.
Create Virtual Environment using virtualenv
virtualenv
To create a virtual environment using virtualenv
, make sure virtualenv
is installed on your system. If not, you can follow instructions here.
Install virtualenv
environment in current directory
Note
virtualenv
will be created with name<experiment_id>_venv
by default.
mkv experiment virtualenv -e <experiment_id>
Install virtualenv
environment at a specified path
mkv experiment virtualenv -e <experiment_id> -p <path>
Create Virtual Environment using Conda
To create a conda environment, make sure conda
is installed in your system. If not, you can follow the instructions from the Environment Setup page.
Install conda
environment in current directory
Note
conda
environment will be created with name<experiment_id>_conda_env
by default.
mkv experiment conda-env -e <experiment_id>
Install conda
environment at a specified path
mkv experiment conda-env -e <experiment_id> -p <path>
Updated about 2 months ago