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

py-bsddb not available through macport #26

Open
ghost opened this issue Feb 7, 2021 · 4 comments
Open

py-bsddb not available through macport #26

ghost opened this issue Feb 7, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2021

No description provided.

@jackjack-jj
Copy link
Owner

jackjack-jj commented Feb 7, 2021

Can you try with py-bsddb3 instead?


Edit: For historical consistency, ghost's original message was

---> Computing dependencies for python27
---> Cleaning python27
---> Computing dependencies for py27-twisted
---> Cleaning py27-twisted
---> Computing dependencies for py27-pip
---> Cleaning py27-pip
Error: Port py-bsddb not found
This is the error when I try running it. Any work around?

@jackjack-jj
Copy link
Owner

jackjack-jj commented Feb 7, 2021

I didn't expect Python 3.8 to be installed, but I don't get why it doesn't find it once it is
Maybe there's a py2-bsddb3 or a py27-bsddb3 and you could try to install to test with Python 2.7?
If it doesn't work can you open a Python console with both version, run from bsddb.db import * and report here what error you get?
Same for from bsddb3.db import *

@truthsmiles
Copy link

@gildash2 I'm having exactly the same trouble you are. On my own I attempted changing "py-bsddb" to "py-bsddb3" and got the same results you did... python 3.8 was installed, pywallet still complained.
Leaving this comment hoping I'll get a notification if it gets resolved! :)

@jonathanstiansen
Copy link

I think it's a issue with macports - you'll see what when it want's to resolve py-bsddb3, it want's to download py39 and use those versions. For me, (on a Mac) I had to just stop using macports all together, use brew to install the Berkley db - and use: pip install ecdsa

Then run the script like this: BERKELEYDB_DIR=$(brew --prefix berkeley-db@4) python pywallet.py –dumpwallet which runs the script, which gets me past the other "missing required" issues - but I'm still getting a:

pywallet % python pywallet.py --dumpwithbalance WARNING:root:pycrypto or libssl not found, decryption may be slow A mandatory option is missing

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

3 participants