OpenBMB / ChatDev

Create Customized Software using Natural Language Idea (through LLM-powered Multi-Agent Collaboration)
https://arxiv.org/abs/2307.07924
Apache License 2.0
25.29k stars 3.17k forks source link

Issue with ModuleNotFoundError Despite Successful Package Installation #359

Closed yoan34 closed 6 months ago

yoan34 commented 6 months ago

Hi,

I'm encountering a ModuleNotFoundError that I've been unable to resolve despite attempting several solutions. I've detailed the steps I've taken below and am seeking guidance on what might be causing this issue and how to fix it.

Steps I've followed:

[tool.poetry]
name = "backend"
version = "0.1.0"
description = ""
authors = ["my_mail@gmail.com>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.110.0"
sqlalchemy = "^2.0.28"
tenacity = "^8.2.3"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

Despite these steps, when I attempt to run my application, I still face a ModuleNotFoundError for the tenacity package. All other modules are imported correctly, and this issue seems to be isolated to tenacity.

Does anyone have any suggestions on what might be causing this issue or additional steps I could take to resolve it?

wyifei26 commented 6 months ago

Maybe these issues before can help you? #30 #155

yoan34 commented 6 months ago

I already see the 30 and the 155 doesn't help me

wyifei26 commented 6 months ago

Or maybe suggestions below?