Failed to create wallet: Failed while installing wasm

dfx start --clean

Running dfx start for version 0.17.0
Using the default definition for the 'local' shared network because /home/hpnv/.config/dfx/networks.json does not exist.
Initialized replica.
Dashboard: http://localhost:57955/_/dashboard

after i try to create canister

dfx canister create user_canister

Please enter the passphrase for your identity: [hidden]
Decryption complete.
Creating canister user_canister...
Creating a wallet canister on the local network.
Error: Failed to create canister 'user_canister'.
Caused by: Failed to create canister 'user_canister'.
  Failed to create wallet: Failed while installing wasm.

the replica have error like this

thread 'MR Batch Processor' panicked at rs/replicated_state/src/page_map/page_allocator/mmap.rs:615:13:
MmapPageAllocator failed to mmap 765952 bytes to memory file #38 at offset 0 for deserialization: ENOEXEC: Exec format error
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-02-22T05:13:20.558219Z ERROR icx_proxy_dev::proxy: Internal Error during request:
error trying to connect: tcp connect error: Connection refused (os error 111)
2024-02-22T05:13:20.562137Z ERROR tower_http::trace::on_failure: response failed classification=Status code: 500 Internal Server Error latency=6 ms
Stopping icx-proxy...
Stopped.

=================================================

does anyone know how to fix this?

What system are you running this on? Windows with WSL2?

first i try to do it on wsl 1 and error, then i try it on wsl 2 still error

Yeah, sorry, then I can’t help much. The replica doesn’t properly work on WSL because it simply doesn’t support certain expected Unix functions. We hope to get it running properly on Windows by replacing the replica with PocketIC , but until then it doesn’t work