我的OVH vps服务器kubuntu 14.04桌面上安装python有问题.我需要做什么 ?
:~/Desktop# python get-pip.py
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pip
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement pip (from versions: )
No matching distribution found for pip
Run Code Online (Sandbox Code Playgroud) 如何使用反对更新数据库中的值?我的 SQL 查询完美无缺。
UPDATE "freePlace"
SET number = number-1
WHERE date >= '2017-10-20' AND date <= '2017-10-30' AND "idObject" = '1'
Run Code Online (Sandbox Code Playgroud)
我的反对代码:
FreePlace.query().patch({number:number+1}).where('date', '>=', startDate)
.andWhere('date', '<=', endDate)
.andWhere('idParking', '=', parkingId)
Run Code Online (Sandbox Code Playgroud)
问题出在 patch({number:number+1}) 我需要怎么做?