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

Various Run errors - Help needed #146

Open
noto10 opened this issue Nov 19, 2024 · 0 comments
Open

Various Run errors - Help needed #146

noto10 opened this issue Nov 19, 2024 · 0 comments

Comments

@noto10
Copy link

noto10 commented Nov 19, 2024

I installed using pip in Python 3.13.0 for Windows. Installation went well without errors. However, I get the following errors when I tried to run it:

C:\Program Files\Python313\Scripts>ots
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Program Files\Python313\Scripts\ots.exe\__main__.py", line 4, in <module>
    from otsclient.ots import main
  File "C:\Program Files\Python313\Lib\site-packages\otsclient\ots.py", line 15, in <module>
    import otsclient.args
  File "C:\Program Files\Python313\Lib\site-packages\otsclient\args.py", line 24, in <module>
    import otsclient.cmds
  File "C:\Program Files\Python313\Lib\site-packages\otsclient\cmds.py", line 23, in <module>
    import bitcoin.rpc
  File "C:\Program Files\Python313\Lib\site-packages\bitcoin\rpc.py", line 38, in <module>
    from bitcoin.wallet import CBitcoinAddress, CBitcoinSecret
  File "C:\Program Files\Python313\Lib\site-packages\bitcoin\wallet.py", line 23, in <module>
    import bitcoin.core.key
  File "C:\Program Files\Python313\Lib\site-packages\bitcoin\core\key.py", line 27, in <module>
    _ssl = ctypes.cdll.LoadLibrary(
        ctypes.util.find_library('ssl.35') or ctypes.util.find_library('ssl') or ctypes.util.find_library('libeay32')
    )
  File "C:\Program Files\Python313\Lib\ctypes\__init__.py", line 471, in LoadLibrary
    return self._dlltype(name)
           ~~~~~~~~~~~~~^^^^^^
  File "C:\Program Files\Python313\Lib\ctypes\__init__.py", line 380, in __init__
    if '/' in name or '\\' in name:
       ^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

C:\Program Files\Python313\Scripts>ots stamp readme.txt
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Program Files\Python313\Scripts\ots.exe\__main__.py", line 4, in <module>
    from otsclient.ots import main
  File "C:\Program Files\Python313\Lib\site-packages\otsclient\ots.py", line 15, in <module>
    import otsclient.args
  File "C:\Program Files\Python313\Lib\site-packages\otsclient\args.py", line 24, in <module>
    import otsclient.cmds
  File "C:\Program Files\Python313\Lib\site-packages\otsclient\cmds.py", line 23, in <module>
    import bitcoin.rpc
  File "C:\Program Files\Python313\Lib\site-packages\bitcoin\rpc.py", line 38, in <module>
    from bitcoin.wallet import CBitcoinAddress, CBitcoinSecret
  File "C:\Program Files\Python313\Lib\site-packages\bitcoin\wallet.py", line 23, in <module>
    import bitcoin.core.key
  File "C:\Program Files\Python313\Lib\site-packages\bitcoin\core\key.py", line 27, in <module>
    _ssl = ctypes.cdll.LoadLibrary(
        ctypes.util.find_library('ssl.35') or ctypes.util.find_library('ssl') or ctypes.util.find_library('libeay32')
    )
  File "C:\Program Files\Python313\Lib\ctypes\__init__.py", line 471, in LoadLibrary
    return self._dlltype(name)
           ~~~~~~~~~~~~~^^^^^^
  File "C:\Program Files\Python313\Lib\ctypes\__init__.py", line 380, in __init__
    if '/' in name or '\\' in name:
       ^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

Can anyone help?

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

1 participant