cxm19881208 2013-05-08 09:56 采纳率: 0%
浏览 6087

goagent安装时候报错,phyton

我得是mac系统,我下载的goagent是最新版本的
执行命令
python proxy.py时候报错:

------------------------------------------------------
GoAgent Version    : 2.1.17 (python/2.7.2 gevent/1.0rc2 pyopenssl/0.13)
Listen Address     : 127.0.0.1:8087
GAE Mode           : https
GAE Profile        : google_cn
GAE APPID          : hero1988120809|hero1988120805|hero1988120804|hero1988120810|hero1988120808|hero19881208|hero1988120803|hero1988120806|hero1988120807|hero1988120802
Pac Server         : http://127.0.0.1:8086/proxy.pac
Pac File           : file:///Users/changxm/Desktop/goagent-goagent-496b57e/local/proxy.pac
------------------------------------------------------
Traceback (most recent call last):
  File "proxy.py", line 2364, in <module>
    main()
  File "proxy.py", line 2360, in main
    server.serve_forever()
  File "build/bdist.macosx-10.8-intel/egg/gevent/baseserver.py", line 282, in serve_forever
  File "build/bdist.macosx-10.8-intel/egg/gevent/baseserver.py", line 234, in start
  File "build/bdist.macosx-10.8-intel/egg/gevent/server.py", line 78, in init_socket
  File "build/bdist.macosx-10.8-intel/egg/gevent/server.py", line 89, in get_listener
  File "build/bdist.macosx-10.8-intel/egg/gevent/server.py", line 153, in _tcp_listener
  File "<string>", line 1, in bind
socket.error: [Errno 48] Address already in use: ('127.0.0.1', 8087)
Exception KeyError: KeyError(4449523184,) in <module 'threading' from '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.pyc'> ignored

请问这是什么错误,那些行号什么的...怎么修改啊
谢谢

  • 写回答

1条回答 默认 最新

  • franzhong 2013-05-08 10:13
    关注

    看样子你的8087被占用了

    将端口的进程kill掉
    http://bbs.pcbeta.com/viewthread-1045235-1-1.html

    评论

报告相同问题?

悬赏问题

  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