Programming :: Can Not Import Pygame

Jan 17, 2011

I am new to pygame and Linux and I am using Red Hat Linux and I cannot import pygame. I thought I installed it but when I open up Python IDLE It says "No module named pygame". Does anyone know what is wrong?? I downloaded pygame1.9.1.release.tar.gz from URL...I might not have installed it or maybe I need something else too, I don't know.

View 6 Replies


ADVERTISEMENT

Programming :: Pygame Slow Or Just Programmers Are Inefficient?

Mar 22, 2010

Why are all of the Pygame games so slow? Even a simple platform-hopping game moves like a snail. Other enourmously more complicated games, not Python in origin, don't seem to have such a problem on the same hardware. Is it that the programmers are (just like me), too inexperienced? Or can I just not expect to get good performance from Pygame?

View 5 Replies View Related

Ubuntu :: Does 10.04 Come Default With Pygame

Oct 9, 2010

Does Ubuntu 10.04 come default with pygame installed?

View 2 Replies View Related

OpenSUSE :: Pygame Installation For Python3 Missing Some Dependencies

Aug 31, 2010

I am trying to install pygame(from source) for python3 on my openSUSE 11.3. From repos pygame is only available for python2 and not for python 3. While running the installation scripts I am getting this:

Code:
linux-eeow:/home/vivek/Projects/codes/python/pygame-1.9.1release # python3 setup.py
No Arguments Given, Perform Default Install? [Y/n]Y
WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...

Hunting dependencies...
SDL : found 1.2.14
FONT : not found
IMAGE : not found
MIXER : not found
SMPEG : found 0.4.5
PNG : found
JPEG : found
SCRAP : found
PORTMIDI: not found
PORTTIME: not found

Warning, some of the pygame dependencies were not found. Pygame can still compile and install, but games that depend on those missing dependencies will not run.
Would you like to continue the configuration? [Y/n]:
What these dependencies are. What all do I need to install...

View 2 Replies View Related

Programming :: Import OS - Hiding XTerm Console

Mar 29, 2011

I have this simple code written in python:
Code:
import os
os.system("xterm -e 'ls /usr/lib'")
Is there anyway I can hide the xterm window that is opening ?

View 7 Replies View Related

Programming :: Upload Zip With Textfiles Via Http --> Import Into MYSQL?

Jun 13, 2011

I want the LAMP server to present an upload page to the user The user uploads a zip file containing txt files which are tables in clear-text format The server : opens the zip validates the text files (going to skip this for now, but will try to make later) converts the files as here imports them to MYSQL tables All this is supposed to happen automatically, then the user can immediately use the website with the updated data How to implement this (esp. the first part with the zip file)

View 1 Replies View Related

Programming :: Equivalent Function On Eclipselink Of Hibernate + Import.sql?

Feb 19, 2010

Exist an equivalent on eclipselink 2.0?

View 2 Replies View Related

Debian Programming :: Import Error / No Module Named Eyed3

Dec 10, 2013

I have installled eyeD3. It works on the commandline (bash). But I want use it in python3.

I did get this error:

Code: Select all>>> import eyed3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named eyed3

Why cant I use this module for reading and writing tag information to mp3 files?

View 4 Replies View Related

Programming :: Writing Shell Snip To Import CSV Data Into Bash Array

Jan 5, 2011

I have been trying to write a simple snip of bash shell code to import from 1 to 100 records into a Bash array.

I have a CSV file that is structured like:
record1,item1,item2,item3,item4
record2,item1,item2,item3,item4
record3,item1,item2,item3,item4
record4,item1,item2,item3,item4

And would like to get this data into corresponding arrays as such:
$record1[item1-4]
$record2[item1-4]
$record3[item1-4]
$record4[item1-4]

View 9 Replies View Related

Programming :: Make A Java Application In Netbeans 6.9.1 - V4L4J - Import The Libaries

Oct 27, 2010

I'm trying to make a java application in netbeans 6.9.1 (ubuntu 10.10) and I need to use the webcam on the system. Now I found this project: [URL] I am able to run the program and see the vid imput from the webcam using: "java -cp /usr/share/java/v4l4j.jar -Djava.library.path=/usr/lib/jni au.edu.jcu.v4l4j.examples.DeviceChooser" The problem is how to import the libaries into netbeans, there is an explanation on the site how to do it with eclipse but I don't have any experience with ecplipse and judging from what people have to say about how it works I don't want that either. I get the following error as output:

[Code]...

View 3 Replies View Related

Programming :: "import By Hash" In Haxxoring Th ELF Format?

Jan 8, 2011

If you can follow this discussion:url

I'd like to know what "import by hash" is.

View 14 Replies View Related

Fedora :: Can't Import RPM-GPG-Keys With The Command "rpm --import"

May 17, 2010

after I had to rebuild the rpmdb because of some errors within it, i can't import any gpg-keys with the command "rpm --import". All I get is this:

[Code]....

View 14 Replies View Related

Programming :: How To Import Script Into Another Script

Dec 28, 2010

how I can import a script into another script so that the variables can be used.I wish to create a directory of scripts that are separate from my bashrc and have each of them import some generic variables, such as ANSI colours and environment variables.

View 5 Replies View Related

Fedora :: Can't Get Audacity To Import MP3

Mar 30, 2010

I've installed audacity, and have the LAME plugin installed. Problem is, I can't import mp3 files into audacity, I keep getting:

"This version of audacity is not compiled with mp3 support"

DO I need to do anything to get audacity to import mp3s ? The preferences only had an area for encoder (i.e. export) nothing for import.

View 3 Replies View Related

Server :: Import CSV Into MySQL?

Nov 16, 2010

I'm quite a newbie when it comes to MySQL but i heard that its possible to import data from a CSV into a mysql table.

Can anyone enlighten me on how to do it please? Im running CentOS and usiong MySQL Workbench to connect and run queries.

I have my CSV formatted so that the first row has the names of my columns on the table that I want to import it to and the following rows are the data that needs importing.

View 6 Replies View Related

Software :: Amarok Won't Import CD As Mp3?

Jul 4, 2011

I have Ubuntu installed on my laptop, and I have some CD's that I need to burn. I have to use Amarok since Rhythmbox and Banshee don't recognize the songs on it, they just say "Track 1" (instead of the actual name of the song). Amarok recognizes the songs, but won't import as mp3. In fact it only imported a couple of the songs, not the whole CD, even though it recognizes the songs. How can I get Amarok to import my CD's, or get Banshee and Rhythmbox to recognize them?

View 1 Replies View Related

Debian :: Import Certificates To Whole System

Dec 18, 2010

I have enrolled some certificates from my own ca, to use to a couple of different services, like FTP, WEB, Mail etc. All these certificates comes from the same CA (my own), and I have created a root CA. But is it possible to import this root CA to the whole system, so I do not have to import the certificate or root CA to the different applications like iceweasel/firefox, chrome, icedove, filezilla etc.

View 2 Replies View Related

Fedora Security :: Import Key To /etc/pki/rpm-gpg Fails

Mar 15, 2009

I want to import a key called PGP-public-key.asc, that is placed in the download folder to /etc/pki/rpm-gpg, but it fails. I tried both:

rpm --import /etc/pki/rpm-gpg/PGP-public-key.asc

and

rpm --import /etc/pki/rpm-gpg/
rpm --import /etc/pki/rpm-gpg/home/my/Download/PGP-public-key.asc

View 8 Replies View Related

Fedora :: Import Digital Photos Via USB?

Sep 12, 2009

I'm running GNOME on Fedora 11. My daughter is shortly due to take possession of a digital SLR camera - a Canon EOS 400D. Apparently it comes with a USB cable. I know very little of photography, or of image stuff on Linux, so I have a few questions: Will I be able to connect it to my Linux box and import the images? Is gthumb-importer the appropriate application for this? Is there better? Are the images jpegs, or something else? I only need to copy the images to the laptop and to be able to view them - I don't need to edit them or any such.

View 1 Replies View Related

OpenSUSE :: Import Old Calender Into Korganizer?

Feb 15, 2010

I just installed openSuse 11.2 with kde4 and want to import my data into korganizer. I saved my tasks and dates from kde3 as a vcs file.

Unfortunately the new version of korganizer does not show any entries in this file. I thought vcs is a valid import/export format.

Is there a way how I can import my data into korganizer?

View 5 Replies View Related

OpenSUSE :: Import Data From Windows XP?

Mar 5, 2010

Here is what i want:I want to import from Windows XP all cookies and bookmarks i use in Firefox in to Suse.I can not start windows as the hard drive is damaged, i was able to copy the cookies and favorites as well other important data from Windows.The question is how to use this data in suse, can this be just copied into the Firefox directory?If possible what is the path to put all this info?

