Open Cappuccinuo opened 6 years ago
from six.moves.urllib.parse import quote as urllib_quote ImportError: No module named parse
Does anyone know how to fix this?
yea im getting the same issue, this tutorial is bullshit bro.... waste of time
from urlparse import urlparse
Have Fun ! #Solved
Situation: I want to start a blockchain node
Action: sudo python blockchain.py -p 5000
Result:
Attemption: pip install parse(install success, does not solve problem) pip install urllib(No matching distribution found for urllib) pip install urlparse(No matching distribution found for urlparse)
Solution: In blockchain.py, change
from urllib.parse import urlparse
tofrom urlparse import urlparse
Could you please tell me the reason why we cannot import urlparse from urllib.parse?
And I wonder if we can only execute all the command like create node, start the blockchain client under root? As it notify me "cannot import Crypto" when I type python blockchain_client.py without sudo.
Thanks.