1
vote
1answer
37 views

How to update python from 2.7.3 to 2.7.4 on Ubuntu 12.04?

I am running Ubuntu 12.04 with python 2.7.3 installed. How can I update the version of python to 2.7.4? apt-get install python2.7 does not install anything new apt-get update python2.7 does not ...
0
votes
1answer
31 views

Installing Python 3.2.x on 12.04

I'm completely new to Ubuntu (and any OS outside of Windows). I would like to use my newly formatted and installed Ubuntu desktop to code in Python. The problem is, I don't know how to install the ...
0
votes
1answer
41 views

How to set quickly to use python3 when creating new applications in Ubuntu 12.04

I'm just starting to learn python and use the standard set of tools in ubuntu 12.04 (quickly, glade, gedit). When I do quickly create ubuntu-application foo the application uses python 2.7 by ...
0
votes
0answers
37 views

12.04: I installed python 3.3 and now I can install or remove anything

I downloaded the lastest python 3 source, built it and installed it along side 2.7. These are the commands I used to build and install it: ./configure make make test sudo checkinstall -D make ...
-2
votes
1answer
36 views

python idle offline installer

Ubuntu 12.04 LTS. Surprisingly, IDLE is not included by default. Python is there. I prefer to download tar.gz or .deb installer for IDLE. Googled to look for it, but could not find. Where can I get ...
0
votes
1answer
28 views

Python preferences on eclipse

I'm using ubuntu 12.04 Ive installed eclipse and downloaded python for it But when I go into the preferences I cannot find python I am a complete beginner at this even with commands in ubuntu ...
0
votes
0answers
34 views

python applet to create menu on top bar of ubuntu

This code creates menu on top of my ubuntu screen . But it only works in unity how can I make it work in gnome . #!/usr/bin/env python import sys import gtk import appindicator import subprocess ...
0
votes
0answers
38 views

gnome-screensaver-command on python

I have the following code to check whether the screen is locked or not (using gnome-screensaver) gnome-screensaver-command -q | grep "is active" From this link, How can I put the display to sleep ...
2
votes
1answer
96 views

running python in vim

I have tried Googling but I couldn't find anything relevant. Is it possible to program in Python on VIM and do something like :!iPython to have Python execute the code? Last time I tried that, ...
0
votes
2answers
57 views

python-scipy test freeze in ubuntu 12.04

I have a new installation of Ubuntu Server 12.04 LTS. Running the test of python-scipy failed to go through and stopped as the display below. scipy.test() Running unit tests for scipy NumPy version ...
0
votes
2answers
109 views

Broken python (2.7) after manually building and installing python 2.6

running Ubuntu 12.04, I had the usual python 2.7 in place . I needed python 2.6 , so I downloaded the source and did ./configure make sudo make install A mistake, as I did not want to replace my ...
1
vote
1answer
73 views

How to install Python module Urlib2 on Precise?

This is odd. I thought urlib was part of bundled Python but apparently I was wrong. >>> import urlib Traceback (most recent call last): File "<stdin>", line 1, in <module> ...
0
votes
0answers
65 views

Better Python Console not working on 12.04

I installed the plugin (copied the files to /usr/lib/gedit/plugins/) but when I hit the f5 when a python file is open in the gedit,nothing happens.Only a message is seen at the bottom of the gedit ...
1
vote
0answers
77 views

IPython qtconsole not launching, Ubuntu 12.04

