dvf / blockchain-book

208 stars 71 forks source link

error on windows "No module named:structLog" #1

Open BoladoSeis opened 3 years ago

BoladoSeis commented 3 years ago

This is the error i get when I put: python node.py: Traceback (most recent call last): File "C:\Users\marce\blockchain-book\chapters\chapter_7\node.py", line 3, in from funcoin.blockchain import Blockchain File "C:\Users\marce\blockchain-book\chapters\chapter_7\funcoin\blockchain.py", line 8, in import structlog ModuleNotFoundError: No module named 'structlog'

nopressurecooker commented 3 years ago

I get the same error running on Macintosh.

doneforaiur commented 3 years ago

Did you followed the instructions? cd chapters/chapter_7 poetry install

If the issue persists, you can always manually install libraries like this; pip install structlog