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
4answers
26 views

How to install Python 3.4 on Ubuntu 14.04?

If I open Terminal and type in python, I see the version is 2.7.4. How do I get python 3.4? And do I need IDLE if I have sublime text?
13
votes
1answer
2k views
+500

Dropbox Fails To Start With “VerificationError: importing pylinux…”

Dropbox Fails To Start With "VerificationError: importing pylinux..." . It seems that some recent Python update breaks Dropbox, resulting in the following error: Starting Dropbox...Traceback (most ...
0
votes
1answer
22 views

Install something without make install

I have been struggling for few days trying to install a software. I'm not actually working on Ubuntu but I think the steps to do are the same. Working on a gentoo (The operating system of the Robot ...
5
votes
3answers
482 views

Is Python 2 removed from 14.04 CD images?

I haven't seen an update on the status of removing Python 2 from the CD images, and this page has last been updated late 2013.
0
votes
0answers
21 views

How to change output file of python script [on hold]

I have a number of Python scripts that my cron jobs are calling. Their output is in the /var/mail/root file. Can I change the mail file to something other than root? Like instead maybe have each ...
0
votes
1answer
106 views

Camdesk doesn't work

I'm trying to use camdesk following this OMG article, but camdesk isn't working and not sending any error messages. I open it in terminal using: ./camdesk.py A white square appears in the middle ...
1
vote
1answer
17 views

do-release-upgrade: python install is corrupted

I was upgrading from 13.10 to 14.04 (dev for now, stable in a few hours) using do-release-upgrade and encountered the following problem: Can not upgrade Your python install is corrupted. Please fix ...
3
votes
2answers
188 views

How do I daemonify my daemon?

As part of the Ubuntu Accomplishments system I have a daemon that runs as well as a client that connects to it. The daemon is written in Python (using Twisted) and provides a dbus service and a means ...
0
votes
2answers
42 views

How to make a python script a command?

I'm trying to make a python script into a command, eg: google's ipaddr.py (http://code.google.com/p/ipaddr-py/). I want to be able to type ipaddr and it puts out what I want. Is this possible? I've ...
1
vote
1answer
22 views

How to use manually installed python for personal programs without breaking any other application?

Hi I'm new to ubuntu and I have the following problem: I'm aware that ubuntu comes with a python version, but I'm running in a web host and I don't have the sudo command and I only have access to my ...
1
vote
1answer
206 views

How do I resolve a “'python-uno' has no installation candidate” error?

I had a script, it is working with the package python-uno on Ubuntu 12.04 lts. The script is in python language and work with OOo to edit XLS files. Now I upgraded to 13.10 and it seems the uno not ...
0
votes
0answers
13 views

ccNUMA in gem5 simulator [on hold]

I read the documentation of gem5 simulator which says that this simulator is still using SMP or UMA (Uniform Memory Access). I want to build NUMA (Non-Uniform Memory Access) in this simulator. For ...
0
votes
1answer
17 views

OpenCV error in setting resolution with c910

I've been trying to use OpenCV to control my webcam (Logitech c910) through python. I 've managed to capture images through .read() but they are 640 x 480 and I haven't managed to set the resolution ...
0
votes
0answers
20 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 ...
1
vote
1answer
32 views

Why do I get ImportError when trying to import Pandas Python module?

I installed the Pandas module for Python 2.7 using apt-get. However, when I try to import the module, it raises an ImportError: import pandas as pd File ...
2
votes
2answers
39 views

How to install opencv 2.9 for python?

I have been having the exact same problem as described in this post and someone in the answers suggested that you upgrade to opencv version 2.9. I was wondering how do that? I installed the version ...
1
vote
2answers
3k views

Installing Pygame Ubuntu 13.04

I recently installed Ubuntu 13.04 and want to install pygame. I've attempted doing as instructed on the pygame page (using the source code) however I am unable to install the dependencies and I get ...
4
votes
1answer
83 views

Configuring Python Development version installation

While installing PSI4 on Edit: Ubuntu 13.10 (earlier Ubuntu 12.04), I'm encountering the following error: configure: error: Could not link test program to Python. Maybe the main Python library has ...
7
votes
3answers
5k views

How to install and configure IPython so it uses Python3.2 on 11.10?

How to install and configure IPython so it uses Python3.2 on 11.10? I've checked that installing by sudo apt-get install ipython will uses python2.7. [EDIT1] $ sudo python3 configure.py ...
0
votes
3answers
54 views

How to install Ubuntu on portable external Hard Drive?

OS: Windows 7. I want install Linux Ubuntu on portable external Hard Drive USB 2.0. I read a variety of methods, but I'm confused by contradictory advices and methods. Actually, installing Ubuntu on ...
0
votes
1answer
2k views

Install cx_Oracle on Ubuntu 12.04 LTS

I'm trying to install cx_Oracle for Python on Ubuntu 12.04 LTS (64 bit). I've installed Instant Client Package from: http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html I did it ...
0
votes
1answer
40 views

Installing Graphite on Ubuntu 12.10

I am trying to install and run Graphite on Ubuntu 12.10. To do it I followed this manual. Unfortunately on the step: Next, we will configure the Graphite database. Go to the Graphite webapp ...
9
votes
3answers
21k views

run python in terminal

Trying to learn how to run my scripts through Ubuntu's terminal regularly. That being said I am familiar with bash, wget, and awk being called but how do I call python files to run in the terminal? ...
3
votes
1answer
24 views

Finding Mouse click position in IconView in GTK

I am building a file browser using Gtk.IconView in python. I am trying to find the path of an icon selected using " selection-changed" signal using gtk.IconView.get_path_at_pos(x,y). The docs are mum ...
0
votes
1answer
17 views

How to install antlr3 python module on Ubuntu?

If you are getting "Import error: No module named antlr3" while running python application. For example, KeyboardLayoutEditor, Django apps.
2
votes
1answer
25 views

Can't install python-pandas on ubuntu

I am trying install python library pandas on ubuntu system, and it seems to work, but it it does not. Here is what I did: sudo pip install pandas This seemed to install pandas properly. I got this ...
1
vote
1answer
103 views

How to restart python script after one second of going down using UPSTART?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
1
vote
1answer
31 views

How to install Err in a Python 3 virtual environment?

I'm trying to install Err on Ubuntu Server 12.04.4. It requires python plus a bunch of dependencies. When I followed the install instructions, I couldn't get it to work using the "default" which ...
2
votes
0answers
55 views

Swig: Error - undefined symbol: _ZN7QString11shared_nullE [migrated]

I am a newbie to SWIG.. I am just trying out a simple application of my project to implement the SWIG. The code is shown below: test.cpp : #include "dijsdk.h" #include <iostream> #include ...
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
1answer
25 views

Ubuntu 12.04 desktop with no launcher and no shortkeys working

I have accidentally uninstalled python 2.7 and python-minimal from my Ubuntu. It gave me an error saying wicd has shut down and there are broken packages. When I restarted the system, only the ...
0
votes
2answers
24 views

lscpu output differs when called indirectly?

I use lscpu | grep 'MHz' to get my clock speed. I am getting different results based on the method I am calling this command. Method 1: typing it in the terminal CPU MHz: 1200.000 Method 2: ...
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 ...
-1
votes
0answers
25 views

HighLight Text line using python script in Gedit and LibreOffice without using Plugins [closed]

I am trying to HighLight Text line using python script , but I can't find that How to highLight text Line of any word document document like Gedit ,LibreOffice etc. Can we Highlight text line with ...
1
vote
1answer
24 views

How to use UPSTART feature of ubuntu to restart the python script but not as root?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
2
votes
1answer
21 views

how to use python3 shortcuts on emacs?

I am new to emacs and I am trying to set python3 as default interpreter. I have installed from software centre the python plugin for emacs. I can run a python3 file going to pyexec-->execute ...
3
votes
3answers
1k views

flux on 13.04 unable to set preferences

I installed flux from the Kilian PPA, which installs fine. i run the app and the icon displays in the tray. however, when i try to set my preferences, the menu does not ever appear. i found the flux ...
1
vote
2answers
35 views

Get full path of currently open files

I'm trying to code a simple application that must read all currently open files within a certain directory. More specificly, I want to get a list of files open anywhere inside my Documents folder, but ...
0
votes
1answer
23 views

Uninstalled Pyton 2.7, now I cant log in

I uninstalled python using following command: sudo apt-get remove python2.7 It ended up removing lot of related system files as well. Now when ubuntu boots up it prompts me login, but after that ...
1
vote
1answer
58 views

Python 2.7.6 on Ubuntu 12.04 How to?

I'm developer and I need to make my enviroment work with Python 2.7.6 (not 2.7.3) on the Ubuntu 12.04. Please, provide me some notes how to do that?
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
46 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
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
1answer
324 views

Install Python 2.7 on Ubuntu 12.4

I have install Ubuntu several day ago. I have install Python on Windows before and everything was simple. Now on Ubuntu I’m getting stuck with installation of Python. So my question is: How can I ...
0
votes
1answer
20 views

environment setup for Importing a userdefined module

I am creating an User defined module an .so file and importing that in the python module. The functions in the library are not responding as expected. What are the environment variables to be set ...
1
vote
1answer
44 views

Install python setup tools for Ubuntu 12.04

I am trying to install Savanna in OpenStack but I am getting this error that I have posted on askubuntu.com Someone told me that it might happen because I have not right version of python-setup-tools ...
0
votes
1answer
39 views

pip install … Failed with error code 1 …

I'm trying to configure my new system with Ubuntu 13.10 but pip won't let me install anything. No matter what package I try to install I always get the error: ...failed with error code 1 in ...
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
1answer
38 views

Installing & running a python script on Ubuntu

I have a (most likely very stupid) question to ask: I recently setup a fresh install of Ubuntu 10.04 to use as an internal web server for some very basic tasks. I came across a python script that I ...
2
votes
1answer
73 views

couldn't open output file: Read-only file system

I just installed Ubuntu. My problem is I am attempting to write a log file to home. I am using logcat from a python module called adb. When I attempt the terminal command adb logcat -f <path> I ...