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

Lost Desktop Panels after removing Python

So basically, I performed the aptitude or remove command on python because the work that I deal with can only work with python 2.7.3 and I am using 2.7.8....and it got me into lots of other broken ...
0
votes
0answers
78 views

How to set IDLE3 to open .py files 14.04

Every page I've found thus far that answers this question has been unhelpful. In mimeinfo.cache I have the following line: text/x-python=idle-python3.4.desktop; And in ...
0
votes
0answers
25 views

detached screen sessions terminates after some time

I have a small netbook with xubuntu 14.04 installed. I am using it to log some data, using python scripts. I run those python scripts in detached screen sessions. But those detached screen sessions ...
0
votes
0answers
105 views

Ubuntu 14.04 Anaconda Install Help

I started using ubuntu not to long ago. I am trying to install Anaconda on my linux distribution. Am following the instructions below: http://docs.continuum.io/anaconda/install.html#linux-install ...
0
votes
0answers
18 views

How can a button link to an action in Glade involving a text box?

I am developing a Ubuntu program with Glade and I would like the program to interact with text input from the Text Entry widget when the button widget is pressed. How would I accomplish this? On a ...
0
votes
0answers
48 views

How do Install Python 32 bit on Ubuntu 64 bit using Pyenv

How can I install 32 bit version of Python 2.7 using Pyenv, on my 64 bit Ubuntu.
0
votes
0answers
41 views

how to use crontab to execute i2cset commands

I am trying to execute a bash script that displays the IP address on a lcd display , on startup .. I want it to execute so that the user knows the ip address as soon as the user starts the linux ...
0
votes
0answers
25 views

ConVirt won't run. Requirement.parse('SQLAlchemy==0.5.6'))

ConVirt 2.5 on Ubuntu Precise won't run. Tail line of the error is: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 588, in resolve raise VersionConflict(dist,req) # XXX put more ...
0
votes
0answers
31 views

Caffeine crush on start

Caffeine crushes on start: valery@valery-P50-A-K4M:~$ caffeine Traceback (most recent call last): File "/usr/lib/python3/dist-packages/Xlib/support/unix_connect.py", line 89, in get_socket ...
0
votes
0answers
25 views

Update pymongo version

I installed pymongo through source(cloned from git repository). Pymongo got installed for python 2.7.1 since my default python version was set to 2.7.1. Later I have added an alias to .bashrc file ...
0
votes
0answers
84 views

how do i achieve executing a python script ON TERMINAL via a shell script in nautilus folder by the right-click>Script way?

Using nautilus i am writing a script which will run the python script which invoked it. So to run a python script i just need to right-click on it>goto scripts>select appropriate script and it will ...
0
votes
0answers
34 views

unable to save setting python in Ubuntu use editor sublime text 2?

I installed python 2.7.9 with framework Django 1.7. I try to change databases in settings.py but cannot save (unable to save mysite/mysite/settings.py) how to solve this problem?
0
votes
0answers
31 views

Query screensaver status from Python e.g. via dbus

I want to do this, but in Python: Is there a programmable way to tell if the screen is locked? I know I can do it by launching a process: gnome-screensaver-command --query and I know I can track ...
0
votes
0answers
46 views

Ubuntu 14: Problem in wxpython html2

I found a bug in Ubuntu when I try to use the control html2. I can found a workaround, in a t.py file I have this lines: import wx import wx.html2 as webview in a by default installation I get ...
0
votes
0answers
46 views

Screenlets Infopanel - how do I get external / internal IP to work in Python?

So occasionally my router does something stupid and changes one or more of my IP addresses on my local net. Since I have a scripted synergy setup tunneled through SSH, this is a pain in the 6 o'clock. ...
0
votes
0answers
30 views

Display a quote in ubuntu 14.04

I recently installed Ubuntu 14.04 and thought I would add a quote on desktop which displays it all the time. I found the following link and liked the second option (by Python User) Is there any way ...
0
votes
0answers
20 views

Errors while installing pychemqt

@ http://sourceforge.net/projects/pychemqt/ The readme file contained in the package listed following dependencies python 2.6 qt 4.7 matplotlib 0.99 numpy 1.4.1 reportlab 2.4 freesteam 2.0 ...
0
votes
0answers
187 views

Python error while adding repository

Whenever i try to add repository , the following error occurs. I have newly installed ubuntu and my sources.list.d folder is also present. Please help me with this.. Error:: Traceback (most recent ...
0
votes
0answers
13 views

Mapping a music file to a discrete 2D domain/2-D array in Ubuntu

I wish to take music file as an input. The output should be a scalar field on a 2D domain or a Vector field on a 2D domain, which I can store as an array. We have seen mapping of music to a 2D domain ...
0
votes
0answers
81 views

Matplotlib requires sudo on Ubuntu 14.04

I recently shifted to a new laptop. After installing Ubuntu 14.04 LTS and all of the packages that my previous system contained, I copied all my files from my old system to the new one. Whenever I ...
0
votes
0answers
52 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
26 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
90 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
43 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
51 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
134 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
78 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
28 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
131 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
27 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
297 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
10 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
46 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
39 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
45 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
98 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
111 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
423 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
79 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
38 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
27 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
129 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 ...
0
votes
0answers
74 views

anki issues how to make work

Hi further to my question ealrier Below is the error message I get from my computer when I try to use Anki (2.0.28) Today, I have ascertained that it is my computer and not the files for anki which ...
0
votes
0answers
209 views

Error processing package mumble-django

Everytime when i try to install update from the terminal this error is displayed. How do I sort it out? Setting up mumble-django (2.10-2) ... dpkg: error processing package mumble-django ...
0
votes
0answers
76 views

Samsung tv serial commands with python

I have a Samsung Plasma display that I use a Python script to turn on and off with its serial interface. (ex-link). import time, serial ser = serial.Serial(port='/dev/ttyUSB0', baudrate=9600, ...
0
votes
0answers
125 views

Configuration error for pep8 and flymake for emacs

I am trying to configure pep8 to ignore E221, E222, and E226 (all related to spacing around operators). I followed this documentation https://pep8.readthedocs.org/en/1.4.6/intro.html to generate a ...
0
votes
0answers
201 views

python download just mp3 from youtube

I want just to download mp3 tracks from youtube, I know that services like youtube-dl download first an .mp4 and then they convert it. Is it possible to download just a .mp3 in a 256 kb/s format? If ...
0
votes
0answers
231 views

Unable to install bsddb185, Python library for opening Berkeley DB version 1.85 files on Ubuntu

I am writing a python program that makes use of some legacy Berkeley DB 1.85 files. Unfortunately I am unable to install the bsddb185 Python package, either for Python version 2.x and for Python 3. ...
0
votes
0answers
32 views

Why doesn't 'launcher.set_property(“urgent”, True)' work?

My script: #!/usr/bin/python # update bar on dash icon by stdin # ex: for i in {0..100};do echo "$i";sleep 0.3;done | ./$0 import sys, time from gi.repository import Unity, Gio, GObject, Dbusmenu ...
0
votes
0answers
71 views

How to create an installer for a python GTK3 application?

I have just finished developing a Python 2.7 application using Gtk3 for GUI. My question is, how can I now create an installer for Windows, Mac, and Linux (possibly three different installers) for my ...