# Experiment runs on pavlovia but not psychopy (local computer)

**URL:** https://discourse.psychopy.org/t/experiment-runs-on-pavlovia-but-not-psychopy-local-computer/33558
**Category:** Builder
**Tags:** psychopy3, pavlovia
**Created:** [February 27, 2023, 9:08pm UTC](https://discourse.psychopy.org/t/experiment-runs-on-pavlovia-but-not-psychopy-local-computer/33558 "2023-02-27T21:08:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![repeatlab](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/repeatlab/32/36970_2.png) [@repeatlab](https://discourse.psychopy.org/u/repeatlab)
#### Post date: [February 27, 2023, 9:08pm UTC](https://discourse.psychopy.org/t/experiment-runs-on-pavlovia-but-not-psychopy-local-computer/33558/1 "2023-02-27T21:08:44Z")

</div>

URL of experiment: [Pavlovia](https://pavlovia.org/repeatlab/websurfblsession1)

GitLab URL: [Repeat Lab / Web Surf Task · GitLab](https://gitlab.pavlovia.org/repeatlab/websurfblsession1)

Description of the problem:

Hello all. I have a task that runs perfectly fine on Google Chrome, however it encounters an error whenever I try to run it locally through PsychoPy. I’m trying to update the videos that are shown in the task, but this is difficult to do if the original code doesn’t even work on my computer. Thanks in advance!

---

<div class="post-metadata">

### Author: ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)
#### Post date: [February 28, 2023, 12:07pm UTC](https://discourse.psychopy.org/t/experiment-runs-on-pavlovia-but-not-psychopy-local-computer/33558/2 "2023-02-28T12:07:50Z")

</div>

Hello repeatlab

you might want to upgrade before trying to fix the error when running the experiment locally See here

> [@PsychoPy versions to avoid](https://discourse.psychopy.org/t/psychopy-versions-to-avoid/22924):
>
> If you are currently using any of the following versions, I would recommend that you upgrade before asking for support in these forums. For the older versions my recommendation is the to move to the last release prior to the next major upgrade (if you don’t want to move to the additional features or better timing a more recent version could give you). 2023.1.0 2022.2.0 2022.1.0 to 2022.1.2 2021.2.0 to 2021.1.2 2021.1.0 to 2021.1.2 2020.2.0 to 2020.2.4 2020.1.0 to 2020.1.2 3.2.0 to 3.2.3 …

With running locally, do mean to run it locally in a browser or to run the python-code?

Notice, that in case you upgrade that the folder html is not used and its existence causes problems in newer version.

Best wishes Jens

---

<div class="post-metadata">

### Author: ![repeatlab](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/repeatlab/32/36970_2.png) [@repeatlab](https://discourse.psychopy.org/u/repeatlab)
#### Post date: [February 28, 2023, 5:16pm UTC](https://discourse.psychopy.org/t/experiment-runs-on-pavlovia-but-not-psychopy-local-computer/33558/3 "2023-02-28T17:16:05Z")

</div>

Hi Jens,

I mean to run the python code. However, I am also unable to run it locally in a browser.

 ![Screenshot 2023-02-28 at 12.08.31 PM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/8/183821708900a8db88163371233f885e4f149319.png)

I am using the PsychoPy 2022.2.5 for macOS. My OS is Ventura 13.0.1.

---

<div class="post-metadata">

### Author: ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)
#### Post date: [March 1, 2023, 8:02am UTC](https://discourse.psychopy.org/t/experiment-runs-on-pavlovia-but-not-psychopy-local-computer/33558/4 "2023-03-01T08:02:09Z")

</div>

Hello,

yes, you might be running PsychoPy 2022.2.5 on your Mac but the version on Pavlovia is 2020.1. You need to “move” your old version to the new version. So, for instance, delete the html-folder and the index.html locally. Try to compile the code to Python and look for error-messages.

Or give version-setting of PsychoPy a try to get it running.

Best wishes Jens
