Python学习
2024-04-26
flask web服务与命令行同时存在
在使用flask作为web服务时,即想使用web服务又要使用命令行,代码如下:
Python 214
2024-04-21
pip install dotenv error: invalid command 'dist_info'
python环境需要加载.env到系统环境中,但是需要安装dotenv扩展。
Python 161
2024-04-21
ollama测试使用llama3 70b模型
llama3发布,有多参数个版本,我下载70B版本测试下,下面是过程
AI 306
2024-04-18
flask 创建web服务
pythonflask创建web服务通过pipinstallflask然后下面是基础的web代码
Python 247
2024-04-18
vscode 创建python模版
在使用visualstudiocode时,编写基python代码,础的代码可以直接通过python模版快速写出,下面就是vscode创建python模版
经验与学习 131
2024-04-17
python load .env
python等代码通过.env配置文件,常见的有通过扩展方法直接load还有就是自定义函数形式,下面直接说下两种
Python 135
2024-04-03
Your system has an unsupported version of sqlite3. Chroma requires sq
ubuntu在安装AIGPTRAG文档代码过程中出现了,下面的错误Yoursystemhasanunsupportedversionofsqlite3.Chromarequiressqlite3&gt
Python 142
2024-04-02
ImportError: cannot import name 'Mapping' from 'collections'
在调用python3.10flask应用扩展时,遇到了ImportError:cannotimportname'Mapping'from'collections'Att
Python 119
2024-04-02
uvicorn 多线程运行python Fastapi
uvicorn启动Python应用程序的命令,可以启动多线程命令,可以是Flask或者FastAPI程序
Python 301
2024-03-24
conda 常用命令
annaconda多软件版本扩展管理软件,比如python,node等
Python 115
2024-03-22
python 函数正则获取tag 内容
python通过正则获取tag内容,直接看下面函数
Python 200
2024-03-15
python代码获取扩展版本
在写代码过程中遇到了python版本升级后接口不一致的情况,需要通过版本判断版本去适配请求的参数。
Python 259
2024-03-14
pip install慢
在使用pythonpip安装扩展时很慢,由于源是国外的,所以很慢,下面我们说下解决方法:
Python 240
2024-03-13
RuntimeError: Your system has an unsupported version of sqlite3. Chrom
RuntimeError:Yoursystemhasanunsupportedversionofsqlite3.Chromarequiressqlite3>=3.35.0.
Python 136
2024-03-12
[unixODBC][Driver Manager]Can't open lib 'ODBC Driver 1X for SQL Serv
mac,linux,ubuntu,连接,mssqlserver,数据库,微软,驱动
数据库 133