vbuterin / pybitcointools

SImple, common-sense Bitcoin-themed Python ECC library
1.3k stars 861 forks source link

Module name for import seems to be 'bitcoin' not 'pybitcointools' #18

Open pinheadmz opened 10 years ago

pinheadmz commented 10 years ago

Running: 2.7.6 |Anaconda 1.9.2 (x86_64)| (default, Jan 10 2014, 11:23:15) [GCC 4.0.1 (Apple Inc. build 5493)]

from pybitcointools import ImportError: No module named pybitcointools from bitcoin import (success)

...might want to edit README. Thanks VB, such great work

reiven commented 10 years ago

I had the same problem running tests, needed to chage

from pybitcointools import *

to

from bitcoin import *
dionyziz commented 10 years ago

import pybitcointools works for me. Can you show us your python version and pip freeze?

vbuterin commented 10 years ago

The module is indeed bitcoin; pybitcointools is the old name, and I moved it to bitcoin when I realized that "bitcoin" was unclaimed in the pip repository. I'll probably move the repo to make it clear at some point.

On Sun, Aug 31, 2014 at 4:40 PM, Dionysis Zindros notifications@github.com wrote:

import pybitcointools works for me. Can you show us your python version and pip freeze?

— Reply to this email directly or view it on GitHub https://github.com/vbuterin/pybitcointools/issues/18#issuecomment-54000567 .

hoffmabc commented 10 years ago

Is this moved now?

thebookworm101 commented 9 years ago

Maybe this could cause problems with https://github.com/petertodd/python-bitcoinlib , which though uses a different name on pypi, installs locally to bitcoin :(