Bitcoin Forum
July 19, 2018, 08:32:01 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: [FIXED] need pywallet install help - missing bsddb, but I have installed it  (Read 1710 times)
Offline Offline

Activity: 2086
Merit: 1072

lose: unfind ... loose: untight

View Profile
August 17, 2013, 03:33:21 AM

edit: Nevermind - after reboot, all is well :-P

I would appreciate some assistance with getting pywallet up and running. this would be my first use of it.

I am on OS X 10.7.5.

I installed the latest xcode from App Store, and used Preferences > Downloads to install Command Line Tools

Installed MacPorts, did selfupdate, and grabbed dependencies:
sudo port install python27 py27-twisted py27-pip py-bsddb python_select
- I note the following line of output:
--->  Dependencies to be installed: py24-bsddb python24
Did it install an incompatible bsddb? Is there a py27-bsddb? Would I need this instead? Note that I got the instructions from the README at

sudo port select --set python python27
seemed successful:
Selecting 'python27' for 'python' succeeded. 'python27' is now active.

hostname:git username$ git clone

hostname:pywallet username$ python ./ --web
pywallet needs 'bsddb' package to run, please install it
hostname:pywallet username$

Thus endedth my travails. What next? Please note that I am a python noob.

redacted terminal output:
hostname:~ username$ sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  70.00 bytes/sec
total size is 4925440  speedup is 46908.95
receiving file list ... done

sent 36 bytes  received 76 bytes  224.00 bytes/sec
total size is 512  speedup is 4.57
MacPorts base version 2.2.0 installed,
MacPorts base version 2.2.0 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://
receiving file list ... done

sent 36 bytes  received 70 bytes  70.67 bytes/sec
total size is 53719040  speedup is 506783.40
receiving file list ... done

sent 36 bytes  received 77 bytes  226.00 bytes/sec
total size is 512  speedup is 4.53
Creating port index in /opt/local/var/macports/sources/

Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 17460

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
hostname:~ username$ sudo port install python27 py27-twisted py27-pip py-bsddb python_select
--->  Computing dependencies for python27
--->  Dependencies to be installed: bzip2 db46 db_select gettext expat libiconv ncurses libedit openssl zlib python_select sqlite3
--->  Fetching archive for bzip2
--->  Attempting to fetch bzip2-1.0.6_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch bzip2-1.0.6_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing bzip2 @1.0.6_0
--->  Activating bzip2 @1.0.6_0
--->  Cleaning bzip2
--->  Fetching archive for db_select
--->  Attempting to fetch db_select-0.1_2.darwin_11.noarch.tbz2 from
--->  Attempting to fetch db_select-0.1_2.darwin_11.noarch.tbz2.rmd160 from
--->  Installing db_select @0.1_2
--->  Activating db_select @0.1_2
--->  Cleaning db_select
--->  Fetching archive for db46
--->  Attempting to fetch db46-4.6.21_8.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch db46-4.6.21_8.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing db46 @4.6.21_8
--->  Activating db46 @4.6.21_8
--->  Cleaning db46
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.0_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch expat-2.1.0_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing expat @2.1.0_0
--->  Activating expat @2.1.0_0
--->  Cleaning expat
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.14_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch libiconv-1.14_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing libiconv @1.14_0
--->  Activating libiconv @1.14_0
--->  Cleaning libiconv
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-5.9_2.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch ncurses-5.9_2.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing ncurses @5.9_2
--->  Activating ncurses @5.9_2
--->  Cleaning ncurses
--->  Fetching archive for gettext
--->  Attempting to fetch gettext-0.18.3_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch gettext-0.18.3_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing gettext @0.18.3_0
--->  Activating gettext @0.18.3_0
--->  Cleaning gettext
--->  Fetching archive for libedit
--->  Attempting to fetch libedit-20121213-3.0_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch libedit-20121213-3.0_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing libedit @20121213-3.0_0
--->  Activating libedit @20121213-3.0_0
--->  Cleaning libedit
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.8_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch zlib-1.2.8_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing zlib @1.2.8_0
--->  Activating zlib @1.2.8_0
--->  Cleaning zlib
--->  Fetching archive for openssl
--->  Attempting to fetch openssl-1.0.1e_1.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch openssl-1.0.1e_1.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing openssl @1.0.1e_1
--->  Activating openssl @1.0.1e_1
--->  Cleaning openssl
--->  Fetching archive for python_select
--->  Attempting to fetch python_select-0.3_2.darwin_11.noarch.tbz2 from
--->  Attempting to fetch python_select-0.3_2.darwin_11.noarch.tbz2.rmd160 from
--->  Installing python_select @0.3_2
--->  Activating python_select @0.3_2
--->  Cleaning python_select
--->  Fetching archive for sqlite3
--->  Attempting to fetch sqlite3-3.7.17_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch sqlite3-3.7.17_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing sqlite3 @3.7.17_0
--->  Activating sqlite3 @3.7.17_0
--->  Cleaning sqlite3
--->  Fetching archive for python27
--->  Attempting to fetch python27-2.7.5_1.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch python27-2.7.5_1.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing python27 @2.7.5_1
--->  Activating python27 @2.7.5_1

To make python 2.7 the default (i.e. the version you get when you run 'python'), please run:

