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
2answers
24 views

Modules installation for Python3.3

I'm trying to install the biopython module on my Ubuntu 12.04 LTS machine (64x). I first upgraded to Python3.3 by installing from source (biopython does not support other versions), that seems ok. ...
1
vote
2answers
114 views

How to install RevKit

I’m trying to install a software called RevKit on Ubuntu 12.10 and the following instructions1 need to be followed: RevKit can be downloaded from the www.revkit.org website. Opening a Bash ...
0
votes
1answer
12 views

How to connect to sql server 2008?

I am using ubuntu 12.04, and i have a microsoft sql server 2008 which is running on a windows server 2008 on port 1433, but windows server 2008 is virtualized it is running on vmware and further this ...
2
votes
1answer
158 views

Custom widgets/controls in application indicators

I want to develop an app for ubuntu, that integrates inside the calendar indicator/menu. It should allow to enter info right from it, and have several controls like input boxes, drop downs, spinners ...
1
vote
1answer
21 views

Running a python scrip using startup

I am trying to get a simple python code that I have to run in the background at startup, and stay running. The best option that I have found so far is to use Upstart. I wrote the following .conf file ...
1
vote
1answer
26 views

How do I install Bem++?

I don't have any experience in using Ubuntu but I want to use this software: http://www.bempp.org/ which unfortunately forced me to use Ubuntu. I have installed Ubuntu and later when I tried to ...
1
vote
1answer
19 views

Getting error while installing python-kivy packages in Ubuntu

I'm not able to install python-kivy, I got this error: dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 127 Processing triggers for ...
-1
votes
1answer
80 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
0answers
33 views

How to distinguish between identical USB's

I have this system where I have 8 USB RFID readers which I would like to distinguish from one another. Here's a snippet from lsusb Bus 002 Device 011: ID 05fe:1010 Chic Technology Corp. Optical ...
3
votes
2answers
2k views

Parse network configuration file (/etc/network/interfaces) with Python

I need to write script in Python to read/write /etc/network/interfaces file. It is not parse-able with builtin module ConfigParser because there are no sections. Is there any parser for such files? ...
0
votes
1answer
364 views

How to install the gedit markdown-preview plugin on 14.04?

I've just installed the markdown preview plugin for gedit and I get the following error on the console when I try to activate it in the plugins tab: Traceback (most recent call last): File ...
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 ...
2
votes
0answers
11 views

Install Acire and Python Snippets on Ubuntu 14 ?

