python3使用web.py遇到的找不属性的错误解决
2018-06-13 10:08
651 查看
今天用pyhon安装完web.py的时候,点击运行还是没错的,但是在网页输入链接就会报错。
1.安装我是这样的:
pip install web.py
2.运行后错误信息是这样:
AttributeError: module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'
大概原因就是说模块six.moves.urllib_parse,没有unquote_to_bytes属性,然后最后的网上查找说是pytho2可以用,
但是我不能安装个python2,于是继续查找最后找到了一个解决方法,用另一种安装方式重新安装web.py
第一步卸载原理的web.py
pip uninstall web.py
第二步安装
pip install web.py==0.40.dev0
再次运行完美解决。
相关文章推荐
- python3错误:使用python3执行.py文件遇到:*ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found
- caffe的python接口中的draw_net.py使用时,错误提示及解决办法
- 使用OSGI内嵌的jetty进行web开发时:遇到no suitable log constructor错误解决办法
- Python使用Selenium测试WebApp在定位元素和使用元素属性报的莫名其妙错误的终极解决方法
- python 使用peewee遇到sqlite 错误解决
- 使用webpack2和extract-text-webpack-plugin时遇到Chunk.entry was removed. Use hasRuntime()错误的解决方法
- 使用 uwsgi + web.py 遇到 “--no python application found, check your startup logs for errors--”
- python使用web.py开发httpserver,解决post请求跨域问题
- Python中web.py session使用,解决EOFError
- 使用webpack2和extract-text-webpack-plugin时遇到Chunk.entry was removed. Use hasRuntime()错误的解决方法
- ArcMap中使用Python遇到中文字段名错误的解决方法
- 解决Python使用pip安装时遇到的解码错误问题
- ArcMap中使用Python遇到中文字段名错误的解决方法
- https使用HttpWebRequest出现错误:System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.的解决方法
- Mysql使用mysqldump备份遇到Errcode: 13错误的解决办法
- 在python 2.7下面使用webpy框架
- SVN在windows上使用check-case-insensitive.py遇到的问题(Python2.5,svn1.5.4)
- 使用ProGuard遇到“conversion to Dalvik format failed with error 1”错误的解决办法
- python webpy 错误的原因 token Error: EOF in multi-line statement
- 关于在Webservice里使用LinqToSQL遇到一对多关系的父子表中子表需要ToList输出泛型而产生循环引用错误的解决办法!(转)