Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: privkey_to_pubkey() takes exactly 1 argument (0 given) get this error on running vitalik tutorial #166

Open
markmark1 opened this issue Jul 13, 2017 · 1 comment

Comments

@markmark1
Copy link

markmark1 commented Jul 13, 2017

k1=`pybtctool random_key`> k2=`pybtctool random_key`> k3=`pybtctool random_key`> p1=`pybtctool privtopub $k1`> p2=`pybtctool privtopub $k2`> p3=`pybtctool privtopub $k3`
Traceback (most recent call last):
  File "/usr/local/bin/pybtctool", line 4, in <module>
    __import__('pkg_resources').run_script('bitcoin==1.1.42', 'pybtctool')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 742, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1667, in run_script
    exec(code, namespace, namespace)
  File "/Library/Python/2.7/site-packages/bitcoin-1.1.42-py2.7.egg/EGG-INFO/scripts/pybtctool", line 32, in <module>
    o = vars()[cmd](*args, **kwargs)
TypeError: privkey_to_pubkey() takes exactly 1 argument (0 given)
Traceback (most recent call last):
  File "/usr/local/bin/pybtctool", line 4, in <module>
    __import__('pkg_resources').run_script('bitcoin==1.1.42', 'pybtctool')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 742, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1667, in run_script
    exec(code, namespace, namespace)
  File "/Library/Python/2.7/site-packages/bitcoin-1.1.42-py2.7.egg/EGG-INFO/scripts/pybtctool", line 32, in <module>
    o = vars()[cmd](*args, **kwargs)
TypeError: privkey_to_pubkey() takes exactly 1 argument (0 given)
@alenuyee
Copy link

k1=`pybtctool random_key`> k2=`pybtctool random_key`> k3=`pybtctool random_key`> p1=`pybtctool privtopub $k1`> p2=`pybtctool privtopub $k2`> p3=`pybtctool privtopub $k3`
Traceback (most recent call last):
  File "/usr/local/bin/pybtctool", line 4, in <module>
    __import__('pkg_resources').run_script('bitcoin==1.1.42', 'pybtctool')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 742, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1667, in run_script
    exec(code, namespace, namespace)
  File "/Library/Python/2.7/site-packages/bitcoin-1.1.42-py2.7.egg/EGG-INFO/scripts/pybtctool", line 32, in <module>
    o = vars()[cmd](*args, **kwargs)
TypeError: privkey_to_pubkey() takes exactly 1 argument (0 given)
Traceback (most recent call last):
  File "/usr/local/bin/pybtctool", line 4, in <module>
    __import__('pkg_resources').run_script('bitcoin==1.1.42', 'pybtctool')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 742, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1667, in run_script
    exec(code, namespace, namespace)
  File "/Library/Python/2.7/site-packages/bitcoin-1.1.42-py2.7.egg/EGG-INFO/scripts/pybtctool", line 32, in <module>
    o = vars()[cmd](*args, **kwargs)
TypeError: privkey_to_pubkey() takes exactly 1 argument (0 given)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants