# Problem with Mopidy extension development in Eclipse

**URL:** https://discourse.mopidy.com/t/problem-with-mopidy-extension-development-in-eclipse/672
**Category:** Misc
**Created:** [April 7, 2015, 3:29pm UTC](https://discourse.mopidy.com/t/problem-with-mopidy-extension-development-in-eclipse/672 "2015-04-07T15:29:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Johannes](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Johannes](https://discourse.mopidy.com/u/Johannes)
#### Post date: [April 7, 2015, 3:29pm UTC](https://discourse.mopidy.com/t/problem-with-mopidy-extension-development-in-eclipse/672/1 "2015-04-07T15:29:32Z")

</div>

Hi,  
I’m using mopidy-tunein. I want to find out why one of my favorite stations doesn’t work. I followed the steps for setting up the development environment and I mopidy works as it should and I can use the extension.  
I’d like to debug it though. I don’t have much experience with Python. I chose Eclipse/PyDev as an IDE and managed to start mopidy within it. However there it does not recognize the extension. I assume this is because PyDev has no clue of the virtualenv. How can I fix this? Also if there is an easier alternative to Eclipse please let me know …  
Best  
Johannes

---

<div class="post-metadata">

### Author: ![Johannes](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Johannes](https://discourse.mopidy.com/u/Johannes)
#### Post date: [April 7, 2015, 4:23pm UTC](https://discourse.mopidy.com/t/problem-with-mopidy-extension-development-in-eclipse/672/2 "2015-04-07T16:23:03Z")

</div>

Alright, I found out how to solve this. Similar as to this [description](http://www.michaelpollmeier.com/eclipse-pydev-and-virtualenv/) what I had to do was this:  
Set up eclipse to use the python wrapper in the virtual environment  
Go to Window -\> Preferences -\> Interpreter Python  
and create a new interpreter. Select the python wrapper from the virtual environment ($HOME/.virtualenvs/mopidy/bin/python/python2.7). The libraries should be selected automatically - leave them as they are. In the project properties change the interpreter to use the newly created one (Project -\> Properties -\> PyDev Python Interpreter)
