Python is an interpreted programming language that is often, but not solely, used as a scripting language. A version of Python is included by default on all Ubuntu distributions.

learn more… | top users | synonyms

1
vote
1answer
515 views

ubuntu 12.04 python problem or?

Hi i am trying to fix this for a long time but without success. When i open my zsh terminal i get this error: (terminal is working but error appear) Welcome to the world of tomorrow! ...
1
vote
1answer
509 views

How to install Visual Python?

I'm a Linux newbie but I'm determined to get my favorite applications on my laptop running Ubuntu 12.04. I just installed Cinnamon. I'm trying to install Visual Python and it requires Python 2.7. I ...
1
vote
1answer
157 views

Dragon Naturally Speaking in Ubuntu

I'm trying to get Dragon Naturally Speaking working through Ubuntu.... I set it up in virtualbox, but i found it incredibly tough to access its features through Linux. I know there is a way to do it ...
1
vote
1answer
66 views

Does pyopencl require discrete graphics?

When I try to install the package pyopencl, it pulls in Nvidia stuff (nvidia-current, I think). This appears to install without problems, but then messes up my OpenGL-related things. I thought a ...
1
vote
1answer
56 views

How to get translations on Launchpad for a custom program

I wrote a program and uploaded it to a ppa. This program uses translations which I manually create using pylupdate4 Translate.pro, then Qt-Linguist, then lrelease Translate.proon my home PC. So the ...
1
vote
1answer
530 views

Can't install python-dev. Packages have unmet dependencies. I think it's a wrong Python version

root@Managementserver:~# sudo apt-get install python-pip python-dev build-essential -y Reading package lists... Done Building dependency tree Reading state information... Done build-essential ...
1
vote
1answer
42 views

How to make a Quickly project standalone?

I have a Quickly project. But now I want it to be independent from Quickly. How can I do it? How can I run it without typing 'quickly run'?
1
vote
1answer
582 views

Set CLASSPATH for python

I want to execute a python file called "ex1.py". The execution works fine, the program does, what it ought to do. The problem is the following: This file is stored in the folder ...
1
vote
1answer
911 views

Install Python in Wine

I need to install the Windows version Python 2.7.5 32Bit on my Ubuntu Box in Wine (because I test Euler Math Toolbox on Wine, and this cannot use the native Python). Whatever I do, I get the an error ...
1
vote
1answer
243 views

GoG on Linux installation Procedure

