Code Monkey home page Code Monkey logo

Comments (7)

lazzyfu avatar lazzyfu commented on August 23, 2024

image
感觉像是python的虚拟环境没有生效,没有遇见过这个错误。按照wiki操作应该是没有问题的。使用supervisor管理启动试下

from goinsight.

lazzyfu avatar lazzyfu commented on August 23, 2024

或者检查下app的名称opsql,你是不是改成其他的了,导致找不到
一般是在/data/web/opsql/ 目录下执行/venv_py36/bin/celery worker -A opsql --loglevel=INFO --time-limit=7200 --concurrency=10 --uid=nginx 改成/venv_py36/bin/celery试下

from goinsight.

encodingl avatar encodingl commented on August 23, 2024

是的, python虚拟机改成"/root/.virtualenvs/auditsql了 ,相应的配置文件也修改了;app的名称是opsql;supervisor也是报同样的错误;我改回/venv_py36 再试试

from goinsight.

encodingl avatar encodingl commented on August 23, 2024

我把python虚拟机改成/venv_py36 就可以正常运行了,可以咨询一下这是哪里限制的么?

from goinsight.

lazzyfu avatar lazzyfu commented on August 23, 2024

应该没有,可能是哪个服务的配置文件写了(比如: uwsgi, nginx等),可以检查下,我记不太清楚了。代码不会写死

from goinsight.

chenyaqiao0505 avatar chenyaqiao0505 commented on August 23, 2024

请问下,问题解决了吗?我也遇到了相同的问题,估计出错地方相同。网上找遍了,就你这个帖子跟我问题一致。麻烦解答下,不胜感激。

from goinsight.

lazzyfu avatar lazzyfu commented on August 23, 2024

把python虚拟机改成/venv_py36 就可以正常运行了
看下上面的回复,请按照文档操作,谢谢

from goinsight.

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.