![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
Poulfei
这个作者很懒,什么都没留下…
展开
-
python3环境下web.py的安装
1、pip install web.py==0.40-dev01遇到的问题:UserWarning: Normalizing '0.40-dev1' to '0.40.dev1'解决问题:以管理员的权限运行命令行,然后执行pip install web.py==0.40-dev01即可2、Python3.7执行web.py测试时出現RuntimeError: generator rai...原创 2019-05-25 22:55:48 · 2364 阅读 · 0 评论 -
python3 web.py模块中使用template render出错 'gbk'编解码器无法解码位置257中的字节0x9a:非法多字节序列
'gbk'编解码器无法解码位置257中的字节0x9a:非法多字节序列工具:vscode根据提示找到python3安装目录下的libs/site-pageages/web文件夹下template.py文件找到1016行修改如下:return Template(open(path).read(), filename=path, **self._keywords)修改为return ...原创 2019-05-27 16:02:08 · 5145 阅读 · 0 评论