Cant locate english.txt file while intalling Python Bitcoin module

0 votes

When I try and import pybitcointools using "from bitcoin import *" from (https://github.com/vbuterin/pybitcointools) I get the following error, indicating the "english.txt" file is missing from one of the installation directories. How do I fix this?

from bitcoin import * Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bitcoin-1.1.39-py2.7.egg/bitcoin/init.py", line 10, in from bitcoin.mnemonic import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bitcoin-1.1.39-py2.7.egg/bitcoin/mnemonic.py", line 7, in wordlist_english=list(open(os.path.join(os.path.dirname(os.path.realpath(file)),'english.txt'),'r')) IOError: [Errno 2] No such file or directory: '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bitcoin-1.1.39-py2.7.egg/bitcoin/english.txt'

How to solve this error?

Aug 30, 2018 in Blockchain by digger
• 27,620 points
20 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

This is related to a pybitcointools bug where the Pypi bitcoin .tar did not include the newly referenced english.txt file. This has since been fixed in v1.1.42

To fix your installation, you can reinstall pybitcointools from Pypi or run pip install --upgrade pybitcointools

The issue is described here: https://github.com/vbuterin/pybitcointools/issues/138

answered Aug 30, 2018 by slayer
• 29,040 points

Related Questions In Blockchain

0 votes
1 answer

Cant install python module for python3.6 to use Jsonrpc for altcoin

Try this  VERSION=0.1 python3 setup.py install and there's also ...READ MORE

answered Sep 7, 2018 in Blockchain by digger
• 27,620 points
38 views
+1 vote
1 answer
0 votes
1 answer

Cant connect Jsonrpc to bitcoin.

I tried the following code and it ...READ MORE

answered Aug 20, 2018 in Blockchain by digger
• 27,620 points
28 views
0 votes
1 answer

Python request module for bitcoin json rpc

This should work: #!/usr/bin/env python import getpass import json import requests ...READ MORE

answered Aug 28, 2018 in Blockchain by digger
• 27,620 points
131 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Can't open a to big .csv file in python

You can't "split a file", but you can read ...READ MORE

answered Sep 3, 2018 in Blockchain by slayer
• 29,040 points
30 views
0 votes
1 answer

Can’t find value for key while using CouchDB for Fabric.

In the output you have mentioned: {   "id": ...READ MORE

answered Jul 31, 2018 in Blockchain by slayer
• 29,040 points
104 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.