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
0answers
197 views

Installing gphoto2 to use the python binding not working

I want to use the Python bindings that are available for gphoto2 and this requires a build from their tarballs. My first step is simply to build gphoto2 such that it recognizes my camera and thus far ...
1
vote
0answers
154 views

I have a problem installing activestate python instead of the default. How can I fix it? Syntax error: “)” unexpected

I am getting this error when trying to run the ./install.sh for ActivePython. How can I correct this? cd /tmp wget ...
1
vote
0answers
133 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
0answers
58 views

How safe is running Wubi's main.pyo using pyrun?

Wubi fails to run for me (see this unresolved question) I have found out that I get the first wubi installation screen if I run pyrun main.pyo from the %TEMP%\pyl**.tmp directory. If I proceed in ...
1
vote
0answers
717 views

uwsgi can't find python plugin

I'm trying to deploy a python app to my Ubuntu 12.04.1 VPS running Nginx / uWSGI. I've setup my server following this guide. When I restart uWSGI I get this message: nickd@my-vps:~$ sudo ...
1
vote
0answers
112 views

Permission Denied, Trying to Install rbenv

I'm trying to set up my VPS for the first time to deploy my rails app. I was trying to install rbenv, and encountered the following error. deployer@max:~$ rbenv bootstrap-ubuntu-12-04 bash: ...
1
vote
0answers
198 views

missing 'ldconfig' and 'start-stop-daemon'

when I tried to install numpy and pandas, I got this problem. Can you help me? Thank you! dpkg: warning: 'ldconfig' not found in PATH or not executable. dpkg: warning: 'start-stop-daemon' not found ...
1
vote
0answers
94 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: ...
1
vote
0answers
92 views

Quickly Warning

Every time I run my application I receive these warning errors can anyone tell me what is causing them? $ quickly run /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: ...
1
vote
0answers
203 views

Keybindings for individual letter keys (not modifier-combinations) on a GtkTextView widget (Gtk3 and PyGI)

I've been able to set several keybord shortcuts for a GtkTextView and a GtkTextEntry using the new css provider system. I'm finding, though, that I only seem to be able to establish keybindings for ...
0
votes
0answers
7 views

ImportError: No module named _io

I just fresh installed ubuntu 14.04LTS and i am trying to use pip but i am guetting the following traceback: (nlmanagement)psychok7@Ultrabook:~/code/work/nlmanagement$ pip freeze Traceback (most ...
0
votes
0answers
25 views

Unity tweak tool crashes from Dash and from command line in Ubuntu 13.10

I upgraded from 13.04 to 13.10 on my Macbook Pro retina (early 2013 model 10,2) and now Unity-tweak-tool fails on start on both the command line and from Dash. It appears to have something to do with ...
0
votes
0answers
10 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
10 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
13 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
34 views

Problems with SSL(django-sslserver) on Django project

I am using Django 1.6.2 in virtualenv, Ubuntu 12.04 LTS. As I wanted to shift my project to https, I installed django-sslserver. The project needs self signing, and works fine for Home Page. ...
0
votes
0answers
21 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
51 views

Is it possible to downgrade the default version of Python from my Ubuntu installation?

I have installed Ubuntu 14.04 which comes with Python 3.4 installed by default. But I wish to downgrade it to Python 3.3 for my needs. However, when I try to remove it, it also wants to remove other ...
0
votes
0answers
27 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
56 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
14 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
22 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
31 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
15 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
55 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
67 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
32 views

How to fix this software-center error? (no module named path)

Ubuntu 12.04, python 2.7. When I try to run software-center, it outputs: $software-center 2014-03-06 11:12:02,083 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None' 2014-03-06 ...
0
votes
0answers
75 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
17 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
22 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
21 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
33 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
29 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
76 views

Specifying Python Distribution in Ubuntu 13.10 (for Continuum Anaconda Python)

I've been trying to install Python on my Ubuntu 13.10 VM. Ubuntu already comes with Python, and when I remove it with apt a lot of other apps get removed. I have installed Continuum's Anaconda ...
0
votes
0answers
319 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
25 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
64 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
33 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
64 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
366 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
210 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
447 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
23 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
65 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
46 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
137 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
207 views

Python memory leak problem in Ubuntu 12.04

While I'm not a Python programmer, I am a programmer nevertheless. It's making me crazy seeing the memory usage of the Python process in my Ubuntu. Unfortunately there are so many different ...
0
votes
0answers
170 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
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 ...