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

Can't Start Carbon - 12.04 - Python Error

I am really hoping someone can help me as I have spent at-least 15 hours trying to fix this problem. I have been given a task by a potential employer and my solution is to use ...
1
vote
0answers
46 views

How to control GtkScales with Python?

I want to add GtkScales in a Quickly application and control it with Python to adjust Brightness via xrandr. We have already made the code via raw Python here and would like to do this via Quickly to ...
1
vote
0answers
782 views

Eclipse - not opening, it was working before, how to fix it and open the eclipse ide for python?

It was working since last night, this morning stop opening, how to fix this? sun@sun-M14xR2:~/Downloads/easyeclipse-python-1.3.1$ ./eclipse ./eclipse: error while loading shared libraries: ...
1
vote
0answers
837 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 ...
1
vote
0answers
146 views

How to embed a new Window on GTK Quickly Glade

I'm doing a program with Quickly, but I'm something new .. In same way, I learned well enough to program an application. But I need the structure in glade, I mean ... are only two main windows ... the ...
1
vote
0answers
649 views

Firefox won't work. Locale not supported by C library

I just got a server running with ubuntu on it for the first time, I connect with ssh. I am a mac user, learning ubuntu. The idea is to automate some tasks on the server. One of these tasks involves ...
1
vote
0answers
366 views

How to run Python- postgresql in ubuntu 12.04

