# Install ray from source

**URL:** https://discuss.ray.io/t/install-ray-from-source/2981
**Category:** RLlib
**Created:** [July 22, 2021, 6:20pm UTC](https://discuss.ray.io/t/install-ray-from-source/2981 "2021-07-22T18:20:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![daniel](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@daniel](https://discuss.ray.io/u/daniel)
#### Post date: [July 22, 2021, 6:20pm UTC](https://discuss.ray.io/t/install-ray-from-source/2981/1 "2021-07-22T18:20:24Z")

</div>

After making some modifications to Python code such as `rllib/agents/a3c/a2c.py` how should I reinstall the ray that such that the changes can take effect?

Thanks!

---

<div class="post-metadata">

### Author: ![mannyv](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/mannyv/32/606_2.png) [@mannyv](https://discuss.ray.io/u/mannyv)
#### Post date: [July 23, 2021, 1:17pm UTC](https://discuss.ray.io/t/install-ray-from-source/2981/2 "2021-07-23T13:17:58Z")

</div>

Hi @daniel,

Take a look at this documentation as a place to start:

[https://docs.ray.io/en/master/development.html#building-ray](https://docs.ray.io/en/master/development.html#building-ray)

This guide talks about it from the perspective of developing on the tip of master. If you wanted to use a release instead you could of course download the wheel for that release and then check out the release tag in your clone.

Honestly though, unless I am planning on submitting a PR to fix something, I just make the changes directly where it is installed in the python site-packages directory.
