# How to use uv with idapython

**URL:** <https://community.hex-rays.com/t/how-to-use-uv-with-idapython/808>\
**Category:** IDA General\
**Tags:** idapython\
**Created:** [September 25, 2026, 2:28pm UTC](https://community.hex-rays.com/t/how-to-use-uv-with-idapython/808 "2026-09-25T14:28:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devsuna](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@devsuna](https://community.hex-rays.com/u/devsuna)\
**Post date:** [September 25, 2026, 2:28pm UTC](https://community.hex-rays.com/t/how-to-use-uv-with-idapython/808/1 "2026-09-25T14:28:44Z")

</div>

I want use my virtural python environment.  
I use the uv venv create a virtural environment. How to let it work well?😀

---

<div class="post-metadata">

**Author:** ![williballenthin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/williballenthin/32/122_2.png) [@williballenthin](https://community.hex-rays.com/u/williballenthin)\
**Post date:** [September 26, 2026, 6:05am UTC](https://community.hex-rays.com/t/how-to-use-uv-with-idapython/808/2 "2026-09-26T06:05:32Z")

</div>

There is a new reference here that explains the recommended setup, including with uv: [IDAPython Environment | Hex-Rays Docs](https://docs.hex-rays.com/getting-started/idapython-environment)

If you have HCLI handy, you can do:

```
hcli ida python create-environment

```

Please don’t hesitate to follow up here with more questions.
