MetaGPT: Minecraft Environment which is contained in the release version is not adapted by Windows
The Release version somehow put Minecraft (which is a independent branch, not in the main branch) in to it.
This “Minecraft Environment” has several packages which are only supported in Linux such as Langchain.
If you just use pip install metagpt in Windows, you will get error “No module named pwd” as the package pwd is Unix Specific Service
Try to use manual installation rather than pip. And please fix this thank you.
中文版本(Chinese Version):
发行版本中,不知怎么搞的把Minecraft那个Branch拿进来了。这个Branch里有一些Linux依赖,例如Langchain。直接pip install metagpt会报错"No module named pwd",建议手动安装。请作者修复这个问题,移除Minecraft环境,或者让Minecraft环境变得同时适配Windows和Linux。
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16
Commits related to this issue
- Fix issue #1132: Bug in _achat_completion_stream method — committed to xiaoxiaoimg/MetaGPT by deleted user 2 years ago
I have already done that. Just in case I submitted this issue.
@geekan Here is the requirements.txt given by pipreqs:
It removed over 30 packages from the mainbranch requirements.txt.
I am still testing these 33 packages. I believe some of them may still can be removed and also I will try as lower version as possible.