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

configure python and cvblob

Hi I'm trying to configure cvblob in order to use it with python ,using the explanition h here but when i came to test it i got this error: ...
0
votes
0answers
13 views

Error while trying to run Pycocuma Contact Management program

I need help understanding this message! mainctrl = MainController() File "/usr/lib/python2.7/dist-packages/pycocumalib/MainController.py", line 79, in __init__ self.view = view = ...
0
votes
0answers
37 views

Bash if password filled save it

I am trying to save a password to gnome keyring via python script. The python script will be runned from bash script if password is filled in zenity GUI. Example: User inserts hes/hers password to ...
0
votes
0answers
39 views

xdot python script for viewing graphs generated by graphviz is not working on ubuntu 14.04

After upgrading my system to ubuntu 14.04 i am not able to open graphs generated by graphviz using xdot. Prior to that i was using ubuntu 12.04 and there was no problem of such sort observed. below is ...
0
votes
0answers
16 views

How to install pythoncard?(any alternate method)

How to install pythoncard?I have tried browsing the software center for it and I installed it,but when I run a pythoncard-based program,it shows me that there is no module named pythoncard.Can I ...
0
votes
0answers
31 views

Django chmod using wrong user:group

I have installed django and some other services to start up one front-end community forum. However i've managed to do it everythings run but i have problem with CHMOD permissions. My nginx server ...
0
votes
0answers
231 views

After starting upgrade to Ubuntu 14.04 and reverting to 13.10, eclipse pydev debugger stopped working

I started the upgrade to UBuntu 14.04, but it failed and the system reverted back to old settings. I have been convinced to stay with 13.10 for now. However, when running python code in eclipse with ...
0
votes
0answers
117 views

/usr/bin/ld: error: cannot find -lpython2.7

While installing pyscard.py I get this error, gcc -pthread -shared -Wl,-rpath,$ORIGIN/../lib -g -L/home/builder/jenkins/workspace/Python_Masters/ARCH/x86_64/label/Linux/core/lib ...
0
votes
0answers
108 views

system-config-samba and galternatives won't work on Trusty with similar errors

Fresh installed Trusty, then I installed two programs I always use, galternatives and system-config-samba. They both fail with similar output: system-config-samba output: gksu system-config-samba ...
0
votes
0answers
56 views

ninja ide programming python 2.x and 3.x

is it possible to program python 2.x and 3.x with Ninja IDE? if so, where do I specify which version I'm currently using? thanks peeps edit: actually, it seems that in the same file, ninja ide ...
0
votes
0answers
32 views

Multiple button clicked signals emitted for a single click

Writing a cut/copy/paste feature for a simple filebrowser in gtk. Every cut/copy button/paste click emits a progressively higher number of signals . Here is the part of the program that deals with ...
0
votes
0answers
162 views

Issues with python-pip and speedtest-cli

dpkg: error processing python-pkg-resources (--configure): subprocess installed post-installation script returned error exit status 137 dpkg: dependency problems prevent configuration of ...
0
votes
0answers
81 views

install 64 bit mysql

I had installed mysql by using below command. sudo apt-get install mysql-server But this a 32-bit mysql installation. i want to install 64-bit mysql. Please advice me how to delete 32bit mysql and ...
0
votes
0answers
37 views

MySQLdb on Brython?

Hi there I'm working on a server-based point of sale for a sports club, and downloaded Mysqldb lib so that I can access and modify it through python scripts, they work great!, so I decided to use ...
0
votes
0answers
86 views

tesseract OCR Engine reorganization problem

i'm trying to use 'tesseract' on JPG image's. its seems that it doesnt recognize the number's and character's in the command-line currently. but when i use OCRFeeder manually and select the bounds ...
0
votes
0answers
195 views

OpenERP server problem message when installing an app

I recently installed open erp v7 on ubuntu 13.10, I could install the warehouse app fine, as well as the sales app , but I'm having trouble installing a few other apps. It looks like it is either a ...
0
votes
0answers
18 views

itunes2rhythm python3 script errors

while trying to run this script https://github.com/guillier/itunes2rhythm in python3 i am getting multiple errors about localhost blah blah. I think what is happening is that the library file is ...
0
votes
0answers
33 views

Create tab using Gtk+3 and Python and load file into it

I want to create an Ubuntu app using Gtk+3 and Python. In the app I want to be able to get the file from the user; create a tab and load the file into it (i.e. into the TextView that will be ...
0
votes
0answers
39 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
166 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
200 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
176 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
157 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
56 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
62 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
65 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
52 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
541 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
34 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
95 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
36 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
410 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
310 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
627 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
49 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
74 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
80 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
167 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
109 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
177 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
134 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
369 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
55 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
14 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
69 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
159 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
170 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 - ...