小编Pio*_*otr的帖子

pip install需要tls/ssl

我的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)

python linux pip vps

10
推荐指数
1
解决办法
1万
查看次数

反对js更新增量+1

如何使用反对更新数据库中的值?我的 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}) 我需要怎么做?

javascript orm node.js objection.js

4
推荐指数
1
解决办法
1514
查看次数

标签 统计

javascript ×1

linux ×1

node.js ×1

objection.js ×1

orm ×1

pip ×1

python ×1

vps ×1