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

Most upvoted comments

@RyanLoil maybe you can try main which removed langchain.

I have already done that. Just in case I submitted this issue.

@geekan Here is the requirements.txt given by pipreqs:

aiohttp==3.8.6 aioredis==2.0.1 chardet==5.2.0 dashscope==1.14.1 faiss_cpu==1.7.4 fire==0.4.0 gitignore_parser==0.1.9 GitPython==3.1.40 imap_tools==1.5.0 ipython==8.12.3 jieba==0.42.1 joblib==1.3.2 lancedb==0.4.0 libcst==1.0.1 loguru==0.6.0 meilisearch==0.21.0 multiprocess==0.70.16 networkx==3.2.1 numpy==1.24.3 playwright==1.42.0 psutil==5.9.8 python_docx==0.8.11 PyYAML==6.0.1 rank_bm25==0.2.2 regex==2023.12.25 scikit_learn==1.3.2 setuptools==58.1.0 setuptools==65.6.3 tenacity==8.2.3 tiktoken==0.6.0 tqdm==4.66.2 websocket_client==1.6.2 websockets==11.0.3

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.