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
1answer
911 views

Can't install python-dev. Packages have unmet dependencies. I think it's a wrong Python version

root@Managementserver:~# sudo apt-get install python-pip python-dev build-essential -y Reading package lists... Done Building dependency tree Reading state information... Done build-essential ...
1
vote
1answer
45 views

How to make a Quickly project standalone?

I have a Quickly project. But now I want it to be independent from Quickly. How can I do it? How can I run it without typing 'quickly run'?
1
vote
1answer
810 views

Set CLASSPATH for python

I want to execute a python file called "ex1.py". The execution works fine, the program does, what it ought to do. The problem is the following: This file is stored in the folder ...
1
vote
1answer
2k views

Install Python in Wine

I need to install the Windows version Python 2.7.5 32Bit on my Ubuntu Box in Wine (because I test Euler Math Toolbox on Wine, and this cannot use the native Python). Whatever I do, I get the an error ...
1
vote
1answer
410 views

GoG on Linux installation Procedure

I wanted to install GoG on Linux ( http://gogonlinux.com/ ) and as I went through the install process (which is for Ubuntu12.04) and the result is that I have all the files built by python, but no ...
1
vote
1answer
1k views

gdb uses wrong python

When I launch gdb (on Ubuntu 12.04 LTS) it immediately crashes with the following output: BlockquoteTraceback (most recent call last): File "/usr/lib/python2.7/site.py", line 562, in <module> ...
1
vote
1answer
45 views

Attribute error:portal_url while testing a method

I need to test a method called addServerUrl() using the command "bin/test -t addServerUrl()" in terminal addServerUrl contains the following code: def addServerUrl(self,html_src,prefix): url ...
1
vote
1answer
904 views

eclipse + pydev autocomplete

Problem:- Autocomplete for python not working in eclipse + pydev. Platform:- OS is Lubuntu; Eclipse Version: 4.2.2; PyDev for Eclipse 2.7.3.2013031601 I have configured the pythonpath in ...
1
vote
1answer
92 views

How to recover Python on Ubuntu 12.10?

I've accidentally removed /user/local/lib/python2.7/dist-packages on ubuntu 12.10. Do I need to reinstall python? Some of the softwares like ibus or software center seem don't work any more. What ...
1
vote
1answer
356 views

How to install weather indicator on ubuntu 12.04?

I tried to install it from the market but that's what it says
1
vote
1answer
1k views

uwsgi can't find python plugin

I'm trying to deploy a python app to my Ubuntu 12.04.1 VPS running Nginx / uWSGI. I've setup my server following this guide. When I restart uWSGI I get this message: nickd@my-vps:~$ sudo ...
1
vote
1answer
105 views

Which is the best package to draw drawings in python?

We are trying to implement the drawing tools like line, circle, pencil, brush and so on in gtk. Is it possible to draw these things into the textview? Would one of these packages work for the ...
1
vote
1answer
121 views

Can I have some help installing python-captcha? dpkg error 1

I have searched around the forums and tried a number of solutions but nothing I have tried has fixed my problem. Here is the terminal info john@ubuntu:/var/lib/dpkg$ sudo apt-get install ...
1
vote
1answer
215 views

writing note taking app, save and load text with tags from textbuffer written in python and glade

I am writing a note taking app with python and glade. I've been searching the web for the how to save and retrieve textbuffer with tags from simple app made with python and glade. I would like to get ...
1
vote
1answer
1k views

Update Manager won't open (error related to pythonverbose)

I'm having an issue with update-manager. Last night, my computer restart suddenly during the update process. Now it won't open and it keep appearing on the notifier with a message warning that an ...
1
vote
1answer
152 views

Changing the Editor PIDA IDE uses

I recently tried the PIDA IDE, and when starting up I selected vim, I now want to use emacs, but there is no option so I tried reinstalling, purging and nothing has worked... How can I change the ...
1
vote
1answer
376 views

Using Quickly to develop apps for Raspberry Pi?

Can Raspberry Pi apps be developed with Quickly on Ubuntu? I know there isn't Ubuntu for the Pi yet but what I want to do is develop the app on my Ubuntu machine, compile it and copy the deb file to ...
1
vote
1answer
1k views

python-tk package is not recognized?

I've got a small program I've written in python (2.7.3) that I'm moving over to another box. However, when executing this line: from Tkinter import * I get this error; Traceback (most recent call ...
0
votes
1answer
28 views

Installing software with python pip

I know that building software from source on my system using root privileges usually causes various problems and that the preferred way to install anything is to use a packet management system ...
0
votes
1answer
16 views

ipython vs ~/.local/bin/ipython

Since installing ipython notebook via pip, as I understand, I have two versions of python, ipython (and other packages): the Ubuntu system version and the local pip version. $ which ipython ...
0
votes
1answer
38 views

Run interpreted commands within sudo

The question is how to run generic commands which may contain ; && | < > << >> $ and so on within sudo. Possible solutions could be: To use interpreters within sudo sudo ...
0
votes
1answer
46 views

Install and use Hovercraft on Ubuntu 14.10

I am trying to use hovercraft on my Ubuntu 14.10 laptop. This is a python script, and I'm not that familiar with python... So here is what I've done: first, I installed hovercraft using sudo pip ...
0
votes
1answer
22 views

Is there a simple way to troublshoot why a program crashes?

I am trying to learn how to code. Instead of having to rewrite programs completely is there a way to find what line of the code has a problem? Or is it normal to have to rewrite everything?
0
votes
1answer
16 views

Running multiple Python programs fills up /dev/mapper/gregorbr--lnx--vg-root 55G 52G 55M 100% /

I have a ubuntu server 12.04.5 LTS that I use to run multiple python programs that uses ssh. I have it set up so it just prints to screen, so it shouldn't take up any space at all. Here is they ...
0
votes
1answer
120 views

ImportError : No module named gtk & Python-2.7.8

As a newbie to Ubuntu 14.04 LTS, as usual with other linux builds, I installed Python 2.7.8 for compatibility issues and out of sudden I got: File "/usr/bin/bleachbit", line 41, in < module > ...
0
votes
1answer
26 views

Getting PIP on Local Install of Python

Background: I was trying to get a particular Python program to work (http://mrbell.github.io/pyrmsynth/ specifically), but I got an error that seemed to indicate that Python 2.6 was required (or at ...
0
votes
1answer
60 views

Error when using Resynthesizer plugin in Gimp 2.8.10

I'm trying to make Resynthesizer plug-in work in Gimp 2.8.10 under Ubuntu 14.04 TLS but I get this error: Traceback (most recent call last): File "/usr/lib/gimp/2.0/python/gimpfu.py", line 699, in ...
0
votes
1answer
53 views

Spyder Python 3

I'm looking how to download and install spyder 3, i'm running Ubuntu 14.04, this is my computer performance: Ubuntu 64bits Lenovo 510 Core I7 Ram: 8go Thanks Guys :)
0
votes
1answer
62 views

Problem in using “John the ripper” in program

I am trying to create a program in which users input a username and password. then John the ripper cracks their password if its weak. But when I run the program, I get this error No password ...
0
votes
1answer
35 views

Weechat error: unkown command “script” (type /help for help)

While trying to set an autoloading python script in ubuntu, I received the error listed in the title. A google search returned no similar issues and when I type /help scriptthe output returns: No ...
0
votes
1answer
49 views

Changing SH Directory

I want to have a main launcher that executes a python program The directory is /Downloads/Test/ #!/bin/bash/ python Test.py I want to be able to run the file in the terminal, without the following ...
0
votes
1answer
41 views

Environment Variable or saving dev_key file

I am slightly new to ubuntu, I have a NASA-ADS dev_key to access some data on there system but am unable to: save it as an environment variable named ADS_DEV_KEY or save it to a file called ...
0
votes
1answer
36 views

run bottle app on my server

I program my app with python Bottle in my pc. I run my app with run(host='localhost', port = 80) I want to run app on my ubuntu VPS that installed virtualmin on it. how can i do this?
0
votes
1answer
652 views

fail to driver swrast minecraft python

Under Kubuntu 14.04 Trusty, my graphic card is a nvidia gtx geforce 760. I am trying to play with minecraft implemented with Python and Pyglet When trying to lauch the game (python main.py), I have ...
0
votes
1answer
69 views

How to replace/update python-eggtrayicon in 14.04?

I've wrote a pygtk script using python-eggtrayicon but not available in Trusty. However, I've this package installed in my Trusty, because I come from Saucy. How can I replace it? Is it possible to ...
0
votes
1answer
735 views

Downlaod the latest version of python-pip using apt-get

Ubuntu 12.04 Python 2.7 apt 0.8.16~exp12ubuntu10.17 for amd64 compiled on Jun 13 2014 17:42:13 When I run sudo apt-get install python-pip It installs a a very old version. $ pip --version pip 1.0 ...
0
votes
1answer
254 views

unable to install a package using pip

I'm triying to install a package using pip inside a virtualenv: pip install fuse-python but the output is Downloading/unpacking fuse-python Downloading fuse-python-0.2.tar.gz (53kB): 53kB ...
0
votes
1answer
31 views

Which user is logged in, with likewise and Ubuntu12.4?

I need to know which user is logged in my computer but with likewise package installed it does not work. I've used the following commands who users psutil.get_users()[with python] in all cases the ...
0
votes
1answer
113 views

SimpleCV Camera and Sound error

I'm using an ubuntu computer, ubuntu desktop version. I'm trying to make a little script, which tells me when my camera sees my face, what the weather is like. This is going to be a bit long. I'll ...
0
votes
1answer
68 views

Can't get buttons to work wx.python (ubuntu 12.04 LTS )

try: import wx except ImportError: print 'Module not found' class Frame(wx.Frame): def __init__(parent,id ): wx.Frame.__init__(self,parent,id,) panel = wx.Panel(self) ...
0
votes
1answer
145 views

maas-pserv main process ended, respawning

I was trying to get MAAS cluster controller running on Ubuntu 14.04 using a clean server install and adding the MAAS package for the cluster-controller manually later. I have another machine running ...
0
votes
1answer
108 views

How to install Python3.3.5 on Ubuntu Server 12.10?

I need Python 3.3.5 on Ubuntu Server 12.10. I want to run apt-get install python3 but I am not sure this will lead to Python3.3.5 version installation. In other words: how can I install the exact ...
0
votes
1answer
230 views

How to install classicmenu-indicator or python-appindicator on Ubuntu 14.04 x64?

I installed Ubuntu 14.04 x64. When I try to install classicmenu-indicator it says about unresolved dependency python-appindicator When I try to install python-appindicator it tries to install ...
0
votes
1answer
35 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 ...
0
votes
1answer
1k 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
1answer
123 views

can't open software-center and software & updates

This is the error i'm getting Traceback (most recent call last): File "/usr/bin/software-center", line 130, in <module> app = SoftwareCenterAppGtk3(options, args) File ...
0
votes
1answer
180 views

undefined symbol: PyExc_TypeError

I'm using Ubuntu 12.04 and I have weird problem that started appearing. I've been using virtualenv command for working with my Python projects and I never had trouble with it. However, for some reason ...
0
votes
1answer
96 views

python photometry tools

Anybody has experience with photometry? I am trying to use ppt (Python Photometric Toolbox) with no success. I have two branching questions: anybody can suggest a WORKING photometry solution ...
0
votes
1answer
42 views

Cannot open application in Quickly

I'm creating web browser in Quickly. When I am running my application (quickly run) I have errors about gtk. Without the WebKit code it can run. Sorry about my english. Errors: ...
0
votes
1answer
2k views

Python PIP ImportError: No module named encodings

Bonjour, I've just installed pip by doing sudo apt-get install python-pip But I am facing a problem... When I want to download a module (pygame for exemple) it fails by throwing these errors ...