一、操作系统
使用运行在Windows11主机上的Ubuntu 22.04虚拟机,虚拟化平台为Oracle VM VirtualBox。
二、PyCharm安装
有关PyCharm的安装和快捷方式创建,可分别参考我的博客
 Ubuntu安装PyCharm、Ubuntu创建桌面快捷方式
 ,以及Ubuntu创建桌面快捷方式时出现的问题及解决方法
 。
三、环境搭建
命令(此处选择在PyCharm自带终端中执行):
 若无法打开终端,可以参考我的博客解决Ubuntu新装系统终端打不开。
cd ~/Desktop
mkdir repos
cd repos
mkdir python_data_science
cd python_data_science
python3 -m venv venv
source venv/bin/activate

四、依赖包安装
此处安装numpy, matplotlib, pandas, scikit-learn和jupyter notebook.
 命令:
pip install numpy==1.23.3
pip install matplotlib==3.6.1
pip install pandas==1.5.0
pip install scikit-learn==1.1.2
pip install jupyterlab==3.4.8
安装过程截图:
numpy:

matplotlib:

pandas:

scikit-learn:

jupyter notebook (jupyterLab):

五、参考文献
《Learn Enough Python to be Dangerous——Software Development, Flask Web Apps, and Beginning Data Science with Python》, Michael Hartl, Boston, Pearson, 2023.



![YOLOv9有效改进专栏汇总|未来更新卷积、主干、检测头注意力机制、特征融合方式等创新![2024/3/23]](https://img-blog.csdnimg.cn/direct/20236aaf9c25485ab0e5bae4d1c17512.png)





![[蓝桥杯 2022 省 A] 求和](https://img-blog.csdnimg.cn/direct/6802f778d4d041bc8870c6a901fccbbf.png)









