gpt4 book ai didi

python-2.7 - PythonAnywhere 如何启用线程

转载 作者:行者123 更新时间:2023-12-02 03:13:26 24 4
gpt4 key购买 nike

我总是得到这个:

you can enable thread by --enable-thread ...

谁能告诉我具体怎么做?谢谢。

2016-07-23 15:06:01 lock engine: pthread robust mutexes2016-07-23 15:06:01 thunder lock: disabled (you can enable it with --thunder-lock)2016-07-23 15:06:01 uwsgi socket 0 bound to UNIX address /var/sockets/hassanalvi.pythonanywhere.com/socket fd 72016-07-23 15:06:01 Python version: 2.7.6 (default, Jun 22 2015, 18:01:27)  [GCC 4.8.2]2016-07-23 15:06:01 *** Python threads support is disabled. You can enable it with --enable-threads ***2016-07-23 15:06:01 Python main interpreter initialized at 0x146b720*** Python threads support is disabled. You can enable it with --enable-threads ***

最佳答案

不幸的是 python anywhere 不支持线程是一个 web 服务器,check out this article.但是,如果您只想要 to run a task,则有一个修复方法.

关于python-2.7 - PythonAnywhere 如何启用线程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38512933/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com