大数据实验三
Python and anaconda
实验三数据预处理和轨迹聚类参考地址:
https://www.hifleet.com/wp/communities/data/hangyundashujujishukechengshiyanzhinanshujuyuchulijiguijijuleichixugengxinzhong#post-2212
https://www.hifleet.com/wp/communities/data/hangyundashujujishukechengshiyanzhinanshujuyuchulijiguijijuleichixugengxinzhong#post-2025
相关anaconda以及python环境配置
https://blog.csdn.net/hold_time/article/details/144631254?spm=1001.2014.3001.5501
1.Python环境配置
1.1下载anaconda,Pycharm
1.2Pycharm虚拟环境创建
到这里anaconda环境已经创建好了,并且能够在终端环境下进行conda。可以看到的是已经pycharm终端已经为anaconda环境了,python解释器也是默认到该虚拟环境下的python.exe解释器
1.3 conda基本操作
1.3.1 信息查看
conda info -e
1.3.2 下载源修改为清华源
修改镜像源为下图所示,不然下载速度很慢:
这个可以查看conda的镜像源
conda config --show channels
给conda添加国内镜像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/condaconda config --add channels forge/</