When I try launch Ipython qtconsole from terminal, I get the following error: python: /build/buildd/sip4-4.13.2/siplib/siplib.c:7915: sip_api_can_convert_to_type: Assertion `(((td)->td_flags & ...
1
vote
2answers
180 views

How to find python installation directory on ubuntu

I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ? Is there any way I can let shell ...
2
votes
1answer
67 views

Python 3.2 remove issue

I have install python3.2 alongside python 2.7.3 on Ubuntu 12.04 through sudo apt-get install python3.2. And now I removed it through sudo apt-get remove python3.2. Then when I type python3.2 in ...
3
votes
1answer
109 views

How to activate flash player for a Quickly created webview/webkit app

I created a web browser program using webview/webkit as the web displayer. I noticed that when I went to youtube only a few videos worked. I am pretty sure that I have to tell webview to activate ...
0
votes
1answer
138 views

Django installed, but can't import django in python

I've installed Django multiple ways, via apt-get and pip install. They all say I have the most recent version of Django. Now whenever I run python in Terminal and type in import django, I receive ...
1
vote
0answers
88 views

My Unity bar is missing and I cannot log in [closed]

Hello I am running a dual boot of Vista and Ubuntu 12.04. I have been testing the open beta if the Steam gaming service. I ran into some issues installing it. But nothing crazy and it did work. I ...
0
votes
2answers
421 views

How to fix broken python installation

I have done something with my python installation, don't remember what exactly. But I am getting an error when I try to open python command line now: richard@richard-desktop:~/projects/hello$ python ...
1
vote
1answer
702 views

import numpy - no module named multiarray

On Ubuntu 12.04 64-bit, I installed python 2.7.3, and numpy 1.6.2. When I try to import numpy, I get this: erelsgl@erel-biu:/host/Dropbox/ai/routes$ python Python 2.7.3 (default, Nov 25 2012, ...
0
votes
1answer
215 views

Python 2.4 on Ubuntu 12.04

I want to develop a Python application on Ubuntu 12.04 using python 2.4, but since the default version of python on ubuntu is 2.7. I cannot get the libraries and packages to work for python 2.4. I ...
0
votes
0answers
116 views

Python Crashes While trying to run GTK Script Help?

I am using Ubuntu 12.04, While I am trying to run a python script developed for providing native GTK interaction with python, It crashes so does python. My Other GTK python programs are running ...
1
vote
0answers
68 views

OpenQwaq Forum Error

I'm trying to get OpenQwaq 1.0.01 to work, currently running Ubuntu 12.04. When I start it up in the terminal I get this string first off: ...
0
votes
1answer
711 views

gtk problem in ubuntu 12.04

I installed ubuntu 12.04 64-bit I have python 2.7 with some additional packages. When I try to use simple command in python like for example help('modules') I have an error and python terminates. ...
3
votes
1answer
246 views

“No such file or directory” error when downloading with 'youtube-dl'

Every time I try to download YouTube videos using youtube-dl it gives me this: ERROR: unable to open for writing: [Errno 2] No such file or directory:<br> 'Filename.mp4.part' How can I fix ...
2
votes
0answers
46 views

Install Both Python 2.7 and Python 3.3.0 on Ubuntu 12.04 [duplicate]

Possible Duplicate: need to have 2 versions of python? I have projects that require different resources from the two different versions of Python. My question is can I have both versions of ...
2
votes
1answer
310 views

reliably restarting services using upstart or runit

I want to reliably restart my app and web server processes on crash. If I understand correctly, runit starts every service as a child process. If the child process crashes this sends a signal to the ...
0
votes
1answer
290 views

Cannot run program - 'org.gnome.desktop.interface' is not installed

I am trying to make a python app that basically views a web page with QUICKLY on Ubuntu 12.04. When I do sudo quickly run in terminal, I always get this error: (saikoroubuntu:5283): GLib-GIO-ERROR ...
0
votes
1answer
155 views

Can't center dialog window above main window when using Glade (Quickly)

I have a dialog opening when I press a button in my application and I want it to center above the application's main window, but I can't find a way to do this. I'm using Quickly (Python) and Glade. ...
5
votes
2answers
214 views

How to run a Python script for a specific user log in?

I have written a python script and would like that to run for a specific user log in. The script has two images, one with the Windows logo and the other for Linux. When the Windows logo is clicked ...
0
votes
1answer
16 views

error log for papercut crash

it looks like papercut is causing some problems after an upgrade: Where is this log located?
1
vote
1answer
1k views

Can't decompress data; zlib not available

I already have Python2.7 but due to certain reasons I need to install Python2.4. So, I installed python2.4 and when I run ez_setup.py with Python2.4/python ez_setup.py, I got the error that says ...
0
votes
2answers
409 views

Installing audio libaries for pymedia

I am building pymrdia from a tarball, but when i install i get: Using UNIX configuration... OGG : not found VORBIS : not found FAAD : not found MP3LAME : not found ...
2
votes
1answer
143 views

Pinning ipython3 qtconlsole to launcher

I've installed both ipython (which uses Python 2.7) and ipython3, and the respective qtconsole packages. Both work when I call them from the terminal like ipython qtconsole. However, when I search for ...
0
votes
0answers
94 views

Multiple Phonon Volume Sliders

I'm working on a soundboard program. The window is populated with multiple instances of the below SoundPlayer class. When running my program the volume sliders don't affect their own player. The last ...
3
votes
1answer
2k views

Why can python3 not import gi.repository?

Python2 does not suffer the same problem. greg@greg-precise:~$ python3 Python 3.2.3 (default, May 3 2012, 15:51:42) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more ...
1
vote
0answers
634 views

Python Speech Recognition Library Ubuntu 12.04 LTS

I have done some research and found this article on integrating Voice Recognition in python using Gtk, GStreamer, and CMU PocketSphinx, but I am curious to know whether there are any alternative ...
3
votes
1answer
134 views

Ambiance theme text stays black -

I have used Jono Bacons creating your first ubuntu application to discover how to theme toolbars using the ubuntu theme. I followed the exact same code and the program loads with a black toolbar, ...
3
votes
1answer
154 views

How do i tell ubuntu to only install is asked for and do not bring other dependencies which will break the whole system?

How can i only install python-webkit but not other packages? which is showing to install? (no gstreamer*.*, i do not want to have any single files installed in my distro because of GPL license and it ...
1
vote
1answer
205 views

Problem with Python3 picking Python2 package

I installed python3-numpy package, but trying to import it in Python3 interpreter I get this: $ python3 Python 3.2.3 (default, May 3 2012, 15:54:42) [GCC 4.6.3] on linux2 Type "help", "copyright", ...
0
votes
1answer
121 views

ImportError: No module named platform.credentials [closed]

I'm trying the sample code on http://developer.ubuntu.com/resources/app-developer-cookbook/ubuntu-one/adding-ubuntu-one-files-support-to-your-app/ to learn app integration with Ubuntu One. I keep ...
1
vote
1answer
144 views

Is there a recommended DB to work with Quickly?

CouchDB used to be the recommended DB to work with Quickly until 12.04, when it was dropped out. Now, I want to know if there is another DB recommended to replace CouchDB that works nicely with ...
2
votes
5answers
2k views

Where is Python source code?

I have Python 2.7 installed for learning purposes (I'm a starting programmer reading 'Learn Python The Hard Way') and wanted to know how some things were done. I installed it from Synaptic and want ...
0
votes
0answers
332 views

scewed up default installation of python in ubuntu 12.04 in my VPS server

I am running a VPS server with ubuntu 12.04 LTS. I messed up the default python2.7 installation, now when I try to run python it gives "illegal instruction" This is the error which I get, when I ...
1
vote
0answers
373 views

Programming with DBus using PyQt

I'm trying to write a desktop environment that supports the global menu Before I get started with my main task In PyQt I'm trying to get the dbus code to work with QtDBus as a proof of concept. Here's ...
10
votes
1answer
10k views

How do I run Python 3.2.3?

The description here says that 12.04 ships with python 3.2.3 as well. What command do I run to get this? Running python -v or python2 -V or python2.7 -V all give me the same result 2.7.3. There are no ...
2
votes
1answer
461 views

Where is libpython-dev?

I've just upgraded to 12.04 and I can't find libpython-dev anymore. Can you tell me where it is?
36
votes
8answers
29k views

How can I install Python 2.6 on 12.04?

According to https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop "Python 2.6 is no longer available for install". I need to support legacy software that runs only on Python 2.6. How ...
1
vote
1answer
624 views

How to get pygtk with python2.6 ? the update to 12.04 removes it. (cannot go python2.7 because of specific extensions)

I have updated to the latest 12.04 and it removes the pygtk bindings for python2.6. I've looked at the python-gtk package and it now installs only the lib for python2.7. The problem is : I have an ...

1 2