sudo port select --set python python27

--->  Cleaning python27
--->  Computing dependencies for py27-twisted
--->  Dependencies to be installed: py27-zopeinterface
--->  Fetching archive for py27-zopeinterface
--->  Attempting to fetch py27-zopeinterface-3.8.0_1.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch py27-zopeinterface-3.8.0_1.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing py27-zopeinterface @3.8.0_1
--->  Activating py27-zopeinterface @3.8.0_1
--->  Cleaning py27-zopeinterface
--->  Fetching archive for py27-twisted
--->  Attempting to fetch py27-twisted-12.0.0_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch py27-twisted-12.0.0_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing py27-twisted @12.0.0_0
--->  Activating py27-twisted @12.0.0_0
--->  Cleaning py27-twisted
--->  Computing dependencies for py27-pip
--->  Dependencies to be installed: py27-setuptools
--->  Fetching archive for py27-setuptools
--->  Attempting to fetch py27-setuptools-0.9.8_0.darwin_11.noarch.tbz2 from
--->  Attempting to fetch py27-setuptools-0.9.8_0.darwin_11.noarch.tbz2.rmd160 from
--->  Installing py27-setuptools @0.9.8_0
--->  Activating py27-setuptools @0.9.8_0
--->  Cleaning py27-setuptools
--->  Fetching archive for py27-pip
--->  Attempting to fetch py27-pip-1.4.1_0.darwin_11.noarch.tbz2 from
--->  Attempting to fetch py27-pip-1.4.1_0.darwin_11.noarch.tbz2.rmd160 from
--->  Installing py27-pip @1.4.1_0
--->  Activating py27-pip @1.4.1_0
--->  Cleaning py27-pip
--->  Computing dependencies for py-bsddb
--->  Dependencies to be installed: py24-bsddb python24
--->  Fetching archive for python24
--->  Attempting to fetch python24-2.4.6_10.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch python24-2.4.6_10.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing python24 @2.4.6_10
--->  Activating python24 @2.4.6_10

To make python 2.4 the default (i.e. the version you get when you run 'python'), please run:

sudo port select --set python python24

--->  Cleaning python24
--->  Fetching archive for py24-bsddb
--->  Attempting to fetch py24-bsddb-2.5.2_0.darwin_11.x86_64.tbz2 from
--->  Attempting to fetch py24-bsddb-2.5.2_0.darwin_11.x86_64.tbz2.rmd160 from
--->  Installing py24-bsddb @2.5.2_0
--->  Activating py24-bsddb @2.5.2_0
--->  Cleaning py24-bsddb
--->  Fetching archive for py-bsddb
--->  Attempting to fetch py-bsddb-2.5.2_0.darwin_11.noarch.tbz2 from
--->  Attempting to fetch py-bsddb-2.5.2_0.darwin_11.noarch.tbz2 from
--->  Attempting to fetch py-bsddb-2.5.2_0.darwin_11.noarch.tbz2 from
--->  Fetching distfiles for py-bsddb
--->  Verifying checksums for py-bsddb
--->  Extracting py-bsddb
--->  Configuring py-bsddb
--->  Building py-bsddb
--->  Staging py-bsddb into destroot
--->  Installing py-bsddb @2.5.2_0
--->  Activating py-bsddb @2.5.2_0
--->  Cleaning py-bsddb
--->  Cleaning python_select
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
hostname:~ username$ sudo port select --set python python27
Selecting 'python27' for 'python' succeeded. 'python27' is now active.
hostname:~ username$ sudo easy_install ecdsa
Searching for ecdsa
Best match: ecdsa 0.8
Processing ecdsa-0.8.tar.gz
Running ecdsa-0.8/ -q bdist_egg --dist-dir /tmp/easy_install-S4Gln6/ecdsa-0.8/egg-dist-tmp-yBI5e6
zip_safe flag not set; analyzing archive contents...
Adding ecdsa 0.8 to easy-install.pth file

Installed /Library/Python/2.7/site-packages/ecdsa-0.8-py2.7.egg
Processing dependencies for ecdsa
Finished processing dependencies for ecdsa
hostname:git username$ git clone
Cloning into 'pywallet'...
remote: Counting objects: 260, done.
remote: Compressing objects: 100% (179/179), done.
remote: Total 260 (delta 89), reused 250 (delta 81)
Receiving objects: 100% (260/260), 230.77 KiB | 347 KiB/s, done.
Resolving deltas: 100% (89/89), done.
hostname:git username$ cd pywallet
hostname:pywallet username$ python ./ --web
pywallet needs 'bsddb' package to run, please install it
hostname:pywallet username$

Anyone with a campaign ad in their signature -- for an organization with which they are not otherwise affiliated -- is automatically deducted credibility points.

I've been convicted of heresy. Convicted by a mere known extortionist. Read my Trust for details.
Hero Member
Offline Offline

Posts: 1531989121

View Profile Personal Message (Offline)

Reply with quote  #2

Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Offline Offline

Activity: 1134
Merit: 1012

May Bitcoin be touched by his Noodly Appendage

View Profile
August 17, 2013, 01:21:19 PM

I'm glad it's fixed
Thanks for posting these steps btw, it could help OSX users later

For any help about pywallet, you should post in the pywallet thread (see my sig)

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!