Python学习
2024-04-02
ImportError: cannot import name 'Mapping' from 'collections'
在调用python3.10flask应用扩展时,遇到了ImportError:cannotimportname'Mapping'from'collections'Att
Python 2
2024-04-02
uvicorn 多线程运行python Fastapi
uvicorn启动Python应用程序的命令,可以启动多线程命令,可以是Flask或者FastAPI程序
Python 1
2024-03-24
conda 常用命令
annaconda多软件版本扩展管理软件,比如python,node等
Python 2
2024-03-22
python 函数正则获取tag 内容
python通过正则获取tag内容,直接看下面函数
Python 2
2024-03-15
python代码获取扩展版本
在写代码过程中遇到了python版本升级后接口不一致的情况,需要通过版本判断版本去适配请求的参数。
Python 2
2024-03-14
pip install慢
在使用pythonpip安装扩展时很慢,由于源是国外的,所以很慢,下面我们说下解决方法:
Python 2
2024-03-13
RuntimeError: Your system has an unsupported version of sqlite3. Chrom
RuntimeError:Yoursystemhasanunsupportedversionofsqlite3.Chromarequiressqlite3>=3.35.0.
Python 2
2024-03-12
[unixODBC][Driver Manager]Can't open lib 'ODBC Driver 1X for SQL Serv
mac,linux,ubuntu,连接,mssqlserver,数据库,微软,驱动
数据库 2
2024-03-12
mac python 连接ms sql server
在windowpython,连接mssqlserver2008很容易,在macos下,经过了几次努力才成功,把过程记录下来
Python 2
2024-03-04
ModuleNotFoundError: No module named 'readline'
ModuleNotFoundError:Nomodulenamed'readline'
Python 2
2024-03-04
ModuleNotFoundError: No module named '_ctypes'
ModuleNotFoundError:Nomodulenamed'_ctypes'
Python 2
2024-03-04
ubuntu多版本python环境/虚拟环境共存
ubunt多版本python并存,虚拟环境并存,可以分为3个部分,我们逐步说一说ubuntupython多版本/虚拟环境并存
Linux 2
2024-02-26
Azure openai.error.InvalidRequestError: The completion operation does
在使用MicrosoftAzureopenai服务时通过python,通过Api接口进行openai的请求接口文档https://learn.microsoft.com/zh-cn/azure/ai-
Python 2
2024-02-22
GPT post Eventstream 数据流代码实现
随着AI发展出现了OpenAIGPT和百度文言一心等AI服务,通过查看对话发现是通过Post提交数据,通过Eventstream数据流接受数据。下面我们通过实际代码实现了GPT文言一心postEven
Python 2
2024-02-07
windows绿色版python 安装扩展
windows绿色版安装python,并按照扩展
Python 2