问题出现在pyhon 3.8.3安装模块的场景下pip install XXX,出现以下错误: error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://vis ...
分类:
编程语言 时间:
2020-06-22 13:19:48
阅读次数:
69
在一个项目中,需要把离线的gdb数据原封不动导入到sde中,出现一个奇怪现象,同为WGS1984坐标系的要素类,在入库时提示点数过少的异常错误,找到对应的数据记录后,发现图形确实很小,怀疑本地要素类的空间分辨率和Sde中要素类的空间分辨率不一致,直接导致面要素不能闭合。经过几次尝试,入库前做以下处理 ...
分类:
数据库 时间:
2020-06-22 10:43:32
阅读次数:
120
把起始URL放到redis中去 from scrapy_redis.spiders import RedisSpider # 继承RedisSpider class ChoutiSpider(RedisSpider): name = 'chouti' allowed_domains = ['chou ...
分类:
Web程序 时间:
2020-06-21 19:29:47
阅读次数:
60
./createuser --interactive iomsx;Shall the new role be a superuser? (y/n) nShall the new role be allowed to create databases? (y/n) nShall the new rol ...
分类:
其他好文 时间:
2020-06-21 17:42:25
阅读次数:
78
has been blocked by CORS policy: Request header field x-csrf-token is not allowed by Access-Control-Allow-Headers in preflight response. 因为main.js有“se ...
分类:
其他好文 时间:
2020-06-20 13:56:53
阅读次数:
45
1.可以通过settings/dev.py的ALLOWED_HOSTS,设置允许访问 # 设置哪些客户端可以通过地址访问到后端 ALLOWED_HOSTS = [ 'api.luffycity.cn', ] 2.安装跨域模块(一下代码修改都是在settings.dev下进行的) pip instal ...
分类:
编程语言 时间:
2020-06-20 11:36:32
阅读次数:
76
先说说这个错误,其实就是我们的MySQL不允许远程登录,所以远程登录失败了,解决方法如下: 在装有MySQL的机器上登录MySQL mysql -u root -p密码 执行use mysql; 执行update user set host = '%' where user = 'root'; 执行 ...
分类:
数据库 时间:
2020-06-20 10:58:46
阅读次数:
58
新安装Ubuntu20服务版, 安装mysql8 后 使用以下语句更改密码 update mysql.user set authentication_string='password' where user='root'; 出现show databases,不能使用。 最后无法只能重新安装mysql ...
分类:
数据库 时间:
2020-06-19 23:19:41
阅读次数:
205
密码规则:八位以及八位以上, 必须是数字,大小写字母,或者特殊字符四选三。 HTML代码: <div class="form-group"> <label class="col-sm-4 control-label is-required">登录密码:</label> <div class="col ...
分类:
其他好文 时间:
2020-06-19 20:43:49
阅读次数:
89
代码: #coding=utf-8 import requests import json url='http://127.0.0.1:4444/wd/hub/session' data = json.dump({ 'Capabilities':{ 'browserName':'Edge' } }) ...
分类:
其他好文 时间:
2020-06-18 01:24:39
阅读次数:
225