Hello Counterparty, Simon from everdreamsoft here.
I have tried to install a federation node using http://counterparty.io/docs/federated_node/
I am on Ubuntu 14.04 64.
Here is the trace.
Installing collected packages: counterpartycli, prettytable
Running setup.py install for counterpartycli
Installing counterparty-client script to /home/xcp/federatednode_build/env/bin
Installing counterparty-server script to /home/xcp/federatednode_build/env/bin
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/xcp/federatednode_build/env/build/counterpartycli/setup.py", line 126, in <module>
setup(**setup_options)
File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/xcp/federatednode_build/env/build/counterpartycli/setup.py", line 34, in run
self.run_command('generate_configuration_files')
File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/xcp/federatednode_build/env/build/counterpartycli/setup.py", line 21, in run
generate_config_files()
File "/home/xcp/federatednode_build/env/build/counterpartycli/counterpartycli/setup.py", line 142, in generate_config_files
from counterpartycli.server import CONFIG_ARGS as SERVER_CONFIG_ARGS
File "/home/xcp/federatednode_build/env/build/counterpartycli/counterpartycli/server.py", line 8, in <module>
from counterpartylib.lib import log
File "/home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartylib/lib/log.py", line 16, in <module>
from counterpartylib.lib import util
File "/home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartylib/lib/util.py", line 7, in <module>
import apsw
ImportError: No module named 'apsw'
Complete output from command /home/xcp/federatednode_build/env/bin/python3.4 -c "import setuptools, tokenize;__file__='/home/xcp/federatednode_build/env/build/counterpartycli/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-0wqn0a0n-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/xcp/federatednode_build/env/include/site/python3.4:
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/counterpartycli
copying counterpartycli/init.py -> build/lib/counterpartycli
copying counterpartycli/messages.py -> build/lib/counterpartycli
copying counterpartycli/console.py -> build/lib/counterpartycli
copying counterpartycli/clientapi.py -> build/lib/counterpartycli
copying counterpartycli/util.py -> build/lib/counterpartycli
copying counterpartycli/server.py -> build/lib/counterpartycli
copying counterpartycli/setup.py -> build/lib/counterpartycli
copying counterpartycli/client.py -> build/lib/counterpartycli
creating build/lib/counterpartycli/wallet
copying counterpartycli/wallet/init.py -> build/lib/counterpartycli/wallet
copying counterpartycli/wallet/bitcoincore.py -> build/lib/counterpartycli/wallet
copying counterpartycli/wallet/btcwallet.py -> build/lib/counterpartycli/wallet
running install_lib
creating /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
copying build/lib/counterpartycli/init.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
copying build/lib/counterpartycli/messages.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
copying build/lib/counterpartycli/console.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
copying build/lib/counterpartycli/clientapi.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
creating /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/wallet
copying build/lib/counterpartycli/wallet/init.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/wallet
copying build/lib/counterpartycli/wallet/bitcoincore.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/wallet
copying build/lib/counterpartycli/wallet/btcwallet.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/wallet
copying build/lib/counterpartycli/util.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
copying build/lib/counterpartycli/server.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
copying build/lib/counterpartycli/setup.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
copying build/lib/counterpartycli/client.py -> /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/init.py to init.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/messages.py to messages.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/console.py to console.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/clientapi.py to clientapi.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/wallet/init.py to init.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/wallet/bitcoincore.py to bitcoincore.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/wallet/btcwallet.py to btcwallet.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/util.py to util.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/server.py to server.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/setup.py to setup.cpython-34.pyc
byte-compiling /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartycli/client.py to client.cpython-34.pyc
running install_egg_info
running egg_info
creating counterparty_cli.egg-info
writing requirements to counterparty_cli.egg-info/requires.txt
writing top-level names to counterparty_cli.egg-info/top_level.txt
writing entry points to counterparty_cli.egg-info/entry_points.txt
writing counterparty_cli.egg-info/PKG-INFO
writing dependency_links to counterparty_cli.egg-info/dependency_links.txt
writing manifest file ‘counterparty_cli.egg-info/SOURCES.txt’
warning: manifest_maker: standard file ‘-c’ not found
reading manifest file ‘counterparty_cli.egg-info/SOURCES.txt’
writing manifest file ‘counterparty_cli.egg-info/SOURCES.txt’
Copying counterparty_cli.egg-info to /home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterparty_cli-1.1.1-py3.4.egg-info
running install_scripts
Installing counterparty-client script to /home/xcp/federatednode_build/env/bin
Installing counterparty-server script to /home/xcp/federatednode_build/env/bin
writing list of installed files to ‘/tmp/pip-0wqn0a0n-record/install-record.txt’
running generate_configuration_files
Traceback (most recent call last):
File “”, line 1, in
File “/home/xcp/federatednode_build/env/build/counterpartycli/setup.py”, line 126, in
setup(**setup_options)
File “/usr/lib/python3.4/distutils/core.py”, line 148, in setup
dist.run_commands()
File “/usr/lib/python3.4/distutils/dist.py”, line 955, in run_commands
self.run_command(cmd)
File “/usr/lib/python3.4/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/home/xcp/federatednode_build/env/build/counterpartycli/setup.py”, line 34, in run
self.run_command('generate_configuration_files')
File “/usr/lib/python3.4/distutils/cmd.py”, line 313, in run_command
self.distribution.run_command(command)
File “/usr/lib/python3.4/distutils/dist.py”, line 974, in run_command
cmd_obj.run()
File “/home/xcp/federatednode_build/env/build/counterpartycli/setup.py”, line 21, in run
generate_config_files()
File “/home/xcp/federatednode_build/env/build/counterpartycli/counterpartycli/setup.py”, line 142, in generate_config_files
from counterpartycli.server import CONFIG_ARGS as SERVER_CONFIG_ARGS
File “/home/xcp/federatednode_build/env/build/counterpartycli/counterpartycli/server.py”, line 8, in
from counterpartylib.lib import log
File “/home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartylib/lib/log.py”, line 16, in
from counterpartylib.lib import util
File “/home/xcp/federatednode_build/env/lib/python3.4/site-packages/counterpartylib/lib/util.py”, line 7, in
import apsw
ImportError: No module named ‘apsw’
Cleaning up…
Command /home/xcp/federatednode_build/env/bin/python3.4 -c “import setuptools, tokenize;file=’/home/xcp/federatednode_build/env/build/counterpartycli/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-0wqn0a0n-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/xcp/federatednode_build/env/include/site/python3.4 failed with error code 1 in /home/xcp/federatednode_build/env/build/counterpartycli
Storing debug log for failure in /home/xcp/.pip/pip.log
What am I doing wrong ?