Practice 05 Installing Python With Anaconda
Practice 05 Installing Python With Anaconda
Objective:
Students will learn to install Anaconda, create a virtual environment, and configure it with
Python 3.6 and Flask on Linux Ubuntu.
1. Download Anaconda:
o Open the terminal and run the following command to download the latest
Anaconda installer:
wget https://repo.anaconda.com/archive/Anaconda3-2023.11-Linux-x86_64.sh
2. Install Anaconda:
bash Anaconda3-2023.11-Linux-x86_64.sh
o Follow the prompts and accept the license terms. Confirm the installation
path (default is recommended).
3. Initialize Anaconda:
source ~/.bashrc
conda init
2. Verify Installation:
code app.py
app = Flask(__name__)
@app.route('/')
def home():
if __name__ == "__main__":
app.run(debug=True)
python app.py
Submission Requirements