Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Why am I getting the error from flask import Flask, request ^ ModuleNotFoundError: No module named 'flask' Tunction from hashlib import sha256 import json import
Why am I getting the error
from flask import Flask, request
^
ModuleNotFoundError: No module named 'flask'
Tunction from hashlib import sha256 import json import time No further documentation available from flask import Flask, request import requests class Block: def __init_(self, index, transactions, timestamp, previous_hash, A function that initialize block. AF AFF Variable explorer Help Plots Files BF BF def compute_hash(self): A function that return the hash of the block contents. 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 block_string = json.dumps (self._dict_sort_keys= True) Console 1/A = = PIL.Image, PIL.Imagerode, PIL.LITTiags, PIL. _binary, PIL._util, PIL._imaging, cffi, cffi.api, cffi.lock, cffi.error, cffi.model Traceback (most recent call last): return sha256(block_string.encode()).hexdigest() File "C: class Blockchain: # difficulty of our Pow algorithm difficulty = 2 - py", line 1, in
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started