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

How can install python-dev for 2.7.8 in 14.04 off apt-get?

I have tried this and this and this and this Well nothing works with me, i got my amd64 system, 14.04 up and runnig, as I try to install wagtail, a django cms, i get the error. pysass.c:4:20: ...
0
votes
0answers
27 views

fresh install, python-software-properties unmet dependencies

attention: This might be more a question for "gis.stackexchange" but it is Ubuntu-related Geonode 2.0 is available for Ubuntu 12.04 but not for Ubuntu 14.04. According to the docs it should be ...
0
votes
0answers
13 views

anki issues how to make work

Hi further to my question ealrier Below is the error message I get from my computer when I try to use Anki (2.0.28) Today, I have ascertained that it is my computer and not the files for anki which ...
0
votes
0answers
15 views

PyGTK3 touchscreen support

Does GTK3 supports touchscreen(multitouch and gestures)? I want to build touch application for Ubuntu desktop 14.04 using python
1
vote
1answer
38 views

Undo apt-get remove --purge

I wanted a fresh install of Python and ran sudo apt-get remove --purge python. Apparently it has killed almost everything I had installed in my system. Looking at the history.log I guess I could ...
4
votes
1answer
40 views

python GUI frameworks that support touch devices

Hello everyone I want to know what is the best GUI framework for python that supports touch I've been searching couple of hours and this are results which I found: PyQt5 I heard for Qt and I know ...
1
vote
1answer
22 views

How can I take a textbox text entry and make it a variable?

I am having trouble with Python and would like to have some help. I am making a apt GUI 'front-end' with a nice UI. def on_textbox_changed(self): self.instvar = ...
0
votes
2answers
47 views

Do I need to install anything else? [closed]

I am a new Linux user I just swapped over from Windows. Well rather I'm dual booting but plan to use Ubuntu as my primary OS from now on. I just installed Python 2.7.8 and in the thread that I read ...
0
votes
1answer
51 views

How do I run python code in ubuntu 14.04 [duplicate]

I'm learning python so I may get my foot in the door for a programming career. I'm using the gedit text editor to write the code, however I don't know how to execute the code on ubuntu. If anyone is ...
0
votes
0answers
20 views

Error processing package mumble-django

Everytime when i try to install update from the terminal this error is displayed. How do I sort it out? Setting up mumble-django (2.10-2) ... dpkg: error processing package mumble-django ...
0
votes
0answers
14 views

Samsung tv serial commands with python

I have a Samsung Plasma display that I use a Python script to turn on and off with its serial interface. (ex-link). import time, serial ser = serial.Serial(port='/dev/ttyUSB0', baudrate=9600, ...
0
votes
1answer
63 views

Where is the output file? [closed]

I try to follow the examples about Quantum Circuit Plotting with SymPy but I can not find the output picture. My OS is Ubuntu and I type all the command in the terminal of IPython, as you can see ...
0
votes
3answers
49 views

How do I install graphics.py on Ubuntu 14.04?

I need to install graphics.py for class. How do I do that, and how do I install other Python modules?
0
votes
2answers
28 views

How to insert a line in vim

In my python application i need to write import import pdb; pdb.set_trace() for debugging. And after debugging line is removed. Is there any way in gvim to insert this line by key mapping, so that i ...
0
votes
0answers
8 views

Configuration error for pep8 and flymake for emacs

I am trying to configure pep8 to ignore E221, E222, and E226 (all related to spacing around operators). I followed this documentation https://pep8.readthedocs.org/en/1.4.6/intro.html to generate a ...
1
vote
0answers
17 views

How do I run .ui files in ubuntu 12.04?

I created a very basic .ui file and edited it using pyqt. Now when I click the ui file, it opens in QT Designer. How do I run it? All it does in print ham (hehe). I'm sorry about my language, Please ...
0
votes
1answer
21 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 ...
1
vote
1answer
42 views

I uninstalled Python without realizing it's really important. What should I do? [duplicate]

How much have I broken and should I just reinstall the OS?
0
votes
0answers
26 views

python download just mp3 from youtube

I want just to download mp3 tracks from youtube, I know that services like youtube-dl download first an .mp4 and then they convert it. Is it possible to download just a .mp3 in a 256 kb/s format? If ...
0
votes
2answers
37 views

Bash tries to run python on unknown command and fails in Py_Initialize

Running Ubuntu 14.04 and updater says that all software is up to date. Have tried rebooting. I am preparing for a class that uses Python. I have installed it and it works fine. However, I now have ...
1
vote
1answer
36 views

Has anybody got access to a H264-stream of an IP-Cam over SimpleCV?

I wonder if it's possible to get access of the H264-encoded mainstream of my Hikvision IP-cam DS-2CD2032-I over SimpleCV. The H264-stream I got in the browser is ...
0
votes
3answers
34 views

Stream audio from youtube

I just want to stream (whitout downloading) a youtube video. Is there an easy way to do this with python or exists a script to do that? Or i must download in a temporany file the video, convert it and ...
1
vote
1answer
48 views

Problem when trying to install fpdb on ubuntu machine

I've been trying to get fpdb working on my Ubuntu desktop, but every time I try to install it from the Gz file, my system won't let me use ./configure (saying file not found), and when I try to ...
0
votes
1answer
9 views

How to add a Custom Openshot Blender Template?

After Creating the appropriate files and structure as listed ./blender/custom.xml ./blender/blend/custom.blend ./blender/scripts/custom.py ./blender/icons/custom.png and placed in the location ...
1
vote
3answers
70 views

Permanent autostart

I would like to make a Python 3.4 script that starts with my computer so that it's permanently checked to start up with the computer (edit: permanently checked means it can't be disabled via ...
-1
votes
0answers
26 views

Gedit embedded terminal not working

I get this error when I run gedit: $ gedit Traceback (most recent call last): File "/usr/lib/x86_64-linux-gnu/gedit/plugins/terminal.py", line 309, in do_activate self._panel = ...
1
vote
1answer
297 views

Is it possible to install Python 3.x in 14.04 LTS?

I'm looking to pick up some programming skills and after looking into it a bit, I came across an article that recommended that I learn Python as a way of getting started at programming before moving ...
-2
votes
1answer
54 views

Running python module in gedit embedded terminal [closed]

I'm new to python and i'm trying to run my first module but i can't do that through gedit embedded terminal the code i wrote is def num(b): print("Give A Number") b = b +5 print(b) I ...
0
votes
1answer
47 views

Run terminal command (python command) at start up [duplicate]

New to Ubuntu, but have looked everywhere to get this question answered. Found no solution so far. Basically I need to run two terminal commands on startup, which follow each other directly. This will ...
0
votes
0answers
31 views

Unable to install bsddb185, Python library for opening Berkeley DB version 1.85 files on Ubuntu

I am writing a python program that makes use of some legacy Berkeley DB 1.85 files. Unfortunately I am unable to install the bsddb185 Python package, either for Python version 2.x and for Python 3. ...
1
vote
1answer
27 views

How do I install pygame in a pyenv virtualenv for Python 2.7 on Ubuntu 12.04?

I found instructions for Python 3.3 but nothing specifically for 2.7. I sorted it out and figured I'd record it here for future reference.
2
votes
1answer
76 views

http request to cgi python script successful, but the script doesn't seem to run[SOLVED] [closed]

I have configured cgi scripts for my apache2 web server. Here is what I want to do: Client uploads the image to the server. (this already works) On success, I want to execute the python script to ...
1
vote
0answers
59 views

pyvenv still broken on 14.04.1?

meow@te:~# pyvenv-3.4 v Error: Command '['/meow/v/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1 I thought it was fixed. I've done update and ...
0
votes
0answers
20 views

notify-send does not work with root on Ubuntu 14.04

I have a small python script that I start it using a shell script stored in "/etc/X11/Xsession.d" The code is very simple it show a notification message import os import time while True: ...
0
votes
0answers
27 views

Why doesn't 'launcher.set_property(“urgent”, True)' work?

My script: #!/usr/bin/python # update bar on dash icon by stdin # ex: for i in {0..100};do echo "$i";sleep 0.3;done | ./$0 import sys, time from gi.repository import Unity, Gio, GObject, Dbusmenu ...
0
votes
0answers
26 views

How to create an installer for a python GTK3 application?

I have just finished developing a Python 2.7 application using Gtk3 for GUI. My question is, how can I now create an installer for Windows, Mac, and Linux (possibly three different installers) for my ...
2
votes
1answer
232 views

Install Python 2.7.8 on Ubuntu 12.04

I have to use Ubuntu 12.04 for some reason. In the other hand, i have to use Python 2.7.8 but the newest python version for 12.04 is 2.7.3. Is there any ppa repository i can use to upgrade my python ...
0
votes
1answer
12 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?
1
vote
1answer
84 views

Tkinter on Ubuntu 14.04 seems not to work

I receive following Traceback: Traceback (most recent call last): File "tkinter_basic_frame.py", line 4, in <module> from Tkinter import Tk, Frame, BOTH File ...
0
votes
0answers
40 views

Cannot compile GDB7.8 with Python support

I am trying to install GDB7.8 with Python support. From the source folder, I am running ./configure --with-python When I did tab-complete from --with- I did not see Python in the list. But when I ran ...
3
votes
1answer
70 views

Is there a way to mirror directory changes in Terminator?

I'm on Ubuntu 12.04 and am using Terminator as my primary terminal. I like it because it lets me keep a python interpreter and bash terminal open at the same time, in the same view. What is annoying ...
2
votes
1answer
42 views

Removing idle-python2.7 in Ubuntu 12.04

I'm having some issues when updating packages on Ubuntu 12.04: Processing triggers for menu ... Errors were encountered while processing: idle-python2.7 Setting up idle-python2.7 (2.7.3-0ubuntu3.5) ...
0
votes
1answer
82 views

package xxxx and python-xxxx

I am trying to install the latest version of package xxxx. I downloaded, unarchived and follow the readme: python setup-py install But python does not see my latest version. It seems that there is a ...
2
votes
0answers
40 views

How to run Python program installed system-wide through pip without root privileges?

I have two different Ubuntu computers that both has multiple user accounts. I wanted to try the latest version of the backup program Attic, so I used pip3 to install it—with success. However, I can’t ...
0
votes
1answer
39 views

How can I tidy up the mess that is my Python installations?

I had a Ubuntu 12.04 system which I eventually managed to get Python 2.7 and Python 3.2 working together (with pip and pip3) and Python 3.3 (with pip3.3) for good measure. I've recently upgraded to ...
-1
votes
0answers
17 views

How to make python script executable in Ubuntu? [duplicate]

I want to execute a python script by just double clicking, without going to the terminal/shell. I already add the hashbang/shebang to the script and make it executable but it just open in gedit when i ...
1
vote
1answer
104 views

Cannot install python module urlparse

some program written in Python 2.7 complains that ImportError: No module named 'urlparse'. So I need to install the module, but I am not able to do it. The module does exist, it is described e.g. at ...
0
votes
0answers
39 views

By mistake I removed Python. Terminal, music player, video player, Software Center etc. are gone

I work on Ubuntu 14.04 to install Python and other packages I entered the following command : sudo apt-get install python python-pip python-pyparsing python-mysqldb gunicorn nginx git-core ipython ...
1
vote
1answer
40 views

How to add SSL support to Python?

On Ubuntu 14.04, I installed Python 3. Now that I am programming with it, I had a problem with Python and I am told that the error occurred because I did not install Python with SSL support. Is it ...
2
votes
1answer
106 views

Beautiful Soup 4 not working with Python 3.4.0

I am using Ubuntu 14.04 64 bit Operating System . I installed Beautiful Soup 4 using this command : sudo apt-get install python-bs4 With Python 2.7.6 , I had no difficulty importing the bs4 ...