作者我遇到这个错误我需要怎么解决,当我更新到3.5.0.post1的时候会出现ModuleNotFoundError: No module named 'google.generativeai' 但是当我下载google.generativeai的时候他又会给我自动升级到 4.25.3然后就出现这个错误
How do I need to solve this error? When I update to 3.5.0. post1, there will be a ModuleNotFoundError: No module named 'Google. generateai'. However, when I download Google. generateai, it will automatically upgrade to 4.25.3 and then this error will appear
What is your installation command? Try this?
git clone https://github.com/geekan/MetaGPT && cd MetaGPT && pip install --upgrade -e .
we use google-generativeai==0.4.1.
我按照你的命令执行了,但是还是报这个错
@yxl23 I suggest providing a more complete execution command, environment, output, etc., so that we may be able to help you locate the problem
解决那个问题了,现在又出现这个问题
你可以访问下截图中的 faq url,其中有描述解决方法
这个看着像是网络不通。如果要配代理,config2.yaml里要这样配置:
llm:
api_key: "A....I"
model: "gemini-pro" # https://ai.google.dev/models/gemini
api_type: "gemini"
proxy: "http://xx:xx"