[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] How to set up PyGame with Eclipse (PyDev plug-in)?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] How to set up PyGame with Eclipse (PyDev plug-in)?
- From: Unnsse Khan <untz786@xxxxxxxxx>
- Date: Mon, 25 Feb 2008 16:35:12 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 25 Feb 2008 19:35:21 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=G3SOixEufV+ahJ5NnImWRvQYzo49zbimFOayU9X1axI=; b=AM2XtsPJGMFpTLkQ291lhtpa2+c942XSN0GKfdg64Mq9d47hOjDsKPys7ZN6vuqz0m6QhdHvpg7jYhOG/IQ+djX3GTuk1ZfdO3n6YxmM4GzDZUlH8AcJFXjRyzf83+6WLvxEfRwUBwpnu2aKmMpDnCPs2j2UfzH70MqQySKrLB0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=br2+gJMUKKqRgr1lqU70f7+dDNKcJErtlWP6NU5QbLmubmgysuijHxIrVcULp7lu5Vica+LYwaZSO1oPv4MAgq3QUJKoNK5BuHGDudMkw7917n/JlcBm4sLehUxt4QaMN42qT2Dv+TFuxOVxtY/H4pAGRvkHRUPiv3T5d+Q6ij4=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello there,
My system configuration is:
(1) OS X Leopard
(2) Eclipse 3.3.1 Europa
(3) Python 2.5
(4) PyGame 1.8.0rc3 (http://rene.f0o.com/~rene/stuff/macosx/)
(5) PyDev 1.3.13 (Eclipse plug-in)
Inside Eclipse's Preferences pane under: PyDev / Python-Interpreter /
System PYTHONPATH, I have the included the following libraries:
pygame, Numeric, Py2App, etc
I am able to write Python apps using PyGame from the command line and
I am also able to run them from within Eclipse.
The problem I am experiencing is that if I write something as trivial
as this:
import sys, pygame
pygame.init()
Eclipse places a curly red line underneath init() and states this in
the Problems view:
"Undefined variable from import: init"
Does anyone on this mailing list use Eclipse's PyDev plug-in to help
write their prospective Python / PyGame apps?
Happy programming,
Unnsse