# New to flwr and having problem in running my first program. 

**URL:** <https://discuss.flower.ai/t/new-to-flwr-and-having-problem-in-running-my-first-program/1254>\
**Category:** Flower Help - Beginners\
**Created:** [June 24, 2026, 7:49pm UTC](https://discuss.flower.ai/t/new-to-flwr-and-having-problem-in-running-my-first-program/1254 "2026-06-24T19:49:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubhamets](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@shubhamets](https://discuss.flower.ai/u/shubhamets)\
**Post date:** [June 24, 2026, 7:49pm UTC](https://discuss.flower.ai/t/new-to-flwr-and-having-problem-in-running-my-first-program/1254/1 "2026-06-24T19:49:19Z")

</div>

Hello,

I am new to flwr and trying to follow the website instructions. But I am getting the following error. Can someone help me?

1. ✅ Python 3.11.9
2. ✅ Ray 2.55.1 installed
3. ✅ Flower 1.31.0 installed

🎊 Successfully started run 15310168457235330674  
INFO : Starting logstream for run\_id `15310168457235330674`  
INFO : Starting Flower Simulation  
ERROR : Exit Code: 701  
`ray` backend selected for simulation, but `ray` is not installed.

Extra dependencies required for simulation are missing.

To use simulation with the Ray backend, install `flwr` with the `simulation` extra:

```auto
`pip install "flwr[simulation]"`.

```

---

<div class="post-metadata">

**Author:** ![mohammad](https://dub1.discourse-cdn.com/flex013/user_avatar/discuss.flower.ai/mohammad/32/35_2.png) [@mohammad](https://discuss.flower.ai/u/mohammad)\
**Post date:** [June 25, 2026, 8:36am UTC](https://discuss.flower.ai/t/new-to-flwr-and-having-problem-in-running-my-first-program/1254/2 "2026-06-25T08:36:23Z")

</div>

Hi @shubhamets,  
This likely means Ray isn’t installed in the same environment used by `flwr run`. Please install Flower with the simulation extra in that environment:

```auto
python -m pip install -U "flwr[simulation]"

```

Also make sure your app’s `pyproject.toml` uses:

```auto
dependencies = [
    "flwr[simulation]>=1.31.0",
]

```

Then rerun again.
