如何解决此问题(使用Steemit API)?

时间:2019-02-05 05:56:32

标签: python ctype scrypt

我想使用Steemit API进行后期抓取,但是... API出现了一些问题。我只输入Steemit这样描述的代码。

我的代码

from steem import Steem
s = Steem(keys=['<private_posting_key>', '<private_active_key>'])

reslut

from steem import Steem
File "/anaconda3/lib/python3.6/site-packages/steem/__init__.py", line 2, in <module>
from .steem import Steem
File "/anaconda3/lib/python3.6/site-packages/steem/steem.py", line 1, in <module>
from .commit import Commit
File "/anaconda3/lib/python3.6/site-packages/steem/commit.py", line 19, in <module>
from .transactionbuilder import TransactionBuilder
File "/anaconda3/lib/python3.6/site-packages/steem/transactionbuilder.py", line 3, in <module>
from .wallet import Wallet
File "/anaconda3/lib/python3.6/site-packages/steem/wallet.py", line 5, in <module>
from steembase import bip38
File "/anaconda3/lib/python3.6/site-packages/steembase/bip38.py", line 21, in <module>
import scrypt
File "/anaconda3/lib/python3.6/site-packages/scrypt/__init__.py", line 1, in <module>
from .scrypt import *
File "/anaconda3/lib/python3.6/site-packages/scrypt/scrypt.py", line 15, in <module>
_scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])
File "/anaconda3/lib/python3.6/ctypes/__init__.py", line 426, in LoadLibrary
return self._dlltype(name)
File "/anaconda3/lib/python3.6/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)

OSError: dlopen(/anaconda3/lib/python3.6/site-packages/_scrypt.cpython-36m-darwin.so, 6): Library not loaded: @rpath/libcrypto.1.1.dylib
Referenced from: /anaconda3/lib/python3.6/site-packages/_scrypt.cpython-36m-darwin.so
Reason: image not found

0 个答案:

没有答案