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 /dwelling/john/pywallet/pywallet.py --dumpwallet --dumpwithbalance --wallet=/dwelling/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) possibility 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 include bsddb.
bsddb was put in through:
wget https://information.pythonhosted.org/packages/f0/24/92034482656945fc6ceb10551222b43a0ff8d0c87e15839120487820067e/bsddb3-6.2.9.tar.gz
cd bsddb3-6.2.9
sudo pip set up -e /dwelling/john/bsddb3/bsddb3-6.2.9 --log /dwelling/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 take a look at (import bsddb):
python
Python 2.7.18 (default, Dec 7 2024, 14:38:44)
[GCC 13.2.0] on linux2
Kind "assist", "copyright", "credit" or "license" for extra data.
>>> import bsddb
Traceback (most up-to-date name final):
File "", line 1, in
File "/usr/native/lib/python2.7/bsddb/__init__.py", line 67, in
import _bsddb
ImportError: No module named _bsddb
>>>
Seems to be like bsddb is not put in appropriately, any concepts?