Use 'conda create' to convert the directory to a conda environment. code example
Example 1: conda env
conda create -n myenv python=3.6
Example 2: conda create environment from file
conda env create -f environment.yml
conda create -n myenv python=3.6
conda env create -f environment.yml