总结自己Python环境配置过程和碰到的问题

总结自己Python环境配置过程和碰到的问题

WIN10系统

1.安装anaconda
[anaconda官网]
(https://www.anaconda.com/download/#windows)

这里写图片描述

这里写图片描述

  • How do I get Anaconda with Python 3.5?
    There are three ways to get Anaconda with Python 3.5:

We recommend that you download the latest version of Anaconda and then make a Python 3.5 environment.
Or download the latest version of Anaconda and run this command to install Python 3.5 in the root environment: conda install python=3.5
Or download the most recent Anaconda that included Python 3.5 by default, Anaconda 4.2.0. You can download it from our archive. Scroll down the page until you find version 4.2.0 for your platform.

2.使用Powershell

  • 开始菜单中找到Windows PowerShell,然后从右击菜单中选择以管理员身份运行。
    这里写图片描述

  • 检查python安装是否成功,查看已安装的库
    python
    这里写图片描述
    pip list#或者
    conda list
    这里写图片描述

3.添加清华源

Anaconda 是一个用于科学计算的 Python 发行版,支持 Linux, Mac, Windows, 包含了众多流行的科学计算、数据分析的 Python 包。

Anaconda 安装包可以到 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 下载。

TUNA 还提供了 Anaconda 仓库的镜像,运行以下命令:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
这里写图片描述

4.安装其他库(ggplot)
ggplot信息

Installation
pip install -U ggplot#
or
conda install -c conda-forge ggplot#
or
pip install git+https://github.com/yhat/ggplot.git
我只有使用第一种语法安装成功了

这里写图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值