I am trying to test pyhton-postgresql script in ubuntu 12.04. The script is this: import psycopg2 import sys con = None try: con = psycopg2.connect(database='mydb', ...
1
vote
0answers
365 views

How to make Ubuntu 13.04 open .py with IDLE for Python 2.7 automatically?

I'm using Ubuntu 13.04 and python 2.7. When I click a .py file, it opens it in gedit. I want it to open in IDLE. When I right-click and choose "open with", IDLE is not in the list. I have tried ...
1
vote
0answers
423 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 ...
1
vote
0answers
209 views

Modifying openstack-dashboard package's source code in Ubuntu when installed using apt-get

I have installed HORIZON openstack-dashboard using "apt-get install openstack-dashboard". I want to apply a patch to that code. I tried to search for the directory where this package's source-code is ...
1
vote
0answers
113 views

Dotdeb alternatives for Ruby or Python?

I really like Dotdeb, but it doesn't include packages for Ruby and Python. While I could build my own repository, I wouldn't want to reinvent the wheel (and then be forced to drive). Are there any ...
1
vote
0answers
53 views

quickly dependecies problem

I use quickly to develop an app. The thing is I wanted to use a library called BeautifulSoup which is found in Universe repository, under python-bs4 library. So I did a quickly configure ...
1
vote
0answers
44 views

What's “Unity.LayoutHint” intended for?

I currently write my own lense in python (Ubuntu 13.4) using singlet. In the api documentation, there is a Unity.LayoutHint (View), which is used by Unity.PreviewAction (View). I don't see any change ...
1
vote
0answers
60 views

Change icon with Launcher API

With Launcher API provided by libunity I can add a counter or a progress-bar to my application icon. But I would also like to change the icon it self or the name of the application. Is this possible? ...
1
vote
0answers
36 views

Batch Launchpadlib api queries together

I want to get information about all the ubuntu bugs filed till date. So I used the launchpadlib api to get all of them using the id. I start a loop at id 1 and continue. But this is a very slow ...
1
vote
0answers
134 views

Turn screen off when no motion in front of webcamera

Is it possible to automatic turn screen off when there is no motion detected in front of webcamera for X minutes ? Can i use sudo service motion start and xset dpms force on/off somehow ...
1
vote
0answers
262 views

gcalcli throwing ssl errors in 13.04

I'm using Ubuntu 13.04. I was using gcalcli (from source) previously on Ubuntu 12.04 and it was working fine. But on 13.04, it fails to authenticate google with an ssl error. It opens a new bowser ...
1
vote
0answers
292 views

Store cookies with WebKit (python)

So I was watching the "Create Your First Ubuntu App"-Video from Jono Bacon and got the idea, to create a simple app. That creates a window with a WebView und opens the URL to Google Keep. Everything ...
1
vote
0answers
214 views

How to create an Ubuntu app using python and Qt4 designer

I recently started developing Ubuntu desktop apps using Quickly. But then I tried out the Qt4 designer and I feel more comfortable with it than Glade designer that Quickly uses. I liked developing ...
1
vote
0answers
257 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
188 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
194 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
83 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
249 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
5 views

Can't isntall PySensors. “sudo pip install PySensors” generates “ValueError: /usr/bin/python: undefined symbol: libsensors_version”

I'm just trying to get "Glances" working as per the accepted post in this question: System Monitoring Tools For Ubuntu But I can't install PySensors. The command "sudo pip install PySensors" throws ...
0
votes
0answers
18 views

LinConnect failure to install

When I ran the commands from github (as per http://www.techrepublic.com/article/get-android-notifications-on-your-linux-desktop/ ) on Lubuntu 12.04.1, I got this before the install stopped: ...
0
votes
0answers
9 views

Revkit Gui Interface Error

I am trying to install Revkit 1.3 in Ubuntu 10.04 LTS. Successfully ran ./make.py bootstrap and ./make.py build, but after giving the command /tools/gui/gui.py I get the following message: Traceback ...
0
votes
0answers
23 views

What is the safest way of parsing /etc/network/interfaces (5)?

Context: /etc/network/interfaces holds configuration for network interfaces, in this format. I doubt the format has changed significantly in years. The auto and iface lines are the most commonly ...
0
votes
0answers
19 views

Application relies on Python 3, system uses Python 2. How to fix this?

This issue that I have is causing an application (MySQL Workbench) to run UNsmoothly. Basically, after I upgraded MySQL I had problems connecting to a database through SSH. It was suggested that ...
0
votes
0answers
20 views

PyKEP: python 2.7 vs python 3.3

I try to install PyKEP package (pyKEP) and following the instruction in the web page at the and I obtain this error massage: [ 95%] Building CXX object PyKEP/core/CMakeFiles/_core.dir/core. ... ...
0
votes
0answers
22 views

nvidia-settings ImportError: No module named 'dbus'

I try to switch my graphics card via NVIDIA X Server Settings. However when I click on NVIDIA: Traceback (most recent call last): File "/usr/share/screen-resolution-extra/nvidia-prime.py", ...
0
votes
0answers
40 views

how do I terminate “Uninterruptible” and “Zombie” processes?

This is most likely a Wine issue that's causing this but I have 2 python.exe processes that are just sitting there, and I can't kill them... they sit there when a SDL (pygame) window doesn't close ...
0
votes
0answers
25 views

Problem importing a module (mpl_toolkits.basemap) in Python

So the issue is this: I'm attempting to learn how to plot maps with Python, using shapefiles. There are plenty of examples available on the internet, but just about all of them start with something ...
0
votes
0answers
68 views

How to update PyCharm 3.4 to 4 in Ubuntu 14.04

I have Pycharm 3.4 community edition installed. I want to update my installation to 4.0. Going to Help > Check for update shows me that I am in latest version which is 3.4.1. Manual download and ...
0
votes
0answers
11 views

sshuttle consumes all resources

I use sshuttle to forward my TCP traffic through a ssh tunnel with the following command sshuttle --no-latency-control -HDr user@server 0/0 -l 0.0.0.0 but after a while sshuttle (python) uses all ...
0
votes
0answers
75 views

ubuntu 14.04 : VIM with YouCompleteMe plugin, throw “ImportError: No module named _io”

I was using python2.7.6, VIM 7.4 and YouCompleteMe plugin on my Ubuntu14.04. Today I did some update on my Ubuntu, but after that, I found my VIM cannot work properly with YouCompleteMe. When I start ...
0
votes
0answers
14 views

PYTHONPATH env variable vs. where apt-get intalls packages

Hello I am new to linux generally and to ubuntu in particular. I'm trying to download data from the Python NLTK, which I installed via sudo apt-get install python-nltk. Apparently this put the ...
0
votes
0answers
111 views

Ubuntu 14.04, opening Spyder gives *** stack smashing detected ***

After I upgraded to ubuntu 14.04, I started to get the following error when I try to open Spyder: *** stack smashing detected ***: /usr/bin/python terminated My only guess is that it has something ...
0
votes
0answers
8 views

Kate - Is it possible to open a python file in wrap mode?

I wonder if it's possible to open a python file with all the "def" in wrap mode, like this: My code is a little bit long, and it will be more easier to navigate in, actually I had to do it by ...
0
votes
0answers
64 views

Python Error when opening software-center

My software center suddenly not working. When i tried to open it from the launcher, its only loading but showing nothing. I tried to run it from terminal, and got this error : Traceback (most recent ...
0
votes
0answers
28 views

Unable to profile django app

I am trying to profile my Django application. I installed the django-extensions which include a hotshot profiler. I am able to profile using the Django shell. But, I want to create a script for doing ...
0
votes
0answers
26 views

Where should I install personal python modules

If I write my own python module, where should I install it. Write now I have installed it to /usr/local/lib/pyton2.7/site-packages but python fails to find it when I do an import.
0
votes
0answers
31 views

get python scripts working on apache2 in ubuntu 14.04

dear people of askubuntu, I am new with ubuntu and working on a project that used to work before I came here. I have the following setup: a folder /var/www/localhost wich contains all my html files ...
0
votes
0answers
44 views

Display Japanese/Chinese (non-ASCII) in Matplotlib on ubuntu

I am trying to display Japanese strings in Matplotlib using python. The general answer to this question is to manually set a compatible font[1], but I am having trouble with this in Ubuntu. I built a ...
0
votes
0answers
66 views

Ubuntu touch on Nexus 7 / vpn/ ssh/ python

I have installed the Ubuntu touch on my Nexus 7 recently. Initially I was facing issue with apt-get that I have resolved by remounting the partition with rw permission. Now when I try to install ...
0
votes
0answers
206 views

I am running Ubuntu 14.04, python 2.7.8, I try to install python-setuptools, but it is giving following message

I am try to install python-setuptools but getting following messages: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: $ sudo apt-get ...
0
votes
0answers
32 views

Error installing Mailman bundler (mailman + postorius +hyperkitty)

I am trying to install Mailman 3 bundler on Ubuntu 14.04. I am following direction on the README file which is the same as this one, http://mailman-bundler.readthedocs.org/en/latest/ I had trouble ...
0
votes
0answers
21 views

Convert filesystem to LVM - blocks

I'm trying to convert and ext4 filesystem to LVM. I found a script called blocks that pretty much automates most of it but am having issues getting it working. https://github.com/g2p/blocks#readme ...
0
votes
0answers
25 views

Quickly version numbering

I have been experimenting with quickly, and more specifically, packaging. I have been using this command: quickly create I am quickly (heh heh get it, 'quickly') getting frustrated that the version ...
0
votes
0answers
95 views

power down happened during version upgrading

While upgrading from Ubuntu 13.10 to 14.04 unfortunately a power down happened and the PC got powered off. When again booted, I was neither able to upgrade version nor install any software through ...