# MNE Executable Path Issue

**URL:** <https://mne.discourse.group/t/mne-executable-path-issue/4313>\
**Category:** Support & Discussions\
**Created:** [January 25, 2022, 4:35pm UTC](https://mne.discourse.group/t/mne-executable-path-issue/4313 "2022-01-25T16:35:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivak3](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/shivak3/32/1138_2.png) [@shivak3](https://mne.discourse.group/u/shivak3)\
**Post date:** [January 25, 2022, 4:35pm UTC](https://mne.discourse.group/t/mne-executable-path-issue/4313/1 "2022-01-25T16:35:52Z")

</div>

**❓ If you have a question or issue with MNE-Python, please include the following info:**

- MNE version: 0.24.0
- operating system: RHEL 7

I have two installations of Anaconda: Anaconda2, Anaconda3  
But, my MNE python was setup with using Anaconda2.

When I try to use MNE on spyder console- MNE is taking /usr/bin/anaconda3/bin executable path instead of /usr/bin/anaconda2/bin.

I exported to the path too. But, It is not working.

Could anyone please guide me how to fix this issue.

![MNE path issue](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/c/cd9c6c9acd2624ae72f8c9aec524dab07b92ecb9.jpeg)

---

<div class="post-metadata">

**Author:** ![mmagnuski](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mmagnuski/32/153_2.png) [@mmagnuski](https://mne.discourse.group/u/mmagnuski)\
**Post date:** [January 25, 2022, 5:12pm UTC](https://mne.discourse.group/t/mne-executable-path-issue/4313/2 "2022-01-25T17:12:06Z")

</div>

Hi @shivak3,  
you can set which python environment is used by Spyder, see this link: [Frequently Asked Questions — Spyder 5 documentation](https://docs.spyder-ide.org/current/faq.html#using-existing-environment)
