

Step 4: Once your environment is activate, run pip install -r requirements.txt which will install the required packages into your environment. This document should be on the folder/directory that has the project you are working on. Here is an example of what it looks like. To install the required packages from the terminal, create a document called “requirements.txt” that has all the packages you will need to install. OR…you can also use the instructions below to install package in your anaconda environment. You can also install the packages for the project from anaconda navigator using STEP 5 FROM ABOVE.
#COPY LOG FROM ANACONDA PROMPT HOW TO#
Step 3: To activate anaconda environment, type in source activate Environment-name on Terminal or conda activate Environment-name on Anaconda Prompt How to install packages in anaconda environment (2 ways)Īfter activating your conda environment, you may want to install the packages for the project from the terminal. You will need to ‘activate’ the conda environment to add packages. Next step is to add the required python packages. Once the command completes, your conda environment should be ready Step 2: Run conda create -n Environment-name python=3.7 Step 1: Navigate to the folder that contains the project you are working on using anaconda prompt on windows or terminal on mac


If you are looking to create an anaconda environment for a specific project using your command line, then follow these instructions. How to create anaconda environment from (anaconda prompt in windows, terminal on mac) and make it available in Jupyter lab.
