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
35 views

Launch a new window from Gtk+3 app

I want to create an Ubuntu app using Python and Gtk+3. I want to get the contents of the file displayed in the main window and load it into a separate window (load it into another TextView for ...
0
votes
0answers
82 views

Install module BZ2 on python

I'm trying to install the module bz2 on python v2.7. I'm using Ubuntu 12.04 LTS and I have already installed libbz2-dev through Synaptic. I read that I need to rebuild python to take the changes of ...
0
votes
0answers
156 views

Unmet dependency issue installing libmapnik

I'm trying to install CartoDB, and have run into the dreaded "you may have requested an impossible situation" message: $ sudo apt-get install -y libmapnik-dev python-mapnik mapnik-utils Reading ...
0
votes
0answers
135 views

Customize gedit color theme as python idle

class Player(): My gedit used python idle theme so when i type this piece, 'class' show orange but 'Player' is black. so if i want change classname or function name's color into blue, what should i ...
0
votes
0answers
143 views

Telnet and opennig command prompt script in linux

I don't have any major scripting experience and I am really confused about the script which I am working on it. I am using dynagen in Linux and created a basic topology with two routers ...
0
votes
0answers
37 views

Error when recompiling python

Im trying to recompile python 2.7 on ubuntu 12.04, I already installed libsqlite3-dev' and then I proceeded to to this: $python Python 2.7.4 (default, Apr 19 2013, 18:28:01) [GCC 4.7.3] on linux2 ...
0
votes
0answers
55 views

GEOSEXCEPTION error message

I am quite new to the system. Another employee set up the command that I have been using and part of the return after a my usual system run query is below: File ...
0
votes
0answers
45 views

How to install python gtkhtml2

I've try to install Straw 0.27 (using sudo python setup.py install), but got error: Error: 'gtkhtml2' module in package 'python-gnome2-extras' is required to install Straw I've installed ...
0
votes
0answers
58 views

How to get public/private key from cacert.pem

i has download cacert.pem from internet, but how to get cacert.key ? How to get public/private key from cacert.pem ?
0
votes
0answers
44 views

how to setting pip.ini to use cert

How to setting pip.ini to use cert for each link/url/find-links, example: find-links = http://x.y.z/simple/ cert = xxx.pem http://a.b.c/simple/ cert = sss.pem ...
0
votes
0answers
486 views

Ubuntu 13.10 python urllib2.ulropen fails with URLError: <urlopen error [Errno -2] Name or service not known>

The problem is that with normal user I cannot open url's with python urllib2 library: import urllib2 urllib2.urlopen('http://www.example.com/') URLError: <urlopen error [Errno -2] Name or service ...
0
votes
0answers
31 views

No cron job for root

I am trying to make source distribution(python package) which has setup.py file that deploys cron job using subprocess call. But Error is coming : No cronjob for Root Here is setup.py file : $ ...
0
votes
0answers
84 views

Keeping python alive through gnome 3 screen lock?

I've been through the ringer with this one the past few days. I wrote a script to re-target my Altcoin miner every once in a while. It builds a command string from API data grabbed at coinwarz.com on ...
0
votes
0answers
35 views

Which files should I look at when changing Ubiquity?

I've been thinking about changing the Qt version of Ubiquity to make it easier to use ("easier" in this case meaning not to bring the user to a partition manager when choosing a dual boot option). ...
0
votes
0answers
68 views

Difficulties when installing MiningBeast Bitcoin miner

I downloaded and installed the software using a standard packager on Ubuntu 12.04, but when launching I've got the following error: File "/opt/bitcoin/miner/env/bin/run.py", line 5, in ...
0
votes
0answers
404 views

Update Out-of-date-in-apt python on Ubuntu Server 12.04

Basically, I have a server running 12.04 LTS, and for some reason apt only has python 2.7.3, which is ~18 months out of date. Unfortunately, there are some bugs in the older version of python ...
0
votes
0answers
274 views

How can I use the python GstVideo module in 12.04?

I'm trying to get the gstreamer1.0 demos to work on 12.04, python 3.2.3 and am getting the following (precise)raymond@localhost:~/workspace/nexense$ python video-player-1.0.py \ ERROR:root:Could ...
0
votes
0answers
585 views

Python CGI cannot execute in Ubuntu 13.10

Today I just updated my ubuntu from 12.04 to 13.10 . And then some thing happened really bad. I cannot execute Python CGI in ubuntu 13.10 apache 2.4 even through I already config everything in ...
0
votes
0answers
41 views

How to use cursorfx cursors in Ubuntu?

I have tried to use this converter, but I don't know how to and there isn't any instruction how to either. How do you use it? Is there any other way to make a cursorfx file work? (like getting the ...
0
votes
0answers
72 views

WebKit WebView cause error

I try to write simple GUI application using Ubuntu Quickly and Python. So, I need to use WebKit in it and I write something like this: webview = WebKit.WebView() But this line in my code ruined ...
0
votes
0answers
25 views

Execution from browser failed

Following is not working in amazon cloud dedicated server but in my local serve under ubuntu its working. <?php $retval = 0; $cmd = "python xlsx2csv.py claim_2.xlsx claim.csv"; echo "<br ...
0
votes
0answers
67 views

How to control wpa_supplicant via DBus control interface?

I am trying to control the wpa_supplicant by DBus control interface. Any one knows how to do it using python ?
0
votes
0answers
158 views

pygame.error: File is not a Windows BMP file

I am trying to learn Pygame reading Making Games with Pygame and Python. I have Ubuntu 13.04, python 3.3, and pygame 1.9.2. I can only load BMP images in pygame. Research into this has shown me ...
0
votes
0answers
228 views

ImportError: No module named mechanize

I am having an issue where I have definitely installed mechanize both on my machine and in various virtual environments. When i running the program got error message ImportError: No module named ...
0
votes
0answers
102 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
150 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
122 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
273 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
54 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
13 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
68 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
41 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
154 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
167 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
639 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
83 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
700 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
117 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
78 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
136 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
135 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
60 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
280 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
99 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
552 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
25 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
291 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
104 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
62 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
625 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 ...