Giter Club home page Giter Club logo

Comments (7)

jolyi-max avatar jolyi-max commented on August 11, 2024 1

我也遇到了这个问题 web.py框架不支持python 3.7需要把python版本更换为3.6 这个问题就解决了

from darknet-ocr.

ahghygy avatar ahghygy commented on August 11, 2024

Screenshot from 2020-01-14 19-05-34

from darknet-ocr.

deeroad avatar deeroad commented on August 11, 2024

把web.py卸载掉,重新安装。
我之前也遇到过,是版本问题。

from darknet-ocr.

ahghygy avatar ahghygy commented on August 11, 2024

我一斤多次卸载重装了,还是不行啊。你有什么好的安装方法吗?

$ pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple web.py --user
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing /home/ubuntu/.cache/pip/wheels/66/56/41/0afd04dbdf7cc978f28f69f7c33b488b2c62ef14980345bc38/web.py-0.40-cp35-none-any.whl
Requirement already satisfied: cheroot in /home/ubuntu/.local/lib/python3.5/site-packages (from web.py) (8.2.1)
Requirement already satisfied: markdown in /usr/local/lib/python3.5/dist-packages (from web.py) (3.1.1)
Requirement already satisfied: jaraco.functools in /home/ubuntu/.local/lib/python3.5/site-packages (from cheroot->web.py) (2.0)
Requirement already satisfied: more-itertools>=2.6 in /home/ubuntu/.local/lib/python3.5/site-packages (from cheroot->web.py) (8.1.0)
Requirement already satisfied: six>=1.11.0 in /home/ubuntu/.local/lib/python3.5/site-packages (from cheroot->web.py) (1.13.0)
Requirement already satisfied: setuptools>=36 in /usr/local/lib/python3.5/dist-packages (from markdown->web.py) (41.2.0)
Installing collected packages: web.py
Successfully installed web.py-0.40

from darknet-ocr.

sxjpage avatar sxjpage commented on August 11, 2024

字符串编码问题

from darknet-ocr.

wenlihaoyu avatar wenlihaoyu commented on August 11, 2024

python=3.6,python3.5 json.loads是字符串不是字节,要先转码

from darknet-ocr.

ahghygy avatar ahghygy commented on August 11, 2024

多谢大神,我升级到Python3.6 试一下

from darknet-ocr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.