2024-06-01
python redis 连接池
python通过创建连接池,实现高效的redis操作
Python 4
2024-06-01
python 的进程池和线程池
python线程池,进程池案例代码
Python 5
2024-06-01
python async await
学习理解下,python中的协程异步操作,它时通过asyncawait实现。
Python 5
2024-05-29
免费ssl证书自动续费
这里学习一下免费ssl证书以及自动续费,原因是:很多免费的证书都变成3个月了,不能自动续期,包括阿里云,腾讯云等。
经验与学习 6
2024-05-28
FastApi debug reload模式
在使用python框架FastApi时,如何开启debug模式呢,下面介绍下FastApidebug模式在使用flaskapi时,可以轻松的配置debug模式,但在FastApi需要配置下。
Python 6
2024-05-26
ipad 设置ssh远程
怎么使用ipadssh远程主机命令,作为一个运维,将ipad当电脑使用,下面对ipad设置ssh配置进行详解。
经验与学习 5
2024-05-24
python flask 多进程
flaskweb服务启动web多线程服务,怎么操作,本文逐步介绍如何通过gunicorn启动flaskweb多线程服务。
Python 4
2024-04-27
llama3 运行需要多少内存
llama3理论上能够媲美openaiGPT4的水平,那它需要多少内存,什么硬件条件呢
AI 6
2024-04-26
module 'collections' has no attribute 'Hashable'
module'collections'hasnoattribute'Hashable'
Python 5
2024-04-26
flask web服务与命令行同时存在
在使用flask作为web服务时,即想使用web服务又要使用命令行,代码如下:
Python 4
2024-04-21
pip install dotenv error: invalid command 'dist_info'
python环境需要加载.env到系统环境中,但是需要安装dotenv扩展。
Python 4
2024-04-21
mac创建虚拟ubuntu系统环境
mac系统环境下想创建ubuntu系统,一般通过vitalbox,VMware等创建虚拟机。windows下可以安装wslubuntu子系统使用。
Linux 6
2024-04-21
ollama 适配openai 接口
ollama适配openaiautogen接口,只有chat接口,没有functioncall等其他接口
AI 5
2024-04-21
ollama测试使用llama3 70b模型
llama3发布,有多参数个版本,我下载70B版本测试下,下面是过程
AI 5
2024-04-21
ollama An attempt was made to access a socket in a way forbidden by it
在本地启动ollama时出现了下面的错误,Error:listentcp127.0.0.1:11434:bind:Anattemptwasmadetoaccessasocketinawayforbid
AI 7