2
votes
2answers
72 views

How do I resolve the tty problem?

I am developing project by using python script in Ubuntu 10.04. In my project,I need to reboot the system automatically at particular time period. So that,I was wrote the below command in my python ...
0
votes
1answer
47 views

python sqlite command in path

I am installing a program, and one of the requirements is to have python sqlite2 installed. I check this by: $ python -c "import sqlite3" The second requirement is: "Additionally you must have the ...
0
votes
1answer
911 views

How do I remove the Python 2.7 I installed and roll back to 2.6?

by a series of errors, Python 2.7 was installed over 2.6 within Ubuntu 10.04. Both appear to be working, however many things are not (yolk, freenx, easy_install, pip, etc). I believe the issue is ...
2
votes
6answers
5k views

How do I change my PYTHONPATH to make 3,2 my default Python instead of 2.7.2?

I have python3.2 located in /usr/lib/python3.2. I am not sure if that means it's installed but I assume it is for now. Some facts about my system: $ which python /usr/local/bin/python When I type ...
29
votes
4answers
44k views

How do I install python 2.7.2 on 10.04?

I want to install python 2.7.2.tgz on Ubuntu 10.04 64-bit , downloaded form http://python.org/. Is this a correct way to install : ./configure make make install If not , how can I do that?
2
votes
1answer
419 views

Is there a difference between using setuid()/setgid() within a program and invoking it with sudo -u xxx -g xxx?

Consider this python script, which invokes HandBrakeCLI, a program that attempts to read from the dvd drive: invoke.py #!/usr/bin/python import sys import os import subprocess as subp import ...
2
votes
3answers
423 views

How can I install python-envisage?

My question is about how I can install Ubuntu 11.10 packages on Ubuntu 10.04. I would like to install python-envisage (4.0.1), but in the Ubuntu 10.04 Software Center there is only python envisage ...
0
votes
3answers
403 views

How to get the latest IMDbPY in 10.04 LTS

I am using Ubuntu 10.04 LTS. I would like to install the latest IMDbPY because the one in the repository has a bug with the country codes. This bug has been fixed in the later versions, but I don't ...
0
votes
0answers
1k views

How do I install compile and install Python 3.2.2 on 10.04? [closed]

I'm trying to install Python 3.2.2 from source code in Ubuntu 10.04 LTS. I have followed README file of Python. First step: ./configure was successful. But next step: make is running almost 3 hours ...
1
vote
1answer
40 views

How do I update envisage v3 to envisage v4

I just installed the envisag 3.x plugin from the Ubuntu Software Center, My question is, how can I update this to envisage 4.x. I'm using python 2.6 and Ubuntu 10.04 LTS 64bit
2
votes
0answers
358 views

Python 3.2 installation using UCS-4 environment [closed]

I building applications using Qt4 to develop the UI and python 3.2 OS UBUNTU 10.04 Python 3.2 is installed but fails the following from PyQt4.QtGui import * Traceback (most recent call last): File ...
3
votes
2answers
2k views

How do I migrate to a newer Python version and still use packages in the old version?

On Ubuntu 10.04 I recently installed Python 2.7.1 (ActivePython from ActiveState). I use meld to diff code and had no issues with Python 2.6.5, but after moving to 2.7.1 I get the following error when ...
3
votes
2answers
246 views

PPA & Packaging: Packaging Source as a Binary Package

I'm trying to create a .deb for a python-based IRC bot. I've already gone through the Ubuntu Packaging Guide, and done a debuild -S on it to create the source package. When its uploaded to the PPA, ...
21
votes
5answers
12k views

Will python2.7 be available for 10.04 in the future?

Since Ubuntu 10.04 is an LTS release will it support python 2.7 as a default package maintainer version or at least have a python2.7 package in future? Since it will be the last major python 2.x ...
5
votes
2answers
2k views

What is the default character encoding?

I don't myself know how deep this question actually goes (for example, for all I know there could be several, depending on my task). Particularly, I am interested in what kinds of strings are used to ...