You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ,
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
The text was updated successfully, but these errors were encountered: