Saturday, July 6, 2024

python – No module named ‘bitcoin’ on Ubuntu utilizing WSL on Home windows 10

Which model of python ought to I exploit?
When working pip3 set up python-bitcoinlib I get ‘Requirement already happy’.
I run on Ubuntu utilizing WSL in Home windows 10.
I’ve this error:

>>> from bitcoin.rpc import RawProxy
Traceback (most up-to-date name final):
  File "<stdin>", line 1, in <module>
  File "C:UsersRonyAppDataLocalProgramsPythonPython37libsite-packagesbitcoinrpc.py", line 48, in <module>
    from bitcoin.pockets import CBitcoinAddress, CBitcoinSecret
  File "C:UsersRonyAppDataLocalProgramsPythonPython37libsite-packagesbitcoinwallet.py", line 33, in <module>
    import bitcoin.core.key
  File "C:UsersRonyAppDataLocalProgramsPythonPython37libsite-packagesbitcoincorekey.py", line 34, in <module
>
  _ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library('ssl') or 'libeay32')
  File "C:UsersRonyAppDataLocalProgramsPythonPython37libctypes__init__.py", line 442, in LoadLibrary
    return self._dlltype(title)
  File "C:UsersRonyAppDataLocalProgramsPythonPython37libctypes__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The desired module couldn't be discovered

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles