Giter Site home page Giter Site logo

Comments (2)

cmyk343 avatar cmyk343 commented on August 12, 2024

重装opsdk就可以了,非bug

from codo-admin.

haiya512 avatar haiya512 commented on August 12, 2024

我的情况是这样的,服务器访问github大部分时候访问不了,得尝试很多次才行,看RP,
所以我就直接浏览器打包下载,然后上传到了服务器上,运行python setup.py install ,继续下去的时候就报错,然后手动删除site-packages 目录下的opssdk,再用官网文档的方式去安装,就没问题了

不过遇到了新的问题,codo-task报错了

2021-08-13 16:16 +08:00: SyntaxError: invalid syntax
2021-08-13 16:16 +08:00: Traceback (most recent call last):
2021-08-13 16:16 +08:00:   File "startup.py", line 13, in <module>
2021-08-13 16:16 +08:00:     from biz.applications import Application as TaskApp
2021-08-13 16:16 +08:00:   File "/opt/codo/codo-task/biz/applications.py", line 12, in <module>
2021-08-13 16:16 +08:00:     from biz.handlers.task_accept import accept_task_urls
2021-08-13 16:16 +08:00:   File "/opt/codo/codo-task/biz/handlers/task_accept.py", line 12, in <module>
2021-08-13 16:16 +08:00:     from websdk.mqhelper import MessageQueueBase
2021-08-13 16:16 +08:00:   File "/opt/venv/lib/python3.7/site-packages/websdk/mqhelper.py", line 9, in <module>
2021-08-13 16:16 +08:00:     import pika
2021-08-13 16:16 +08:00:   File "/opt/venv/lib/python3.7/site-packages/pika/__init__.py", line 20, in <module>
2021-08-13 16:16 +08:00:     from pika.adapters import BaseConnection
2021-08-13 16:16 +08:00:   File "/opt/venv/lib/python3.7/site-packages/pika/adapters/__init__.py", line 43, in <module>
2021-08-13 16:16 +08:00:     from pika.adapters.libev_connection import LibevConnection
2021-08-13 16:16 +08:00:   File "/opt/venv/lib/python3.7/site-packages/pika/adapters/libev_connection.py", line 106
2021-08-13 16:16 +08:00:     self.async = None
2021-08-13 16:16 +08:00:              ^
2021-08-13 16:16 +08:00: SyntaxError: invalid syntax

from codo-admin.

Related Issues (13)

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.