title: Aptana vs. Eclipse - pygame working only on Aptana?
body: <p>Have used Eclipse with PyDev for a while...without any problems. Recently I wanted to try out PyGame but the problem is that Eclipse gives errors when trying to do that:</p>
  
  <pre><code>Traceback (most recent call last):
  File "C:\Users\Artur\workspace\miniprojekt\src\pygame.py", line 1, in &lt;module&gt;
  import pygame 
  File "C:\Users\Artur\workspace\miniprojekt\src\pygame.py", line 2, in &lt;module&gt;
  from pygame.locals import * 
  ImportError: No module named locals
  </code></pre>
  
  <p>Then after trying to find a solution for a few hours without luck... decided to try some other IDE programs and finally found Aptana Studio which is based on Eclipse if I'm not wrong. Aptana uses the same PyDev add-on but the difference is that the code works there without problems. </p>
  
  <p>Then I decided to try Aptana plugin for eclipse, thinking that maybe it would make a differece. And again I get the same error as before.</p>
  
  <p>The code works in Python IDLE and in Aptana Studio 3 with PyDev...</p>
  
  <p>The code doesn't work on Eclipse SDK 3.7.1 with PyDev...</p>
  
  <p>And now I'm having trouble understanding why PyGame works in Aptana and not in Eclipse, as they both apparently use PyDev?
  Also all solutions for using PyGame in Eclipse are welcome...</p>
  
  <p>(I'm using Python 3.2)</p>