View 1 Replies View Related

OpenSUSE :: Can't Import Media Into Banshee?

Sep 4, 2010

I can get music from cds into banshee, but when i try to import media from my library in the music folder nothing happens except banshee reports its scanning for a couple of seconds but nothing is imported into banshee,

View 2 Replies View Related

OpenSUSE :: Import Keys For Kmail GPG?

Mar 30, 2011

I just installed openSUSE 11.4 and want to import my public/private keys to use in Kmail. However, after a great deal of searching, I can't find a keyring manager. Is there one installed with 11.4, or do I have to add one and if so, which should I use?

View 3 Replies View Related

OpenSUSE :: 11.4 And Thunderbird 3.1.8 - No Options To Import

Apr 4, 2011

I have noticed that in Thunderbird, when following the path
Tools --> Import --> Import Everything
There are no options (arrived at a "dead end").

View 6 Replies View Related

OpenSUSE :: LibreOffice In 11.4 (original And 3.3.2 From OBS): No SVG Import?

Apr 13, 2011

whenever I try to include a SVG picture into a ODT document (e.g. in Writer) I get a "Graphics filter not found" error message. I'm using the "Insert->Picture->From File" menu. I still have .odt files from OpenOffice in 11.3 around that contain SVG cliparts, so it used to work and SVG support is one of the feature highlights in LibreOffice.

View 4 Replies View Related

OpenSUSE :: How To Import Yast To Debian

Apr 14, 2011

how to import Yast to Debian. I need to know the idea of ​​creating Yast. That is, Yast is designed so that each function has its own konfiguratsioony file whose name is invoked in the code when working with this function. And every function has a number of konfiguratsioonyh files?

View 5 Replies View Related

General :: Import An EPS File In Inkscape?

Oct 28, 2010

I'm using Inkscape, and I'm trying to import an EPS file to use it as a vector and eventually save it as an SVG.

This link here mentions several methods:

[URL]

But the responses aren't rated since it's a forum, so I thought I'd ask here to find the best answer. I'd prefer not to have to use some website to convert the file to a PDF first.

Either way, when I import an EPS into Inkscape, or use the website to convert it to a PDF, in both cases the resulting file loses all colour and gradients, and the EPS file gets cut off on the right side.

It looks like ps2pdf is clipping the file incorrectly, and Inkscape is eliminating the colour.

I have these version installed in Ubuntu Lucid Linux:

Inskape 0.47.0-2ubuntu2
Ghostscript 8.71.dfsg.1-0ubuntu5.3

View 1 Replies View Related

Ubuntu :: Zotero - How To Import PDF Library

Jan 28, 2010

I have looked at heaps of the citation software and have settled on using Zotero for a few months to really get a feel for it. One major barrier is how to import my (large) pdf collection into it in one easy step.

Goal: have zotero import my PDF library in one batch. (ubuntu 9.04)

1. I have tried to do it 1 at a time. The sun will explode before I get that done.

2. I have tried this work around without success: Drag and drop from Konqueror (KDE 3.5, opensuse 11.1) fails for me, too. A workaround to allow drag N drop is to use Firefox as a file browser (enter "file://<location_to_file>" as the URL), and to drag and drop from there. [URL]

Firefox cant find the directory

3. I have tried drag and drop as suggested on the Zotero forums (largely for windows users). No luck.

4. I have searched the web, with no other suggestions that have worked.

View 4 Replies View Related

Ubuntu :: F-Spot Import Of A Directory?

Apr 21, 2010

I have my data on an NTFS drive. When I try to import pictures from this drive, I only get an option for the drive. That is, I cannot choose a sub-folder from which to import. I understand I can tell F-Spot to use sub-folders, but I have many sub-folders with pictures, and I do not want all of them in F-Spot. Is there any way to import a single folder with F-Spot?

I have also tried drag and drop, but I have a hard time getting that to work as well.

View 1 Replies View Related

Ubuntu :: ImportError: Cannot Import Name Cluttergtk

Jul 25, 2010

Tried installing and running entertainer and when I try and run it i get this error:

mike@mike-laptop:~/entertainer/src$ ./entertainer-frontend.py
Traceback (most recent call last):
File "./entertainer-frontend.py", line 25, in <module>
from frontend.frontend_client import FrontendClient

[Code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved