“第二课堂“AI实践笔记1

Python环境搭建

1.Minconda安装

   搜索minconda选择清华大学anaconda镜像站

   windows选择Minconda3-latest-windows-x86_64.exe下载,按照引导安装

   务必勾选“Add Miniconda3 to my PATH environment variable”

   创建环境

       conda create-n test python=3.10

        Q:Fetching package metadata: SSL verification error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
.SSL verification error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
.SSL verification error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
.SSL verification error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

        A:C:\Users\lenovo(用户名)\.condarc 中 https 都改成 http

   进入环境

      conda activate test

  退出环境

      conda deactivate

2.VSCode安装

         在官网中选择(windows x64)安装包下载,运行后按照引导安装

         安装成功后在左侧拓展搜索Chinese语言包和python拓展

3.Jupyter notebook使用

        在文件资源管理器中搜索cmd

        安装juopyter notebook

        pip install jupyter

        Q:ERROR: Could not find a version that satisfies the requirement jupter (from versions: none)
ERROR: No matching distribution found for jupter

        A:pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple(换源解决,网络不好导致)

        打开jupyter notebook

        jupyter notebook

Python 知识

搜索菜鸟教程python  Python 基础教程 | 菜鸟教程 (runoob.com)
​​​​​​​

  • 4
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值