On a Ubuntu 24.04.1 LTS VM I put in Python 2.7.18 through:
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar xzf Python-2.7.18.tgz
cd Python-2.7.18/
sudo ./configure --enable-optimizations
sudo make altinstall
python --version
Python 2.7.18
pywallet downloaded through:
git clone https://github.com/jackjack-jj/pywallet.git
Working:
python /house/john/pywallet/pywallet.py --dumpwallet --dumpwithbalance --wallet=/house/john/bitcoin/.bitcoin/pockets.dat
pywallet wants 'bsddb' package deal to run, please set up it
Verifying Python is right model:
python --version
Python 2.7.18
Utilizing Python’s -v (verbose) choice I see:
import bsddb # listing /usr/native/lib/python2.7/bsddb
# /usr/native/lib/python2.7/bsddb/__init__.pyc matches /usr/native/lib/python2.7/bsddb/__init__.py
import bsddb # precompiled from /usr/native/lib/python2.7/bsddb/__init__.pyc
The above paths comprise bsddb.
bsddb was put in through:
wget https://recordsdata.pythonhosted.org/packages/f0/24/92034482656945fc6ceb10551222b43a0ff8d0c87e15839120487820067e/bsddb3-6.2.9.tar.gz
cd bsddb3-6.2.9
sudo pip set up -e /house/john/bsddb3/bsddb3-6.2.9 --log /house/john/LOG_FILE
The above LOG_FILE exhibits:
Efficiently put in bsddb3
I wanted to make use of the pip set up -e
as a result of pip was producing errors on the SSL/TLS entrance.
Once I check (import bsddb):
python
Python 2.7.18 (default, Dec 7 2024, 14:38:44)
[GCC 13.2.0] on linux2
Sort "assist", "copyright", "credit" or "license" for extra info.
>>> import bsddb
Traceback (most up-to-date name final):
File "<stdin>", line 1, in <module>
File "/usr/native/lib/python2.7/bsddb/__init__.py", line 67, in <module>
import _bsddb
ImportError: No module named _bsddb
>>>
Seems like bsddb is not put in appropriately, any concepts?