# Failed to create wallet: Failed while installing wasm

**URL:** <https://forum.dfinity.org/t/failed-to-create-wallet-failed-while-installing-wasm/27759>\
**Category:** Motoko\
**Created:** [February 22, 2024, 5:23am UTC](https://forum.dfinity.org/t/failed-to-create-wallet-failed-while-installing-wasm/27759 "2024-02-22T05:23:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HPNV](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/hpnv/32/15899_2.png) [@HPNV](https://forum.dfinity.org/u/HPNV)\
**Post date:** [February 22, 2024, 5:23am UTC](https://forum.dfinity.org/t/failed-to-create-wallet-failed-while-installing-wasm/27759/1 "2024-02-22T05:23:21Z")

</div>

```auto
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

```auto
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

```auto
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?

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [February 22, 2024, 9:43am UTC](https://forum.dfinity.org/t/failed-to-create-wallet-failed-while-installing-wasm/27759/2 "2024-02-22T09:43:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![HPNV](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/hpnv/32/15899_2.png) [@HPNV](https://forum.dfinity.org/u/HPNV)\
**Post date:** [February 22, 2024, 5:28pm UTC](https://forum.dfinity.org/t/failed-to-create-wallet-failed-while-installing-wasm/27759/3 "2024-02-22T17:28:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [February 23, 2024, 8:40am UTC](https://forum.dfinity.org/t/failed-to-create-wallet-failed-while-installing-wasm/27759/4 "2024-02-23T08:40:28Z")

</div>

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
