Installation and Setup
Open Anaconda Prompt and follow these steps to get your system ready for data science. We will create a new environment on Anaconda in which we will install all the required libraries and run our code:
- To create a new environment and install all the libraries, download the environment file from https://github.com/TrainingByPackt/Data-Science-with-Python/blob/master/environment.yml and run the following command:
conda env create -f environment.yml
- To activate the environment, run this command:
conda activate DataScience
For this book, whenever you are asked to open a terminal, you need to open Anaconda Prompt, activate the environment, and then proceed.
- Jupyter Notebook allows us to run code and experiment in code blocks. To start Jupyter Notebook run the following inside the DataScience environment:
jupyter notebook
A new browser window will open with the Jupyter interface. You can then navigate to the project location and run the Jupyter Notebooks.