绑定端口/接口的问题

时间:2021-05-07 15:28:49

标签: python python-3.x macos-big-sur

在重新安装用于托管基于 Web 的实验 (psiturk) 并在 python 上运行的包后,我遇到了将端口绑定到接口的问题,这导致服务器被阻止。我试过使用不同的端口,它们都立即被阻止。尝试启动服务器时,它给了我以下警告(没有其他错误消息或服务器日志):

Now serving on http://localhost:22363 /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used return io.open(fd, *args, **kwargs)

这可能与 mac 安全问题有关吗?还是安装出了问题(我在多个 python 版本上遇到了一些问题)?

更多信息:最近更新到 bigsur,在 python 3.8 上运行的 psiturk

0 个答案:

没有答案