Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'dynaconf' #4

Open
medeirosjrm opened this issue Apr 25, 2022 · 3 comments
Open

No module named 'dynaconf' #4

medeirosjrm opened this issue Apr 25, 2022 · 3 comments
Labels
question Further information is requested

Comments

@medeirosjrm
Copy link

Depois de clonar o repositório git, entrei no diretório /python-week-2022
Ao executar python -m beerlog

recebi o erro

Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/python-week-2022/beerlog/main.py", line 1, in
from .cli import main
File "/root/python-week-2022/beerlog/cli.py", line 1, in
from .config import settings
File "/root/python-week-2022/beerlog/config.py", line 2, in
from dynaconf import Dynaconf

ModuleNotFoundError: No module named 'dynaconf'

########Solução###########
A solução foi apenas instalar o modulo dynaconf com o commando ,

pip install dynaconf

Installing collected packages: dynaconf
Successfully installed dynaconf-3.1.8

Ao executar novamente o comando --> python3 -m beerlog
Hello from beerlog

@rochacbruno
Copy link
Owner

Olá @medeirosjrm nós vamos usar o poetry para gerenciar as dependencias do projeto.

rodando poetry install ele já instala as libs que estão definidas em pyproject.toml

@rochacbruno
Copy link
Owner

https://github.com/rochacbruno/python-week-2022#requisitos

@rochacbruno rochacbruno added the question Further information is requested label Apr 25, 2022
@medeirosjrm
Copy link
Author

show!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants