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 ...
0
votes
0answers
58 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 ...
1
vote
0answers
253 views

How to remove Python2.6 and get Python2.7 [closed]

Hello I am running Ubuntu 10.04 that have Python2.6 by default. I installed Python2.7 doing sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python2.7 But I ...
0
votes
0answers
124 views

How to find the hang process in ubuntu 10.04?

I need to monitor remote system by using team viewer software, and sometimes I'm not able to connect with the server side. In that situation, I called up authorized remote system user and tell them to ...
2
votes
2answers
302 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
167 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 ...
1
vote
1answer
2k 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 ...
6
votes
6answers
15k 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 ...
2
votes
1answer
660 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
457 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
606 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 ...
1
vote
1answer
42 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
425 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 ...
4
votes
2answers
269 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, ...
22
votes
5answers
15k 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
4k 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 ...