File size: 389 Bytes
5abb6bc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# Define the path to the virtual environment
VENV_DIR="path/to/venv"

# Create the virtual environment
python3 -m venv $VENV_DIR

# Activate the virtual environment
source $VENV_DIR/bin/activate

# Install required packages
pip3 install -r requirements.txt

# Message to confirm installation completion
echo "Python environment setup is complete, and packages are installed."