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

Python: no module named datetime?

OS: Ubuntu 14.04 LTS Python: 2.7.6 My installation of Gourmet Recipe Manager suddenly stopped loading. When I run it in a terminal window, I get the following at the end of the traceback: import ...
0
votes
0answers
22 views

Packaging using Quickly and Python 3

I have written an application using Quickly with Python 3. I have adjusted everything necessary for running with Python 3, converted headers to #!/usr/bin/python3, fixed helpers.py, etc. But when I ...
0
votes
1answer
174 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 ...
1
vote
1answer
38 views

echo to /etc/sudoers causing pasrse error

Using fabric if I echo to sudoers file for second time the file got corrupted works fine for first echo. What could be the reason? First echo: sudo('echo "django ALL=(ALL:ALL) ALL" | sudo tee -a ...
0
votes
1answer
581 views

PIL install in Ubuntu 14.04.1 LTS

Followed the steps How do I install python imaging library (PIL)? for pre-setup libraries to install PIL on Ubuntu 14.04. However when I run pip install PIL --allow-external PIL --allow-unverified PIL ...
1
vote
2answers
78 views

mod_python and Apache 2.4

I have upgraded my server from Ubuntu 10.04 to 12.04. Everything is ok, but there is used Apache 2.4. But mod python require Apache 2.2 :( I have old version of trac (issue tracking system). Is there ...
0
votes
0answers
60 views

I'm receiving a GDB test error installing Python 3.4.1 on 14.04

I'm trying to create a VirtualBox VM with Ubuntu 14.04 and Python 3.4.1. I've downloaded the source https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz And I've updated OpenSSL to resolve a ...
3
votes
2answers
2k views

Installing Anaconda python on ubuntu

How to install anaconda python on ubuntu? https://store.continuum.io/cshop/anaconda/ Is there a way to apt-get install it? I only have command line access to my server, how do i install anaconda ...
11
votes
6answers
3k views

What version of Python do I have?

How can I find out what versions of Python I have? I am using Ubuntu 14.04 (Trusty Tahr).
3
votes
1answer
59 views

How can I make Ubuntu to run only one application on startup [duplicate]

I am currently developing a quad copter controller that is touch screen and powered by Raspberry Pi. I already know how to program using Python, but I am having trouble making it run my only app on ...
0
votes
1answer
673 views

How to install `requests` module for `python3`?

I wanted to download Requests: HTTP for Humans module for python3. So I started with sudo apt-get install python3-pip sudo pip3 install requests --upgrade There were no errors. However, when I try ...
0
votes
0answers
23 views

PIP for python not found in 14.04 [duplicate]

$ sudo apt-get install python-pip E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory ...
1
vote
2answers
61 views

Python3 modules [duplicate]

I've recently installed Ubuntu 14.04 and have been a python enthusiast for several years, since I used python in grad school for (text) data analysis. I've noticed that 14.04 comes with both python ...
0
votes
2answers
224 views

Unable to use “pip install scp” command in ubuntu 12.04

I am new to the ubuntu/linux world. While try to run my python script I get the following error: root@ubuntu:/home/haris/Downloads/# python install.py Traceback (most recent call last): File ...
1
vote
1answer
41 views

Unparseable output from pylint in emacs

I just upgraded from Ubuntu 12.04 to 14.04 (clean upgrade, not in-place). I found that I couldn't call pylint from within emacs (M-x pylint) as I used to, so I installed the package python-mode. Now ...
0
votes
0answers
12 views

ubuntu 12.4 starts with a balch window agter installing kivi

Iam running ubuntu 12.4 in dual boot with windows 7 on my machine .I installed kivi (with ubuntu), and when I just have rebooted the machine , ubuntu starts with a balck window .I tyed the recovery ...
0
votes
1answer
30 views

How to make a trial of Ubuntu? [closed]

Hello I've created my own distribution based on Ubuntu, and I would like to know how to go about creating a trial for the operating system, for example users can download the trial and use the ...
0
votes
0answers
55 views

upgrade to 14.04 broken: python error: NameError: name 'MAGIC' is not defined

my release upgrade is broken, shows following error related to python: http://www.pasteall.org/53013 My all python versions are: python python2.7 python3.3 python3m python2 python3 ...
0
votes
0answers
17 views

Can't upgrade Ubuntu 13.04 because of broken python [duplicate]

Because of broken python I can't do anything. apt-get got broken. When I run "do-release-upgrade" I get: root@virtman:/home# sudo do-release-upgrade Could not find platform independent libraries ...
-1
votes
1answer
145 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 ...
1
vote
2answers
348 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
1answer
74 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
48 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
83 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
86 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 ...
2
votes
1answer
2k 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
20 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
338 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
476 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
468 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
106 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
48 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
158 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
1answer
30 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
172 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
70 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
224 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
88 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
65 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
75 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
681 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
63 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
34 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
42 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
269 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
832 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
68 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
358 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
45 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
89 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 ...