Install Acire and Python Snippets This is very old,, do not work on Ubuntu 14! :( http://aciresnippets.wordpress.com/ last news 2010 :) give it a Alternative for Ubuntu 14 ??
2
votes
2answers
24 views

PlayOnLinux won't start

When I click on the icon nothing happens. In the terminal when I run playonlinux I get the following. ImportError: No module named wxversion Looking for python... 2.7.7 - selected Traceback (most ...
1
vote
0answers
8 views

ImportError: No module named paramiko

I have install paramiko via "sudo apt-get install python-paramiko", but it can't be import in python. How to solve this? Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type ...
0
votes
1answer
18 views

how do i install light table?

I am very new to Ubuntu and I plan on learning python for which I need to install light table. I couldn't find any specific instructions anywhere on the net. please provide me the steps in detail. ...
1
vote
1answer
937 views

Python 2.7.6 on Ubuntu 12.04 How to?

I'm developer and I need to make my enviroment work with Python 2.7.6 (not 2.7.3) on the Ubuntu 12.04. Please, provide me some notes how to do that?
5
votes
4answers
22k views

What is the best way to install python packages?

What is the best way to install python packages in Ubuntu 11? I am a recent convert to Ubuntu and want to learn best practices. For context, I am looking to install the tweeststream package, but I ...
2
votes
1answer
141 views

Can't find Spyder or Ipython Notebook applications after Anaconda install (xubuntu 13.10)

I installed Anaconda 2.7. I can run spyder and ipython notebook from the terminal but I can't find the applications at all from the desktop. Is there a specific place I should look? Should I just ...
0
votes
0answers
15 views

gdb uses python3.3

Currently in Ubuntu 14.04 it seems that gdb uses Python 3. I'd like to downgrade to using the gdb version that uses Python2. Is there any way I could go about doing that easily?
-1
votes
0answers
22 views

another ubuntu-center crash (re-formatted) [closed]

While upgrading from ubuntu 12.04 to 14.04 I received several (2-3) error messages which I allowed to communicate. After completing the upgrade, I tried to run software-center from the icon with no ...
0
votes
2answers
22 views

How to develop applications for Ubuntu Software Center?

I'm learning python. I have completed first three tutorials recommended by official python page. What are the best steps for me to continue? Should I just continue learning python? Should I start ...
1
vote
1answer
38 views

Execute a statement /bin/bash seems not to work in Virtualbox client

I do not know if AskUbuntu is the correct place to ask or Stack Overflow. To execute a statement in Windows use : C:\\Windows\\System32\\cmd.exe What is the equivalent in Ubuntu? I thought it was : ...
0
votes
0answers
101 views

IDLE and PyCharm using Python 3.4.0 when 3.4.1 installed?

I recently visited Python site, and I noticed that a new version, 3.4.1 had come. My install of Ubuntu 14.04 had 3.4.0. So I downloaded Python and installed it. When I opened IDLE, it showed 3.4.0. ...
1
vote
0answers
19 views

ERROR :- One or more models did not validate

I am new to django. I got an error (shown below) when apply syncdb. My Model is class AbstractAddress(models.Model): address1=models.CharField(max_length=200) email = ...
0
votes
0answers
24 views

Install Scipy at virtualenv

I asked a question a few days back, on how to run an older version of matplotlib and I got an amazing answer back. What I had to do was to execute these commands: mkdir matplotlib_1.1.1 cd ...
2
votes
2answers
120 views

Application Indicator icon not changing until clicked

I have an application indicator which shows the moon phase/orientation as its icon (along with a text label). When the indicator does an update (several times per hour), the icon is recreated (as an ...
0
votes
1answer
39 views

access to column in python like awk

This is my data file: Iam python newbie If I use awk to access columns element, that is easy just by $1. how can I access this columns element on python?
1
vote
1answer
33 views

How to install an earlier version of matplotlib?

I have matplotlib 1.3.1 installed on my computer. However I have to run some code that runs with matplotlib 1.1.1 but not with 1.3.1. Therefore I should remove this version and installed 1.1.1. How ...
0
votes
1answer
35 views

Problem in permission to execure python code for Hadoop

I have installed hadoop-1.0.3 and executed an sample program wordcount successfully in my 14.04 following this link. I tried to write program in python by following here. I have copied the ...
1
vote
0answers
15 views

Error retrieving default audio device parameters

I am a newbie. I was trying to create a simple Hello program in python to implement SIP using pjsip. The code I used is: # import sys import pjsua as pj #Logging callback def log_cb(level, str, ...
1
vote
1answer
28 views

Will installing Python 3.2 from software center replace the original Python 2.7 on 12.04?

Will installing Python 3.2 from the software center replace the default Python 2.7 on 12.04? I would like to keep using Python 2.7, because I am afraid Python 3.2 will not recognize code written for ...
3
votes
1answer
80 views

Python scripting - How to execute linux commands? [closed]

I have to do a bunch of file copying, moving, svn check out commands, directory checking etc. and I'm trying to make a script to do it for me. I have basic python syntax, but I'm not sure how to use ...
0
votes
1answer
23 views

Permission denied error when using easy_install

I am trying to use easy_install to install seaborn, a python package. I found however that easy_install is giving me issues for anything I try to install. I recive the following error message: [Errno ...
9
votes
4answers
31k views

run python in terminal

Trying to learn how to run my scripts through Ubuntu's terminal regularly. That being said I am familiar with bash, wget, and awk being called but how do I call python files to run in the terminal? ...
1
vote
1answer
22 views

Python libraries are not updated, except in ipython

I have used pip to update and install some libraries on a computer that hadd an old Numpy version. But it doesn't seem to be actually applied: davidm@illergard:~$ python Python 2.7.3 (default, Feb 27 ...
1
vote
1answer
21 views

How do I make some TCP ports accessible internal only?

I am running four instances of Tornado app at ports 9000 - 9003. I use Nginx as load balancer at the front. However user can access these ports also, for example mysite:9000 is also accessible. so ...
6
votes
4answers
5k views

Unable to download videos using youtube-dl ('sig error'), how to correct?

I used to download videos using youtube-dl command line tool, from the past two days whenever i try to download any video I get an error as shown below. $ youtube-dl ...
0
votes
0answers
23 views

Install pygame in anaconda

I have anaconda on Ubuntu 14.04. I want to install the pygame module with anaconda. I already run sudo apt-get install python-pygame, but this only works on python, not in anaconda.
3
votes
2answers
6k views

Installing pygame with pip

I'm trying to install pygame using pip in a virtualenv. I'm following this tutorial on using Kivy. However, running pip install pygame returns Downloading/unpacking pygame Downloading ...
0
votes
0answers
26 views

Untrusted Package Errors when installing Okular and ACE Stream

Whenever I try to install a new application, I get 'Untrusted Package Errors'. For example, at the moment I'm trying to install 'Okular', but I keep getting an Untrusted Package Error upon ...
1
vote
1answer
43 views

How can i install anaconda on Ubuntu?

I need help to install the anaconda python distribution on Ubuntu 14.04. I ran in terminal the bash script Anaconda.sh, but I thing I have to do something else after that.
1
vote
1answer
51 views

AppIndicator documentation for Python

Where has the documentation for the Python bindings to AppIndicator gone? Visiting this official looking page, all the links are broken.
3
votes
2answers
58 views

What to learn Ubuntu application development in python, where to start?

I know basic python and i love it. I want to learn how to develop and publish Ubuntu applications in python but don't know where to start (I mean "the standard ways" to do so). It would be good if you ...
1
vote
1answer
19 views

How do I automate the activation of Python environment

I have created an environment, using virtualenv, for Python 3.4.1 which I installed on /opt. The environment is on ~/py34. Every time I want to use it, I have to type: source py34/bin/activate python ...
2
votes
1answer
2k views

Getting “Python (v2.7) requires to install plugins” error during ripping

I have just installed Ubuntu 12.10 from a flash drive that you create from the official ubuntu website. I am getting some errors on the system quite frequently. I have tried redoing it but I keep ...
1
vote
1answer
35 views

Error starting python file using cron

I'm trying to get a python file to run every 2 mins, I'm using the following cron command but the script never runs. Would anyone know what the possible errors could be related to starting a python ...
0
votes
1answer
47 views

Problem with QtWebkit and QML in PyQt5 App Ubuntu for Devices (Ubuntu Touch)

I'm having problems with qtwebkit in ubuntu for devices (Nexus 10) when using pyqt5, the webview element doesn't show, and the application closes. But if I test the same .qml file with qmlscene it ...
0
votes
1answer
18 views

Button Click not recognised in Quickly

I am running quickly 12.80.1-0ubuntu2 and for some reason the apps that I generate no longer recognise button clicks. A few weeks ago I created an application using the ubuntu-application template ...
1
vote
2answers
188 views

Is there any way to add a new location to the list of places where nltk looks for the wordnet corpus?

I can't use the nltk wordnet lemmatizer because I can't download the wordnet corpus on my university computer due to access rights issues. I get the following error when I try to do so: ...