dvf / dvf/blockchain-book

error on windows "No module named:structLog"

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
254
Forks
80
PR merge metrics
No merged PRs in 30d

Description

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'

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error with `python node.py` from `chapters/chapter_7`, then inspect `chapters/chapter_7/funcoin/blockchain.py` and its `structlog` import. Confirm the expected dependency setup for this chapter and verify that the command runs on Windows without the reported ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.