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

How to keep record of every action and command executed?

I there a way to see the terminal code for every action taken? Something like a listener to know what goes on behind the scenes for every action I take. Example: "selected this element, clicked on ...
0
votes
1answer
16 views

how to create a debian package to install a python module

I came across this answer: How do I create a deb package for a single python script? Which is extremely helpful and well detailed. I have everything except the install file. In that post the user ...
-1
votes
0answers
29 views

Do you think it’s worth it to learn bash scripting in 2015? [on hold]

I really am interested in getting a Linux job, so I started learning bash scripting on my own, but, I did a search recently, and found that a lot of people recommended using Perl or Python, because ...
0
votes
1answer
43 views

An ubuntu newbie needs help on running python [on hold]

I have been using Windows through out my life and but I recently decided to try out Ubuntu, so I downloaded Ubuntu desktop 14.04 and I have successfully installed it. Now I want to start learning the ...
0
votes
1answer
28 views

Can't call wget from Python script

I am writing this script that executes a bunch of commands one of which is to download some packages from a certain url. Following is my script #! /usr/bin/env python #! /usr/bin/env bash import os ...
0
votes
1answer
265 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
0answers
22 views

Error while trying to install llvmlite on Ubuntu 14.04

I am trying to install llvmlite on my ssystem in order to install numba. I have got an error when I did python setup.py build, the first error that appear is assembly.cpp:3:35: fatal error: ...
2
votes
1answer
1k views

How to Uninstall the Ubuntu SDK?

After Installing the Ubuntu SDK v1.009 on ubuntu 12.04.2 LTS, the computer started behaving in a very unstable manner. Also note that Installing the Ubuntu SDK also installs a lot of test libraries ...
0
votes
1answer
28 views

How to install sympy for Python 3.4

I installed the Python scipy stack using the following command taken from here sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy ...
0
votes
0answers
14 views

Revkit Gui Interface Error

I am trying to install Revkit 1.3 in Ubuntu 10.04 LTS. Successfully ran ./make.py bootstrap and ./make.py build, but after giving the command /tools/gui/gui.py I get the following message: Traceback ...
0
votes
0answers
14 views

unable to save setting python in Ubuntu use editor sublime text 2?

I installed python 2.7.9 with framework Django 1.7. I try to change databases in settings.py but cannot save (unable to save mysite/mysite/settings.py) how to solve this problem?
0
votes
0answers
12 views

Query screensaver status from Python e.g. via dbus

I want to do this, but in Python: Is there a programmable way to tell if the screen is locked? I know I can do it by launching a process: gnome-screensaver-command --query and I know I can track ...
0
votes
0answers
10 views

Ubuntu 14: Problem in wxpython html2

I found a bug in Ubuntu when I try to use the control html2. I can found a workaround, in a t.py file I have this lines: import wx import wx.html2 as webview in a by default installation I get ...
0
votes
1answer
18 views

Install python package with python

I will maybe repeat the same question but, when I read "How to intall python packages on Ubuntu" everybody say to "Enter python install file.py" or "Enter sudo" but when I follow these instructions, ...
0
votes
0answers
16 views

How to run .py scripts with double clikcing [duplicate]

I have scripted a screenshot program with python. My problem is i am supposed to run it from ssh via python filename.py or via ./filename.py command. I gave chmod +x permissions but whenever i ...
3
votes
2answers
243 views

Run the file in folder called `python` not the python interpreter

I have a folder. Inside of this folder is an executable called python. When I try to run python from the terminal it instead runs the python interpreter. How can I run the file called python?
0
votes
0answers
29 views

How to create a web2py launcher icon? [duplicate]

I have downloaded web2py which is sitting inside: ~/web2py/web2py.py How can I create a launcher for this?
0
votes
1answer
24 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 ...
1
vote
0answers
13 views

problem installing imagehash ubuntu 14.04

I wanna install python package named imagehash I tried to install with pip but I get exception: Requirement already satisfied (use --upgrade to upgrade): imagehash in ...
0
votes
1answer
23 views

How to uninstall redundant python instance? [duplicate]

When I execute: $ which -a python /usr/local/bin/python /usr/bin/python This bothers me because execute python directly will execute /usr/local/bin/python, but it can't link to correct ...
0
votes
0answers
17 views

Display a quote in ubuntu 14.04

I recently installed Ubuntu 14.04 and thought I would add a quote on desktop which displays it all the time. I found the following link and liked the second option (by Python User) Is there any way ...
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 ...
21
votes
2answers
20k views

How to set up and use a virtual python environment in Ubuntu?

Python virtual environments are used to create isolated python environments to avoid dependency and version conflicts, and also indirectly takes care of permission issues. But what is the easiest way ...
2
votes
1answer
26 views

What is the difference between pip and conda?

I know pip is a package manager for python packages. However, I saw the installation on iPython's website use conda to install iPython. Can I use pip to install iPython? Why should I use conda as ...
2
votes
1answer
146 views

Problem with executing .py script

I am a complete newbie in terms of using Ubuntu and I have stumbled upon this problem: I am trying to run this script: https://gist.github.com/mjkoo/0eb70888b6085b3f65f5 (it's basically a tool that ...
2
votes
2answers
369 views

libreoffice Python Uno support for Python 2.7 on Ubuntu Saucy 13.10

