# Installing and/or starting PsychoPy on Linux

**URL:** <https://discourse.psychopy.org/t/installing-and-or-starting-psychopy-on-linux/43317>\
**Category:** Development\
**Tags:** linux\
**Created:** [December 18, 2024, 9:27am UTC](https://discourse.psychopy.org/t/installing-and-or-starting-psychopy-on-linux/43317 "2024-12-18T09:27:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbrnr](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@cbrnr](https://discourse.psychopy.org/u/cbrnr)\
**Post date:** [December 18, 2024, 9:27am UTC](https://discourse.psychopy.org/t/installing-and-or-starting-psychopy-on-linux/43317/1 "2024-12-18T09:27:20Z")

</div>

I just wanted you to know that [uv](https://docs.astral.sh/uv/) makes it very easy to install/start PsychoPy on Linux:

```auto
uvx --python 3.10 --with https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04/wxPython-4.2.2-cp310-cp310-linux_x86_64.whl psychopy

```

That’s it!

---

<div class="post-metadata">

**Author:** ![brittAnderson](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/brittanderson/32/377_2.png) [@brittAnderson](https://discourse.psychopy.org/u/brittAnderson)\
**Post date:** [February 28, 2025, 8:35pm UTC](https://discourse.psychopy.org/t/installing-and-or-starting-psychopy-on-linux/43317/2 "2025-02-28T20:35:26Z")

</div>

I am a linux user, and I can confirm this worked well for me. However, I slightly altered the command, because I wanted to install source to a particular directory/virtual environment. First, if you haven’t already, install `uv`. Then,

```auto
uv venv
source ./.venv/bin/activate
uv pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04/wxPython-4.2.2-cp310-cp310-linux_x86_64.whl && uv pip install --no-build-isolation psychopy

```

The code lives inside the “hidden” .venv directory, e.g.

```auto
python ~/testPy/.venv/lib/python3.10/site-packages/psychopy/demos/coder/stimuli/face_jpy.py

```

Should run the demo.

---

<div class="post-metadata">

**Author:** ![brittAnderson](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/brittanderson/32/377_2.png) [@brittAnderson](https://discourse.psychopy.org/u/brittAnderson)\
**Post date:** [February 28, 2025, 8:37pm UTC](https://discourse.psychopy.org/t/installing-and-or-starting-psychopy-on-linux/43317/3 "2025-02-28T20:37:04Z")

</div>

And I don’t know if readers here have the ability to change the instructions on the page:

> **[Installation — PsychoPy v2024.2.5](https://www.psychopy.org/download.html)**

But these instructions for linux user are going to be a lot more helpful, I think. Or at least give a nice option.
