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

0
votes
0answers
87 views

Quickly app not working on raspberry pi

I started developing an app using quickly which will target a raspberry pi board. I have created a single screen so far which contains a few buttons and labels. I run this on the board by doing a ...
0
votes
0answers
121 views

Installing the python 2.7 plugins to play the online radio

Whenever I want to stream the online radio tunein, it says: python(2.7) needs to install the plugins to play the file of type txt/html decoder And the result is that I am not able to play the ...
0
votes
0answers
87 views

Installing Mysql Workbench: Package python-minimal cannot be removed

I am a newbie in linux and Ubuntu. I tried to install Mysql Workbench on Ubuntu 12.04.3. I have downloaded .deb installation file and tried to run it. After double click on file, a dialog appeared ...
0
votes
0answers
173 views

how to install & run ActivePython 2.7.X under wine?

I have Kubuntu 12.04 and I purchased CrossOver Linux. I'm using CrossOver version 12.5.1 (latest version). I need to install ActivePython 2.7.X for Windows (x86) from ...
0
votes
0answers
44 views

Control Media via Arduino

I want to create an application that controls the volume, play next\last, stop\play and things like this (I don't know what they called) like in a keyboard. I have tried to find how to do this with ...
0
votes
0answers
11 views

retrieve statistics on Ubuntu packages

how can I retrieve a list of all packages or better specific packages offered by Ubuntu? Preferable, I would like to create a list of certain packages shipped by Ubuntu but on a computer in the cloud ...
0
votes
0answers
50 views

Probem with NLTK Installtion

i want to install python nltk . but i got problem with installation of Setuptools: http://pypi.python.org/pypi/setuptools i follow the steps given in read me file but i got problem with (--prefix ...
0
votes
0answers
38 views

Error installing gPodder

A few weeks ago (newbie alert!) I started using XUbuntu 12.04 with Xfce 4.8. I'm trying to install gPodder Podcast Client (see https://launchpad.net/~thp/+archive/gpodder). I've added the PPA via ...
0
votes
0answers
140 views

Software Center opens and closes

Ubuntu 13.04 Software Center opens and then closes. This is the output when I try and run it from the terminal. I have tried removing and re-installing. Any suggestions would be much appreciated. ...
0
votes
0answers
164 views

Error while running software related programs (Expected GObject.Object, but got PyCObject)

Here's the output of console when I try running the software-center : 2013-10-25 20:50:45,670 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None' >2013-10-25 20:50:46,640 - ...
0
votes
0answers
607 views

multiple versions of python

I have just installed 13.10 and everything seemed to be working fine. As most of my development happens on top of python2.7, that's what I installed along with a bunch of other packages... Soon ...
0
votes
0answers
72 views

Only able to import python module inside the installation directory

I installed 64bit package of cefpython in Ubuntu 12.04 LTS (http://code.google.com/p/cefpython/). The problem is I am not able to run the examples. It says no module named wx. But when I navigate to ...
0
votes
0answers
549 views

Cannot import gnuradio. Is python set correctly?

When launching gnuradio companion it gives this error message: Cannot import gnuradio. Is the python path environment variable set correctly? All OS: PYTHONPATH Is the library path environment ...
0
votes
0answers
102 views

How do I solve this Bluetooth programming problem?

I've been trying to get BlueZ and PyBluez to work on my 12.04 Ubuntu desktop. Everything installed correctly, but I can never find any of my devices: >>> import bluetooth >>> ...
0
votes
0answers
62 views

How to do input redirection with nohup?

I want to run python argument1.txt argument2.txt >logfile.log with nohup, but I get no output because it is redirecting the input to null. I want it to accept command line arguments at first and ...
0
votes
0answers
114 views

xml.parsers.expat.ExpatError problem?

I am using python script for communicating with server from client. It is working fine, but since last weak the client is not able to communicate with server. Then while check the code, it throws ...
0
votes
0answers
114 views

Python installation problem on ubuntu

I tried to launch dropbox on ubuntu. I got the following error: Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 563, in <module> main() File ...
0
votes
0answers
327 views

Openshot 1.4.3 no longer recognising blender when making animated titles

I was using openshot and blender to create some animated titles and it was working fine until openshot just started to cry out for blender for no apparent reason. The previews work fine, and some ...
0
votes
0answers
57 views

Ubuntu One Oauth login from Python

I logged into the Ubuntu One and sync (or almost read) files from my web page, all done with Python by following these steps. 1. Created a new token in Ubuntu SSO (login.ubuntu.com) ([API docs][1]) ...
0
votes
0answers
259 views

Python script works fine with root but doesn't work with sudo

I have a python script that I run as root and it works fine. When I try to run it with another user (not root) I use sudo command, but it doesn't work. As root, I have typed: /usr/bin/python ...
0
votes
0answers
84 views

python module can be found using shell but not in virtualenv

When I do import numpy on my shell, numpy is found (I can use it). However, when I workon my virtualenv import numpy gives me no module named numpy error. I tried to pip install numpy while working ...
0
votes
0answers
447 views

Strange problem during installation of PySide

I have Ubuntu 10.04 wich Qt 4.8.5, and recently I have been trying to install PySide to create gui for my appliaction. After I am installing it via pip I get an error which is not common as I could ...
0
votes
0answers
22 views

After installing them, export both installation path, NDK version and API to use?

http://python-for-android.readthedocs.org/en/latest/toolchain/#introduction How to export the path for the ndk after installing the sdk.. How to install ndk in the first place?Please refer to the ...
0
votes
0answers
263 views

How do I solve an import error from PyOpencl? Error = undefined symbol: PyUnicodeUCS4_FromEncodedObject

I followed instructions from here Everything appears to be installed correctly as I received no errors during installation. When running any of the example .py files I receive the following error: ...
0
votes
0answers
91 views

strange error from import pygame on ubuntu 13?

I have used pygame on my computer many times before but all of the sudden i get an error when trying to import it. The problem may have started when i installed VisualBoyAdvance. The error says: ...
0
votes
0answers
60 views

Add logo to default icon set Ubuntu 13.04

I have Python and for some reason, the IDLE window doesn't show a logo on the launcher and in the dash it's a very low quality one. Is there any way I could add/change the logo in the default icon ...
0
votes
0answers
457 views

Pycrypto installation problem on Ubuntu

Everything works fine until this: $ cd pycrypto-2.6 $ python setup.py install This is the output: running install running build running build_py running build_ext running build_configure ...
0
votes
0answers
42 views

How to get the intial value from the volumebutton?

I've written some code using quickly and gstreamer. I've linked volume button for volume management and also set the value of 0.4 of 1.0. But it printing the value only when i'm changing it. I want it ...
0
votes
0answers
342 views

Rsyslog with omprog and condition filter not success

We want to filter syslog facility local4 and message contains "HTTP: Invalid Response: No object data received for" to the custom script and use the script doing some process and output to the file ...
0
votes
0answers
63 views

How can i create fancy app indicator with custom widgets in python?

I want to create App Indicator that would contain buttons and entries. How can i do that? I see there are some indicators that are complicated like that.
0
votes
0answers
47 views

how to replace navigation portlet with my own template in plone 4.3

can anyone tell how to replace a navigation portlet with my own template. I did like this I created one new class for portlet in my .py file and its look like below class ...
0
votes
0answers
109 views

python-glpk installed but cannot be “import”

I'm using 13.04. Having sudo apt-get install python-glpk I tried to import glpk in my python 2.7 and ipython session. Both attempts have failed. Python and ipython both could not find the module ...
0
votes
0answers
33 views

functions and munes missing in IDLE for ubuntu 12.04?

I wanted to use IDLE for python3. But it seems like some functions are missing. E.g. i can't find the menue "Run" or "Shell". Furthermore the shortcut "Shift-Key-F6" to restart the shell doesn't work. ...
0
votes
0answers
101 views

How can I enable matplotlib backends in a virtualenv for python 3?

I have Python3 and ipython3 installed on my Ubuntu 12.04 (64bit) I would like to create some virtual environments that don't share the system-wide installation, but I still want to be able to use ...
0
votes
0answers
35 views

Showing-Desktop-Mode: Please check if you got the same behaviour

Please, could someone check if she/he gets the same behaviour? I am running Ubuntu 13.04. After a boot, or before the desktop was shown (with the show desktop button or super+d), please open any ...
0
votes
0answers
56 views

IDLE 3 Using 3.3.1

When I open the IDLE 3 application it says: Python 3.3.1 (default, Apr 17 2013, 22:32:14) [GCC 4.7.3] on linux Type "copyright", "credits" or "license()" for more information. >>> Then ...
0
votes
0answers
123 views

How to find the hang process in ubuntu 10.04?

I need to monitor remote system by using team viewer software, and sometimes I'm not able to connect with the server side. In that situation, I called up authorized remote system user and tell them to ...
0
votes
0answers
55 views

Developing nautilus thumbnailer

According to this information from Gnome Developers site, i have to write an application (without interface), and some schema file, so i create a python script that can get address of file and ...
0
votes
0answers
25 views

import/export projects

can any one tell how to solve TypeError:('object.__new__(X): X is not a type object (classobj)', <function _reconstructor at 0xb766fa04>, (<class DateTime.DateTime.DateTime at 0x9382d4c>, ...
0
votes
0answers
195 views

python import problems

I have tried to install the pyPdf package by using apt-get. The package seems to have been installed in /usr/share/pyshared/. The problem is that python doesn't see the package and thus can't import ...
0
votes
0answers
297 views

Creating a desktop panel with python, html, and javascript

My goal is to create a custom desktop panel for ubuntu. I am using pygobject (gtk3) to create the dock window and python-webkit for rendering the panel on the screen. Currently, I have been able to ...
0
votes
0answers
210 views

XAMPP MySQL Python not playing nice together

I'm trying to learn MySQL but wanting to host my site in cgi/python. I have XAMPP install (apache and friends) for testing my site before I move it to my VPS. I've installed python-MySQLdb but every ...
0
votes
0answers
156 views

dpkg Errors & sitecustomize.py

I recently encountered this problem during a package installation. I was trying to install tkinter on my python 3.2. However I came up with a strange error that is way over my head. Several hours ago, ...
0
votes
0answers
25 views

Using Glade with Python

Using Ubuntu 12.04 and looking for a source documentation on using Glade. I really hoping for PDF's. Any answer/suggestions will be greatly appreciated. Thanks.
0
votes
0answers
312 views

GDB import error “ImportError: No module named _weakref ”

I am getting below error when I try to run gdb. from the command line. If type gdb , I get the following error. root@ubuntu:~# gdb Traceback (most recent call last): File ...
0
votes
0answers
297 views

Move/Arrow keys not working in fresh install of python 3.3 on Ubuntu 12.04

I installed python3.3 in Ubuntu 12.04 by doing: sudo mkdir -p /opt/python3.3.2 tar xJf Python-3.3.2.tar.xz cd Python-3.3.2 ./configure --prefix=/opt/python3.3 make make test sudo make altinstall ...
0
votes
0answers
43 views

How to configure profiles directory in main configure.zcml to create a own viewlet

I am trying to create a own viewlet to change the default plone site using viewlet.I created viewlets.xml file under profiles/default directory.In the viewlets.xml file contains the code to hide the ...
0
votes
0answers
18 views

confgure viewlets.xml file

i created viewlets.xml file under profiles/default directory.. now i want to configure xml files from main configure.zcml file.. i added the line in main configure.zcml.But we are not able to ...
0
votes
0answers
128 views

Installing Python2.7 from source?

I am trying to build python 2.7 from source. I have gotten past the Unicode error and have gotten a different one. It was saying a module couldn't be found (specifically zlib). So I googled and said ...
0
votes
0answers
170 views

Python2.7: undefined reference to `SSLv2_method when trying to make

I noticed that ssl location was commented out on Setup.dist. After I set that piece back, I pointed the SSL variable to /usr/lib/openssl When I try to make, I get the following error ...