-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataScienceTools_Debian.sh
executable file
·51 lines (43 loc) · 1.03 KB
/
DataScienceTools_Debian.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
# Update and upgrade package list
echo "====================================="
echo " Data Science Tool For Debian OS"
echo "====================================="
sudo apt update && sudo apt upgrade -y
# Install required system packages
sudo apt install -y python3-pip python3-gi python3-sphinx micropython
# Install virtual environment package (in case it's not already installed)
sudo apt install -y python3-venv
# Create a virtual environment
python3 -m venv myenv
# Activate the virtual environment
source myenv/bin/activate
#Install statsmodel
python -m pip install statsmodels
# Install Python packages in the virtual environment
pip install \
gekko \
beautifulsoup4 \
lxml \
keras \
matplotlib \
numpy \
opencv-python \
pandas \
pandas-profiling[notebook] \
plotly \
torch \
scikit-learn \
scipy \
seaborn \
statsmodels \
tclab \
tensorflow \
xgboost \
notebook \
ipython \
tox
# List all installed packages and their versions
pip list
# Deactivate the virtual environment
deactivate