# Github related error when trying to run experiment

**URL:** <https://discourse.psychopy.org/t/github-related-error-when-trying-to-run-experiment/25533>\
**Category:** Builder\
**Created:** [October 21, 2021, 10:14am UTC](https://discourse.psychopy.org/t/github-related-error-when-trying-to-run-experiment/25533 "2021-10-21T10:14:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnnaB](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@AnnaB](https://discourse.psychopy.org/u/AnnaB)\
**Post date:** [October 21, 2021, 10:14am UTC](https://discourse.psychopy.org/t/github-related-error-when-trying-to-run-experiment/25533/1 "2021-10-21T10:14:08Z")

</div>

Hello everyone,

**OS** : Win10  
**PsychoPy version** : 2021.2.3  
**Standard Standalone? (y/n)** : y  
**What are you trying to achieve?:**

I am currently trying to set up a new experiment which worked perfectly fine yesterday. However, when setting the “version-button” from blank to “2021.2.3” today, the experiment no longer starts running (yesterday it worked in both versions).

**What specifically went wrong when you tried that?:** When I try to run the experiment, I receive the following code:

Downloading the PsychoPy Library from Github (may take a while)  
git clone -o github [GitHub - psychopy/versions: This is for use by psychopy.useVersion() not for development of code](https://github.com/psychopy/versions) versions  
Cloning into ‘versions’…  
fatal: unable to access ‘[GitHub - psychopy/versions: This is for use by psychopy.useVersion() not for development of code](https://github.com/psychopy/versions/)’: Failed to connect to [github.com](http://github.com) port 443: Timed out  
Traceback (most recent call last):  
File “O:\AG\_Neuro\Exp\_PsychoPy\sj\SJ\_lastrun.py”, line 17, in   
psychopy.useVersion(‘2021.2.3’)  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\versionchooser.py”, line 87, in useVersion  
\_clone(requestedVersion) # Allow the versions subdirectory to be built  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\versionchooser.py”, line 363, in \_clone  
env=constants.ENVIRON).decode(‘UTF-8’)  
File “C:\Program Files\PsychoPy\lib\subprocess.py”, line 336, in check\_output  
\*\*kwargs).stdout  
File “C:\Program Files\PsychoPy\lib\subprocess.py”, line 418, in run  
output=stdout, stderr=stderr)  
subprocess.CalledProcessError: Command ‘[‘git’, ‘clone’, ‘-o’, ‘github’, ‘[GitHub - psychopy/versions: This is for use by psychopy.useVersion() not for development of code](https://github.com/psychopy/versions)’, ‘versions’]’ returned non-zero exit status 128.

##### Experiment ended.

Thanks in advance for any feedback

---

<div class="post-metadata">

**Author:** ![celinalianemueller](https://avatars.discourse-cdn.com/v4/letter/c/b4bc9f/32.png) [@celinalianemueller](https://discourse.psychopy.org/u/celinalianemueller)\
**Post date:** [July 20, 2022, 1:09pm UTC](https://discourse.psychopy.org/t/github-related-error-when-trying-to-run-experiment/25533/2 "2022-07-20T13:09:01Z")

</div>

Dear Anna,

did you find a solution for this problem? I am currently running into the same fatal error due to failure to connect with GitHub and was wondering whether you have any solution?

Thank in advance and all the best

Celina

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [July 21, 2022, 6:22am UTC](https://discourse.psychopy.org/t/github-related-error-when-trying-to-run-experiment/25533/3 "2022-07-21T06:22:36Z")

</div>

Why aren’t you leaving the useVersion field blank?
