笔记:Python

官网:https://www.python.org

pip:https://pypi.org

downloads 下载 python 最新版安装程序  勾选 add path 勾选框  会自动添加环境变量

# Chromedrvier.exe 下载地址

http://chromedriver.storage.googleapis.com/index.html

# 参考CSDN 连接
https://blog.csdn.net/m0_54958293/article/details/134663146?ops_request_misc=&request_id=&biz_id=102&utm_term=122.0.6261.112%E8%B0%B7%E6%AD%8C%E6%B5%8F%E8%A7%88%E5%99%A8%E9%A9%B1%E5%8A%A8&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-0-134663146.142^v99^pc_search_result_base2&spm=1018.2226.3001.4187

# pip升级错误解决
https://www.cnblogs.com/brian-sun/p/14549474.html

# linux 解决 chromedriver 错误
https://blog.csdn.net/roadmore/article/details/84193004

# linux python3 安装
https://www.cnblogs.com/ilovepython/p/11068845.html

#赋予可执行权限
chmod +x /usr/bin/chromedriver

python python.py 运行

pip install 安装所需环境


IDEA 开发 Python
File->Settings->Plugins 搜索 安装 Python 插件
File->New->Project 选择 Python

# centos 安装可视化页面
https://jingyan.baidu.com/article/59a015e379635ef794886507.html

# pip配置镜像加速
https://www.136.la/tech/show-921726.html

# requests timeout 超时异常捕获
https://blog.csdn.net/weixin_43579528/article/details/87804748

windows  cmd 单次配置格式

# -*- coding: utf-8 -*-

#encoding: utf-8

CHCP 65001


#linux 格式
https://blog.csdn.net/zenglinshan/article/details/72974290

谷歌浏览器错误解决:https://blog.csdn.net/su_2018/article/details/100127223

# Ubuntu 上安装 pip

# 确保安装 python2
python2 --version

# 安装 pip
sudo apt install python-pip

# 查看版本
pip --version

云效关联服务器  备注

# 如运行失败则修改成该 install 语句   zlib-devel 这点
yum install -y zlib-devel openssl-devel  bzip2-devel

# 如安装失败  则下载2.7.18   2.7最新版本即可
https://help.aliyun.com/document_detail/67349.htm?spm=a2c4g.11186623.0.0.2dba5842LQvFEX

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值