Cannot write keyfile with crate
问题 I am trying to use the function here https://docs.rs/ethkey/0.2.5/ethkey/ to write a keyfile for ethereum : let key = EthAccount::load_or_generate("Users/Documents/Code/Thor/thor/parity/keys", "passwd") .expect("should load or generate new eth key"); println!("{:?}", key.address()); unfortunately, it doesnt work and it get the following error: thread 'main' panicked at 'should load or generate new eth key: Error(SerdeJsonError(Error("Is a directory (os error 21)", line: 0, column: 0)), State