MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

源码安装不能调试

Open liujun3660105 opened this issue 1 year ago • 1 comments

Bug description git clone 克隆源码后,执行pip install -e .进行源码安装。之后执行python examples/build_customized_agent.py,可以正常运行,但是当在源码中进行print或者logger.info 时,再次运行,并不会执行打印。感觉都没有走进源码里。 但是通过pip list查看,metaGPT的包确实是链接到我自己的代码仓库里 image

Bug solved method

Environment information

  • LLM type and model name:
  • System version:mac OS
  • Python version:3.11.7
  • packages version:0.6.0
  • installation method: pip install -e .

Screenshots or logs

liujun3660105 avatar Jan 30 '24 09:01 liujun3660105

使用Debug模式运行build_customized_agent.py,看一下新增的 print或者logger.info 代码有没有执行。

voidking avatar Feb 05 '24 09:02 voidking

pip uninstall metagpt && pip install -e . 或许可以修复这个问题。但一般而言,这个问题是由于多个库同时存在带来的

geekan avatar Mar 21 '24 06:03 geekan