You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
however, I get the error.
library_path = os.environ["ZK_SYNC_LIBRARY_PATH"]
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'ZK_SYNC_LIBRARY_PATH'
The text was updated successfully, but these errors were encountered:
download zks-crypto-aarch64-apple-darwin.dylib
set environ ZK_SYNC_LIBRARY_PATH
os.environ['ZK_SYNC_LIBRARY_PATH'] ='/zks-crypto-aarch64-apple-darwin.dylib'
download zks-crypto-aarch64-apple-darwin.dylib set environ ZK_SYNC_LIBRARY_PATH os.environ['ZK_SYNC_LIBRARY_PATH'] ='/zks-crypto-aarch64-apple-darwin.dylib'
I have downloaded zksync-crypto-library,and set env variable ZK_SYNC_LIBRARY_PATH with a path to the downloaded library.but It is still error in ZK_SYNC_LIBRARY_PATH
~ echo $ZK_SYNC_LIBRARY_PATH
My code is:
from web3 import Account, Web3, HTTPProvider
from zksync_sdk import ZkSyncProviderV01, HttpJsonRPCTransport, network, ZkSync, EthereumProvider, Wallet, ZkSyncSigner,
EthereumSignerWeb3, ZkSyncLibrary
import asyncio
def main():
# env = TestEnv()
if name == "main":
main()
however, I get the error.
library_path = os.environ["ZK_SYNC_LIBRARY_PATH"]
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'ZK_SYNC_LIBRARY_PATH'
The text was updated successfully, but these errors were encountered: