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
43 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
44 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 ...
2
votes
0answers
51 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 ...
1
vote
1answer
637 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
13 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
91 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
62 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
58 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. ...
0
votes
0answers
45 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
29 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 ...
1
vote
0answers
74 views

ERROR :- One or more models did not validate [closed]

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

How to develop applications for Ubuntu Software Center? [duplicate]

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 ...
0
votes
0answers
79 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 ...
1
vote
1answer
46 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
1answer
76 views

access to column in python like awk [closed]

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
41 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 ...
1
vote
0answers
26 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
44 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
107 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
39 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 ...
1
vote
1answer
22 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 ...
1
vote
1answer
36 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 ...
0
votes
0answers
52 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.
0
votes
1answer
310 views

IDLE and PyCharm using Python 3.4.0 when 3.4.1 installed?

I recently visited the Python site, and noticed that a new version, 3.4.1 had come out. My Ubuntu 14.04 had 3.4.0, so I downloaded 3.4.1 and installed it. When I open IDLE, it showed 3.4.0, but when I ...
0
votes
0answers
47 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
108 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
43 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 ...
3
votes
2answers
72 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 ...
2
votes
2answers
145 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 ...
1
vote
1answer
23 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 ...
0
votes
1answer
77 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 ...
2
votes
1answer
294 views

Where did the easy_install and pip packages go?

I wrote a Bash script which automates the installation of an application based on ERPNext 3.6.1* on my Ubuntu 14.04 LTS laptop. Part of the script installs required dependencies using apt-get ...
1
vote
1answer
26 views

Installing pycairo on Python 3

I'm trying to install pycairo, but my symlink is sending it to python 2, though it requires 3. How do I get around this error? # ./waf build ./options() The project was not configured: run "waf ...
0
votes
1answer
24 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
1answer
30 views

I broke software updater by making python3 default

I tried to make Python 3 the default Python version by running: sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 This broke Python 2 programs, so I tried reversing the ...
0
votes
1answer
45 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
16 views

How to configure PythonPath in apache2

The default version of Python in my Ubuntu(12.04) is 2.7 . For python2.7 projects,I am configuring like this: <Location "/callcentre"> SetHandler python-program PythonHandler ...
-1
votes
2answers
40 views

Shifting between alternate versions of Python in Ubuntu

I am new to ubuntu and I wanted to shift my version to Python 3.4.1. So I ran the command: $ sudo update-alternatives --config python update-alternatives: error: no alternatives for python But ...
0
votes
1answer
28 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
130 views

I replaced pip for python 2 by installing pip3 with easy_install3 pip. How do I get pip to point at python 2's version?

I'm on an Ubuntu 12.04 system and I need to use python3 and pip3. Turns out I shouldn't have installed pip3 with easy_install3, because pip now points to pip3 from pip -V. I have tried reinstalling ...
0
votes
1answer
126 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 ...
3
votes
2answers
51 views

Does lens exist in Ubuntu14.04?

When I import 'Lens' from 'gi.repository' in Python, it shows that the Lens doesn't exist, as well as 'Scope'. But 'SimpleScope' exist. Is there any structural changing between Ubuntu 14.04 and ...
0
votes
0answers
25 views

multiple connection pycurl ppp0 and ppp1

I have already looked at this question Dialing into multiple PPP connections and it's working well but multiple connections are not available if I'm adding table ppp0, the other ppp1 cant connect ...
-1
votes
1answer
372 views

cannot install lxml in virtualenv (python)

I cannot install lxml. In system i have python-lxml package, but i need other... Please help, if you can - my task is install lxml for development in virtual enviroment using virtualenv. I found this ...
0
votes
0answers
70 views

I need someone to go through my conky scripts and correct my mistakes

I modified some conky scripts that I downloaded online. I cant quite figure out how to make the rss feed run. I tried two methods to get the rss feed - the rss command in conky (used in dinamalar ...
2
votes
0answers
40 views

Python GTK: How to stop a function from happening if a checkbox is checked

In my program I have one of those annoying popups that alerts the user to go check the settings. I have a checkbox that if checked, is supposed to never show the popup again. I have no idea how to do ...
4
votes
3answers
372 views

Bash / Python error handling?

I am trying to execute very basic Python code containing error handling as a Bash script, but while the code seems to run OK in Python, the code generates problems when executed under Bash. ...
0
votes
0answers
23 views

Trying to use Pandas in Python - Error: wrong ELF class: ELFCLASS32

I have installed the latest version of Pandas by using the following: sudo apt-get install python-pandas but I keep getting the following error message when i try to import into Python: ...
1
vote
1answer
157 views

Running a python program from Ubuntu's 14.04 GUI [closed]

I would like to launch a terminal window and run a python program, but 14.04 does not seem to have the ability to do so like some older versions. I would like to click on an icon and it start a ...
1
vote
1answer
42 views

How to interact with python scripts on geany after running, just like on IDLE

On IDLE after running a script/program made with python by pressing f5, you could still interact with the program even after it finished running. But on Geany, when running it, and when the program ...