I wanted to install GoG on Linux ( http://gogonlinux.com/ ) and as I went through the install process (which is for Ubuntu12.04) and the result is that I have all the files built by python, but no ...
1
vote
1answer
541 views

gdb uses wrong python

When I launch gdb (on Ubuntu 12.04 LTS) it immediately crashes with the following output: BlockquoteTraceback (most recent call last): File "/usr/lib/python2.7/site.py", line 562, in <module> ...
1
vote
1answer
27 views

Attribute error:portal_url while testing a method

I need to test a method called addServerUrl() using the command "bin/test -t addServerUrl()" in terminal addServerUrl contains the following code: def addServerUrl(self,html_src,prefix): url ...
1
vote
1answer
426 views

How to give a path argument to os.walk() Python function for my Home directory?

I want to use os.walk() in Python and I have to give a path argument to it like os.walk(path). In Windows, I do it as os.walk(c:\\). What os.walk() does is it searches the whole C: directory. In ...
1
vote
1answer
77 views

How to recover Python on Ubuntu 12.10?

I've accidentally removed /user/local/lib/python2.7/dist-packages on ubuntu 12.10. Do I need to reinstall python? Some of the softwares like ibus or software center seem don't work any more. What ...
1
vote
1answer
318 views

How to install weather indicator on ubuntu 12.04?

I tried to install it from the market but that's what it says
1
vote
1answer
72 views

Which is the best package to draw drawings in python?

We are trying to implement the drawing tools like line, circle, pencil, brush and so on in gtk. Is it possible to draw these things into the textview? Would one of these packages work for the ...
1
vote
1answer
106 views

Can I have some help installing python-captcha? dpkg error 1

I have searched around the forums and tried a number of solutions but nothing I have tried has fixed my problem. Here is the terminal info john@ubuntu:/var/lib/dpkg$ sudo apt-get install ...
1
vote
1answer
182 views

writing note taking app, save and load text with tags from textbuffer written in python and glade

I am writing a note taking app with python and glade. I've been searching the web for the how to save and retrieve textbuffer with tags from simple app made with python and glade. I would like to get ...
1
vote
1answer
1k views

Update Manager won't open (error related to pythonverbose)

I'm having an issue with update-manager. Last night, my computer restart suddenly during the update process. Now it won't open and it keep appearing on the notifier with a message warning that an ...
1
vote
1answer
131 views

Changing the Editor PIDA IDE uses

I recently tried the PIDA IDE, and when starting up I selected vim, I now want to use emacs, but there is no option so I tried reinstalling, purging and nothing has worked... How can I change the ...
1
vote
1answer
360 views

Using Quickly to develop apps for Raspberry Pi?

Can Raspberry Pi apps be developed with Quickly on Ubuntu? I know there isn't Ubuntu for the Pi yet but what I want to do is develop the app on my Ubuntu machine, compile it and copy the deb file to ...
1
vote
1answer
675 views

python-tk package is not recognized?

I've got a small program I've written in python (2.7.3) that I'm moving over to another box. However, when executing this line: from Tkinter import * I get this error; Traceback (most recent call ...
0
votes
1answer
20 views

sudo pip install error

I'm currently using Ubuntu 12.04 with pip version 1.0 and python version 2.7. pip --version pip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7) Unfortunately, since trying to upgrade one of ...
0
votes
1answer
18 views

OpenCV error in setting resolution with c910

I've been trying to use OpenCV to control my webcam (Logitech c910) through python. I 've managed to capture images through .read() but they are 640 x 480 and I haven't managed to set the resolution ...
0
votes
1answer
26 views

Ubuntu 12.04 desktop with no launcher and no shortkeys working

I have accidentally uninstalled python 2.7 and python-minimal from my Ubuntu. It gave me an error saying wicd has shut down and there are broken packages. When I restarted the system, only the ...
0
votes
1answer
42 views

Installing Graphite on Ubuntu 12.10

I am trying to install and run Graphite on Ubuntu 12.10. To do it I followed this manual. Unfortunately on the step: Next, we will configure the Graphite database. Go to the Graphite webapp ...
0
votes
1answer
20 views

environment setup for Importing a userdefined module

I am creating an User defined module an .so file and importing that in the python module. The functions in the library are not responding as expected. What are the environment variables to be set ...
0
votes
1answer
39 views

pip install … Failed with error code 1 …

I'm trying to configure my new system with Ubuntu 13.10 but pip won't let me install anything. No matter what package I try to install I always get the error: ...failed with error code 1 in ...
0
votes
1answer
24 views

can't open software-center and software & updates

This is the error i'm getting Traceback (most recent call last): File "/usr/bin/software-center", line 130, in <module> app = SoftwareCenterAppGtk3(options, args) File ...
0
votes
1answer
40 views

undefined symbol: PyExc_TypeError

I'm using Ubuntu 12.04 and I have weird problem that started appearing. I've been using virtualenv command for working with my Python projects and I never had trouble with it. However, for some reason ...
0
votes
1answer
39 views

python photometry tools

Anybody has experience with photometry? I am trying to use ppt (Python Photometric Toolbox) with no success. I have two branching questions: anybody can suggest a WORKING photometry solution ...
0
votes
1answer
39 views

How to change window opacity dynamically in Python and Quickly?

The app is written in HTML and is running using webkit and Quickly. The opacity can be changed using Glade. I want to add a slider functionality in HTML which will change the title of the HTML ...
0
votes
1answer
159 views

Installing pyusb on ubuntu 13.10

I tried this link, but got the following message on shell: sudo apt-get install python-pip : vineet@vineet:~$ sudo pip install --upgrade pyusb Downloading/unpacking pyusb Could not find a version ...
0
votes
1answer
25 views

Cannot open application in Quickly

I'm creating web browser in Quickly. When I am running my application (quickly run) I have errors about gtk. Without the WebKit code it can run. Sorry about my english. Errors: ...
0
votes
1answer
267 views

Python PIP ImportError: No module named encodings

Bonjour, I've just installed pip by doing sudo apt-get install python-pip But I am facing a problem... When I want to download a module (pygame for exemple) it fails by throwing these errors ...
0
votes
1answer
731 views

AttributeError: 'module' object has no attribute

I am trying to get the depth map of two stereo images. I have taken the code from http://docs.opencv.org/trunk/doc/py_tutorials/py_calib3d/py_depthmap/py_depthmap.html I get the following error: ...
0
votes
1answer
57 views

How to download easygui for python3.3?

I have python 2.7 and python 3.3 in my Ubuntu 13.10 system.I have easygui in-built for python2.7 but not for python3.3.But when I download the zip file of easygui and unzip it and type "python3 ...
0
votes
1answer
478 views

IOError: [Errno 13] Permission denied. FEniCS JIT compiler

I keep getting the permission denial error: IOError: [Errno 13] Permission denied, when I try running making a function space. I think it it something to do with the JIT compiler. Somehow, all the ...
0
votes
1answer
322 views

gedit R plugin not working after upgrade to 13.10

I recently upgraded to 13.10, and my R plugin for gedit is no longer working. When I go to gedit->preferences->plugins and try to enable "R integration", I have little red error symbol and a message ...
0
votes
1answer
107 views

Camdesk doesn't work

I'm trying to use camdesk following this OMG article, but camdesk isn't working and not sending any error messages. I open it in terminal using: ./camdesk.py A white square appears in the middle ...
0
votes
1answer
163 views

How do I enable CGI execution in the root directory of Apache

I have built an Ubuntu server and need to execute CGI scripts in the root directory. I keep finding tutorials on how to execute them from cgi-bin but that isn't desired in my situation. I've installed ...
0
votes
1answer
151 views

pygame installation for ubuntu 12.04 LTS

Can anyone suggest me how to install the pygame for use in the construction of the graphics games using the python?
0
votes
1answer
2k views

`pip: command not found` but it's installed

sudo easy_install pip Searching for pip Best match: pip 1.4.1 Processing pip-1.4.1-py2.7.egg pip 1.4.1 is already the active version in easy-install.pth Installing pip script to ...
0
votes
1answer
149 views

Error using fluidsynth

I installed fluidsynth following the instructions here: http://sourceforge.net/apps/trac/fluidsynth/wiki/Download ...which were just sudo apt-get install fluidsynth But get the following error when ...
0
votes
1answer
205 views

Sending UDP packets with `logger` command

I have couple different solutions for running custom syslog server (based on https://gist.github.com/marcelom/4218010). The problem I am facing is that the following command does not send UDP packets ...
0
votes
1answer
48 views

pynag package not showing up in apt-get?

I need to install pynag, following the readme: http://code.google.com/p/pynag/source/browse/README.md It says to use apt-get. But it doesn't appear it found any packages? sudo apt-get install ...
0
votes
1answer
62 views

Use grabc in python script

I want to work with the return value of grabc. If it returns #000000 then I want to take it to a=#000000. But this outputs the value in terminal. So How can I do this? [N.B: grabc is a tool for ...
0
votes
1answer
59 views

Is there a way to attach a pygame window to glade window in quickly?

I am trying to develop a game so that when i press a button which is created using glade window i should be able to run the pygame window i have succeeded so far but the pygame window opens separately ...
0
votes
1answer
2k views

Install cx_Oracle on Ubuntu 12.04 LTS

I'm trying to install cx_Oracle for Python on Ubuntu 12.04 LTS (64 bit). I've installed Instant Client Package from: http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html I did it ...
0
votes
1answer
2k views

How can I run python scripts on my webserver?

I have a test script, /var/www/etym/cgi-bin/test.py #!/usr/bin/python # -*- coding: UTF-8 -*- # enable debugging import cgitb cgitb.enable() print "Content-Type: text/plain;charset=utf-8" print ...