I recently upgraded to Ubuntu 13.10 and discovered that the python-uno package is no longer available. Instead I find a python3-uno package. Unfortunately I need Python uno libreoffice support for ...
0
votes
1answer
34 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
16 views

how do install python 2.7.2 on ubuntuk with postgresql? [duplicate]

I want to install python 2.7.2.tgz on Ubuntu, downloaded from http://python.org/download/. so, what the next step?
1
vote
1answer
113 views

How to set up gcalcli?

I found this Linux Journal article and really would like to get gcalcli working on my PC. I tried both installing from source, as per article and from Ubuntu repository sudo apt-get install gcalcli. ...
16
votes
5answers
19k views

How to remove a deb without removing its dependencies

I would like to install the most recent version of boto, which I do via python setup.py install Yet when I try to remove the old version the following packages also get removed: apt-get remove ...
2
votes
1answer
3k 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 ...
1
vote
0answers
37 views

How do I bundle a python interpreter in my qml app?

How do I bundle a python interpreter in my qml app? I can not use the system's python interpreter due to the nature of Ubuntu’s new Click Packages, and App-Armour. How do I do this?
0
votes
1answer
5k views

ssl missing from Python. 'module' object has no attribute 'HTTPSConnection'

My main issue is that httplib module of python is missing HTTPSConnection. When I try to use pip to install fabric using pip it gives me this error: 'module' object has no attribute ...
1
vote
0answers
45 views

How can I add a custom python indicator to the unity-greeter login screen?

I've installed a custom indicator called PRIME Indicator and it shows up in the top panel (next to date time etc) after I login. I would like to show the indicator before login on the unity-greeter ...
0
votes
0answers
10 views

Errors while installing pychemqt

@ http://sourceforge.net/projects/pychemqt/ The readme file contained in the package listed following dependencies python 2.6 qt 4.7 matplotlib 0.99 numpy 1.4.1 reportlab 2.4 freesteam 2.0 ...
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 ...
-1
votes
1answer
43 views

how to update python version on ubuntu 14.10

I'm trying to figure out what version of python i have installed, and also upgrade it to the latest. When I go to a command prompt and check, it looks like I have an old version of python installed. ...
0
votes
0answers
92 views

AttributeError: 'module' object has no attribute python

I am struggling with compiling python 2.7.9 from source and have been advised to ask this question here. While installing python 2.7.9 following the steps described here the following errors ...
0
votes
0answers
29 views

Chrubuntu Python Missing Package? [duplicate]

I have a brand new Chromebook Acer C720, and I had tried to download a game but it was blocked by chrome. So I went ahead to install Chrbuntu through developer mode and did get it installed however ...
5
votes
2answers
6k views

Error installing scrapy in virtualenv using pip

pip install scrapy Downloading/unpacking scrapy Downloading Scrapy-0.24.2-py2-none-any.whl (502kB): 502kB downloaded Downloading/unpacking pyOpenSSL (from scrapy) Downloading pyOpenSSL-0.14.tar.gz ...
2
votes
1answer
3k views

Why do I get ImportError when trying to import Pandas Python module?

I installed the Pandas module for Python 2.7 using apt-get. However, when I try to import the module, it raises an ImportError: import pandas as pd File ...
0
votes
0answers
37 views

Python error while adding repository

Whenever i try to add repository , the following error occurs. I have newly installed ubuntu and my sources.list.d folder is also present. Please help me with this.. Error:: Traceback (most recent ...
1
vote
2answers
4k views

Installing Pygame Ubuntu 13.04

I recently installed Ubuntu 13.04 and want to install pygame. I've attempted doing as instructed on the pygame page (using the source code) however I am unable to install the dependencies and I get ...
1
vote
1answer
60 views

python 2.7.9 backport to trusty (14.04)

I try to backport Python 2.7.9 from vivid to trusty but when launchpad build this pakage there is an build error. I create my backport : backportpackage -d trusty -u ppa:splanquart/python ...
1
vote
0answers
16 views

AttributeError: type object 'IP' has no attribute 'SubnetSet'

I'm trying to install OpenVPN access server on a virtual server with Ubuntu 14.04 OS. But I get this error: Use local authentication via internal DB? > Press ENTER for default [no]: Traceback ...
2
votes
2answers
37 views

Certificate issues when using Landscape python API.

can anyone help me with some certificate issues..? I'm using Landscape, and trying to use the python API, but I get a CA mismatch, but I've downloaded the .pem, and pointed the script to the location ...
-1
votes
0answers
17 views

how correctly install ua-parser and user-agents

i want to install ua-parser and user-agents on ubuntu and use these module in my python application . i installed ua-parser and user-agents via pip install ua-parser user-agents . this is my code : ...
2
votes
1answer
36 views

Python Installation in Downloads Directory — Better Location?

I installed Python following the directions in the accepted answer to "How do I install python 2.7.2 on Ubuntu?". Doing this involved "wget"ing a Python-2.7.9.tgz file in my ~/Downloads/ directory, ...
56
votes
5answers
187k views

How do I install python 2.7.2 on Ubuntu?

I want to install python 2.7.2.tgz on Ubuntu, downloaded from http://python.org/download/. Is this a correct way to install : ./configure make make install If not , how can I do that?
1
vote
1answer
45 views

Setting python IDLE as default editor for python scripts

I'm using ubuntu 14.04 LTS and I have installed both python 2.7 and python 3.4 . I have tried everything here How do I set IDLE as the default editor for Python scripts? but its not working. Can ...