# How to check version and properly uninstall pyschopy in OSx

**URL:** <https://discourse.psychopy.org/t/how-to-check-version-and-properly-uninstall-pyschopy-in-osx/7811>\
**Category:** Other\
**Created:** [May 17, 2019, 10:32am UTC](https://discourse.psychopy.org/t/how-to-check-version-and-properly-uninstall-pyschopy-in-osx/7811 "2019-05-17T10:32:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alepebel](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/alepebel/32/33931_2.png) [@alepebel](https://discourse.psychopy.org/u/alepebel)\
**Post date:** [May 17, 2019, 10:32am UTC](https://discourse.psychopy.org/t/how-to-check-version-and-properly-uninstall-pyschopy-in-osx/7811/1 "2019-05-17T10:32:37Z")

</div>

Dear psychopy community,

I have recently deleted the Psychopy standalone file from the Applications folder. Believing that psychopy was uninstalled from my computer I moved back to spyder and I tried to lunch the psychopy experiment and it worked, probing that I was wrong and psychopy is still installed. So that seems to indicate that I had two different copies of Psychopy in my computer, one that corresponded to the deleted file and other which might be the libraries in my anaconda folders.

My questions are,  
1 Do these (standalone file and psychopy scripts) psychopy copies are independent versions?

2 How can I check what is the psychopy version that I am actually using?

3 Do I need the standalone psychopy (the file) in order to use the builder?

4 What it is the proper way to complete uninstall all the previous versions of psychopy from my computer? (I could not find this information in the forum/documentation)

I understand that my questions are probably too simple or obvious for most of you, but I am still a bit new using the terminal and some coding languages.

My laptop is a Macbook pro (2015) with OSx Mojave 10.14.4.

Thank you for your time.

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/michael/32/16_2.png) [@Michael](https://discourse.psychopy.org/u/Michael)\
**Post date:** [May 20, 2019, 4:12am UTC](https://discourse.psychopy.org/t/how-to-check-version-and-properly-uninstall-pyschopy-in-osx/7811/2 "2019-05-20T04:12:05Z")

</div>

> [@alepebel](#):
>
> 1 Do these (standalone file and psychopy scripts) psychopy copies are independent versions?

Yes. When you deleted the standalone, it went away entirely (although it might have left some preference files lying around). The source code version you installed into your Anaconda Python was unaffected.

This means, for example, that you can keep up-to-date with the latest developer release of PsychoPy, while keeping a stable standalone version around for running actual experiments, and not run in to conflicts.

> [@alepebel](#):
>
> 2 How can I check what is the psychopy version that I am actually using?

- Launch Python. (i.e. go to the terminal and type `python` or `ipython`, which hopefully have been configured to be your Anaconda Python and not the system Python).
- run the following code:

```auto
import psychopy                                                                                                        
print(psychopy. __version__ )

```

> [@alepebel](#):
>
> 3 Do I need the standalone psychopy (the file) in order to use the builder?

No, you could hunt around and find the `psychopyApp.py` file and run that. In Python (again after `import psychopy `, the following will tell you where the PsychoPy files are located:

```auto
psychopy. __file__

```

> [@alepebel](#):
>
> 4 What it is the proper way to complete uninstall all the previous versions of psychopy from my computer? (I could not find this information in the forum/documentation)

That depends a little on how you got them installed in the first place. If via `pip`, then you could try `pip uninstall` from the Terminal (i.e. not from within Python):

[https://pip.pypa.io/en/stable/reference/pip\_uninstall/](https://pip.pypa.io/en/stable/reference/pip_uninstall/)

---

<div class="post-metadata">

**Author:** ![alepebel](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/alepebel/32/33931_2.png) [@alepebel](https://discourse.psychopy.org/u/alepebel)\
**Post date:** [May 20, 2019, 10:10am UTC](https://discourse.psychopy.org/t/how-to-check-version-and-properly-uninstall-pyschopy-in-osx/7811/3 "2019-05-20T10:10:10Z")

</div>

Very useful answer. Thank you very much.
