pip升级
摘要:第一步: 先删除pip,命令: python -m pip uninstall pip 第二步: python -m ensurepip 第三步: python -m pip install --upgrade pip -i https://pypi.douban.com/simple 一定要加上镜
阅读全文
posted @
2022-11-18 15:59
flash610
阅读(94)
推荐(0) 编辑
两个国内的镜像
摘要:https://pypi.tuna.tsinghua.edu.cn/simplehttps://pypi.douban.com/simple
阅读全文
posted @
2022-11-18 15:57
flash610
阅读(10)
推荐(0) 编辑
python生成EXE可执行文件的方法
摘要:1,安装pyinstaller pip install pyinstaller 速度较慢,切换清华源 pip install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple/ 2,cmd切换到Python源文件的目录下执行 pyinst
阅读全文
posted @
2022-05-20 11:42
flash610
阅读(1434)
推荐(0) 编辑
Python 猜数例程
摘要:1 #!/usr/bin/env python 2 #coding:utf-8 3 #猜数例程 4 import random 5 6 number = random.randint(1,101) 7 8 guess = 0 9 print("number = ",number) 10 while
阅读全文
posted @
2022-04-26 15:20
flash610
阅读(18)
推荐(0) 编辑
kepserver UA Server 侦听客户端连接时发生套接字错误 error:10013
摘要:恢复内容开始 kepserver 作为opc服务器时报错 日期 时间 级别 源 事件2022-03-11 09:52:43 错误 UA Server 侦听客户端连接时发生套接字错误。| 端点 URL = 'opc.tcp://127.0.0.1:49320',错误 = 10013,详细信息 = '以
阅读全文
posted @
2022-03-11 11:06
flash610
阅读(3004)
推荐(0) 编辑