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

Quickly produces an error when installing

I ported an application over to Quickly, replacing all the files as necessary. When I say quickly run the application runs without flaw. However, the problem occurs when I try to package/install it. ...
1
vote
1answer
396 views

How to install Python 3.4 properly on Saucy?

For my project I need Python 3.4 (beta 2) for its asyncio module, but there is no official package for Ubuntu yet (unlike Windows, which has an MSI already). I'd like to know how can I install Python ...
1
vote
1answer
188 views

Can I connect to running autostart python script?

I am running Lubuntu 13.10 an have a python script that is run on boot through ~/.config/lxsession/Lubuntu/autostart. The script startes a web application and outputs various information to terminal ...
1
vote
1answer
573 views

Trouble with jhbuild installation

I am trying to learn GTK+3 as per this site: https://python-gtk-3-tutorial.readthedocs.org/en/latest/install.html. From the page: 1.1. Dependencies GTK+3 Python 2 (2.6 or later) or ...
1
vote
1answer
375 views

Can't install Python2.7 on Ubuntu 13.04

I'm trying to install Python 2.7 on my Ubuntu 13.04 VPS. I'm issuing; sudo apt-get install python=2.7.4-0ubuntu1 and getting this in return Reading package lists... Done Building dependency tree ...
1
vote
1answer
1k views

ubuntu 12.04 python problem or?

Hi i am trying to fix this for a long time but without success. When i open my zsh terminal i get this error: (terminal is working but error appear) Welcome to the world of tomorrow! ...
1
vote
1answer
2k views

How to install Visual Python?

I'm a Linux newbie but I'm determined to get my favorite applications on my laptop running Ubuntu 12.04. I just installed Cinnamon. I'm trying to install Visual Python and it requires Python 2.7. I ...
1
vote
1answer
66 views

Issue getting mysql to work correctly

I am installing a custom app that needs mysql, which I already had working so I am a bit confused on whats going on. Anyways here is the error Error loading MySQLdb module: this is MySQLdb ...
1
vote
1answer
1k views

Cannot import gnuradio. Is python set correctly?

When launching gnuradio companion it gives this error message: Cannot import gnuradio. Is the python path environment variable set correctly? All OS: PYTHONPATH Is the library path environment ...
1
vote
1answer
485 views

Dragon Naturally Speaking in Ubuntu

I'm trying to get Dragon Naturally Speaking working through Ubuntu.... I set it up in virtualbox, but i found it incredibly tough to access its features through Linux. I know there is a way to do it ...
1
vote
1answer
95 views

Does pyopencl require discrete graphics?

When I try to install the package pyopencl, it pulls in Nvidia stuff (nvidia-current, I think). This appears to install without problems, but then messes up my OpenGL-related things. I thought a ...
1
vote
1answer
77 views

How to get translations on Launchpad for a custom program

I wrote a program and uploaded it to a ppa. This program uses translations which I manually create using pylupdate4 Translate.pro, then Qt-Linguist, then lrelease Translate.proon my home PC. So the ...
1
vote
1answer
447 views

Install package from ppa with setup.py file

I am writing a python program that I want to upload to a ppa so other people can install it on their machine. Right now I have a setup.py-file that copies the files to their place and installs the ...
1
vote
1answer
963 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
871 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
440 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
53 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
948 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
96 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
365 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
110 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
123 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
224 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
155 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
383 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
16 views

how to auto send predefined password without prompt 'Password :' and without need to manual input password

how to auto send predefined password without prompt 'Password :' and without need to manual input password #!/usr/bin/python import getpass import pexpect import sys import os ## Logs into device ...
0
votes
1answer
25 views

Python - AttributeError with hashlib: no such attribute: “openssl_md_meth_names”

I don't know why this is happening, but after some crazy recovery from installing python from source, when anything imports hashlib, it comes up with something like this error: Traceback (most recent ...
0
votes
1answer
21 views

Command line python is different from Python IDLE

I have installed sklearn on Ubuntu 14.04. However, when I execute a script via the command line which imports sklearn, I get an import error. Running the same script with Python IDLE yields no error ...
0
votes
1answer
37 views

How to install pyzmq for iPython Notebook in a Python 3 virtual environment?

I wanted to use iPython Notebook in Python 3 on Ubuntu 14.04. Because I have both Python 2.7 and Python 3.4 installed on my system--and for other implementation-specific reasons--I decided to use a ...
0
votes
1answer
40 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
18 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
268 views

How to update PyCharm 3.4 to 4 in Ubuntu 14.04

I have Pycharm 3.4 community edition installed. I want to update my installation to 4.0. Going to Help > Check for update shows me that I am in latest version which is 3.4.1. Manual download and ...
0
votes
1answer
48 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
23 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
24 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
96 views

Python Error when opening software-center

My software center suddenly not working. When i tried to open it from the launcher, its only loading but showing nothing. I tried to run it from terminal, and got this error : Traceback (most recent ...
0
votes
1answer
450 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
36 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
105 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
47 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
52 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
43 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
42 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
1k 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
83 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 ...