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
0answers
16 views

How to download pygame in anaconda [duplicate]

I have anaconda 1.8.0.How can i download pygame in it.I am currently running ubuntu13.10.I have python 2.7.6.
0
votes
2answers
19 views

How to download SPE? [duplicate]

How to download SPE in ubuntu 13.10.I have python2.7.6 in anaconda 1.8.0.I need it for making programs
1
vote
1answer
54 views

How to install pythoncard?

I am currently running ubuntu 13.10.I want to download pythoncard for python2.7.6.I also have anaconda1.8.0.So whenever i start python in my terminator or terminal,it starts along with anaconda.
3
votes
1answer
192 views

Which processes with daemon are unnecessary?

I saw 3 processes which have "daemon.py" at the end of them and use 10 MB of memory each of them. What do they make? Also there are a lot of processes which have daemon inside. Are they really ...
2
votes
2answers
593 views

How to install pygame?

I am running Ubuntu 13.10. I have python 2.7.5 with anaconda 1.8.0. Whenever I start python and type import pygame it tells me that there is no module named pygame. How can I install pygame?
1
vote
0answers
48 views

aptdaemon simulation not updating dependencies

I started playing with aptdaemon on Ubuntu 13.10 recently, and I'm baffled. Calling simulate() on a transaction doesn't update the dependencies list. Debug from aptd shows that several events are ...
2
votes
1answer
41 views

Make Python2.5 failed on Ubuntu 13.04

for some reason I need to install Python2.5 on Ubuntu 13.04. I tried to install it from source. However the make operation is failed with the following error: gcc -pthread -c -fno-strict-aliasing ...
0
votes
1answer
59 views

How to install an app written in Python?

I tried to install an app written in Python using this command in terminal: sudo make install at the very last stage of installation, this message pops up: [ -x /usr/bin/update-desktop-database ] ...
1
vote
1answer
52 views

how to call python script from Explorer right click

I have written a tool in python which i want to be able to launch from the right click of the folder in the File and folder explorer... and I want to pass the folder i right click as argument to the ...
1
vote
4answers
216 views

How to kill the process using the name of the program instead of PID?

I started my Python program in the background using nohup as mentioned below - nohup zook.py & Now I am trying to kill this process so I did the ps command as mentioned below ...
-1
votes
1answer
181 views

couldn't load image in opencv(python)

I installed opencv & python in ubuntu12.04. I'm unable to load the image. I tried $ from cv2.cv import * which showed the error "from: can't read /var/mail/cv2.cv" How to solve this?
1
vote
1answer
92 views

Can I connect to running autostart python script?

I am running Lubuntu 13.10 an have a python script that is run on boot through ~/.config/lxsession/Lubuntu/autostart. The script startes a web application and outputs various information to terminal ...
1
vote
1answer
167 views

Ubuntu 12.04 How to edit .py file in IDLE without invoking the python shell?

First, I followed this answer to modify the file mimeapps.list. How do I set IDLE as the default editor for Python scripts? It works, but not perfect because everytime I right click .py file--select ...
1
vote
2answers
75 views

Python through command terminal, creating functions?

I am new to Ubuntu. I formerly used to use python on windows, and now I am learning Ubuntu. When I open the command terminal, I type python and press Enter,the symbol (>>>) is shown and I am in IDLE. ...
0
votes
2answers
93 views

How come a python file is executable even though its permissions are 644?

I think I am misunderstanding something here. I have made an easy python testing file to see how permissions affect the use of python files. I did so in order to be able to answer 64bit ubuntu 12.04 ...
1
vote
1answer
61 views

64bit ubuntu 12.04 python cannot run an existing python file

absolute path, fails: nan@UXN:~$ python /home/nan/google_appengine/goagent/local/proxy.py python: can't open file '/home/nan/google_appengine/goagent/local/proxy.py': [Errno 2] No such file or ...
0
votes
1answer
145 views

Problem with kivy installation

I'm trying to install the kivy framework. But first I need to install these packages: python-setuptools python-pygame python-opengl python-gst0.10 python-enchant gstreamer0.10-plugins-good python-dev ...
2
votes
2answers
281 views

Horizon: Apache exceptions at import_module

I've deployed Openstack using juju, and everything looks normal except that I cannot browse to openstack-dashboard. I get error 500 Internal Server Error. I looked through apache2 logs at that node ...
1
vote
1answer
170 views

Trouble with jhbuild installation

I am trying to learn GTK+3 as per this site: https://python-gtk-3-tutorial.readthedocs.org/en/latest/install.html. From the page: 1.1. Dependencies GTK+3 Python 2 (2.6 or later) or ...
0
votes
1answer
476 views

IOError: [Errno 13] Permission denied. FEniCS JIT compiler

I keep getting the permission denial error: IOError: [Errno 13] Permission denied, when I try running making a function space. I think it it something to do with the JIT compiler. Somehow, all the ...
1
vote
0answers
77 views

Why am I unable to load python gedit plugins?

I am running Ubuntu 12.04.03 with 3.5.0-44-generic kernel. Python 2.7 and 3.2 are installed. However, whenever I try to enable gedit plugins (python ones, like Bracket completion or Code comment) I ...
1
vote
1answer
723 views

How to get a SSL certificate to be verified in Python?

I've got an inexpensive certificate from EssentialSSL (Comodo is the CA) and I was surprised to discover that Python didn't recognize it. requests.exceptions.SSLError: [Errno 1] _ssl.c:509: ...
-1
votes
1answer
32 views

how do I add to an already existing file?

I want to add to a file but when I do the file starts at the end of the last file.I need it to start at the next "new line"
0
votes
0answers
33 views

Which files should I look at when changing Ubiquity?

I've been thinking about changing the Qt version of Ubiquity to make it easier to use ("easier" in this case meaning not to bring the user to a partition manager when choosing a dual boot option). ...
0
votes
1answer
133 views

Making webpy framework accessible from outside the local network

I am using ubuntu 12.04.03. I have some basic experience with webpy and I had it working for my LAN just by following the tutorial. The framework needs to be able to be used from outside the local ...
1
vote
1answer
600 views

How to install the latest IPython notebook in Ubuntu 12.04?

The solution here asks to install the latest notebook, but I was unable to find how to do so. http://stackoverflow.com/questions/16496687/unable-to-open-an-existing-notebook-in-ipython-notebook
0
votes
1answer
60 views

I want to uninstall Python3 and just use 2.7

I typed in this to the terminal: sudo apt-get remove python3 And it gave me the following output: Reading package lists... Done Building dependency tree Reading state information... Done ...
-1
votes
1answer
201 views

Trouble with Virtualenv and Python installing Skypebot

Ubuntu 13.04 I am trying to follow these instructions here http://sevabot-skype-bot.readthedocs.org/en/latest/ubuntu.html#installing-sevabot I cannot get this virtualenv to work..... ive tried a few ...
1
vote
2answers
75 views

How we can change linux environment variable in python?

Let's say we are on a command line and we declare an environment variable: export x=100 When i go to python and type : os.environ['x'] = '100000' If I came back to command line x stays 100. Is ...
1
vote
1answer
358 views

IDLE 2.7.5+ doesn't work in Ubuntu 13.10

Recently, after upgrade from Ubuntu 13.04 to 13.10 I can open .py files in IDLE 2.7. When I doing click in "File - Rencet Files - file.py" I get a empty windows. In this windows the code is absent and ...
0
votes
0answers
64 views

Difficulties when installing MiningBeast Bitcoin miner

I downloaded and installed the software using a standard packager on Ubuntu 12.04, but when launching I've got the following error: File "/opt/bitcoin/miner/env/bin/run.py", line 5, in ...
1
vote
1answer
63 views

Why do I have two versions of Python?

I am very new to Ubuntu. If I use IDLE I am using Python 3.3.2+, whereas if I go the terminal and type python --version it says I am using 2.7.5+. As these versions are not compatible with each ...
-1
votes
2answers
56 views

Numpy installation?

I used VIRTUALBOX to install Ubuntu 12.04 on my windows pc. I used apt-get to install Python 2.7 that shipped with 12.04. I followed the directives I saw on this site to install Numpy, Scipy, Matplot ...
0
votes
1answer
85 views

Running python3.3 using virtulenv

I am using Ubuntu server 12.04. The default python version is 2.7. I have installed python 3.3 in /opt directory. When I try to create a virtualenv to use python 3.3, I get the following error: ...
2
votes
0answers
479 views

Can't enable Google Music Plugin on Rhythmbox 3.00 ubuntu 13.10 - python error

I am having a problem enabling the gmusic plugin on Rythmbox 3.00 in ubuntu 13.10, it worked in Rythmbox 2.9 but now it stopped working, tryed with PPA and PIP installations and both fail. I ...
1
vote
0answers
29 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.
0
votes
1answer
317 views

gedit R plugin not working after upgrade to 13.10

I recently upgraded to 13.10, and my R plugin for gedit is no longer working. When I go to gedit->preferences->plugins and try to enable "R integration", I have little red error symbol and a message ...
1
vote
1answer
145 views

Suddenly All Video Players Relying on Python Do Not Work in Precise 12.04 amd64

Until several days ago everything was working fine. Last time I used VLC was may be a week or 2 ago. I first noticed the behaviour when trying to play a mp4 video I had played before without trouble ...
3
votes
1answer
51 views

Application integration with Unity launcher

I like to integrate a application (a digital shredder, a interface for shred command) to allow drag-and-drop files from Nautilus to launcher icon and then open the program and fill the file path ...
2
votes
2answers
30 views

Scripting bzr commands

Can someone push me in the right direction to either use a shell script or Python to make a script to simplify pushing a bzr branch to launchpad? The script process would be simple: cd ...
0
votes
1answer
106 views

Camdesk doesn't work

I'm trying to use camdesk following this OMG article, but camdesk isn't working and not sending any error messages. I open it in terminal using: ./camdesk.py A white square appears in the middle ...
2
votes
0answers
112 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
364 views

Update Out-of-date-in-apt python on Ubuntu Server 12.04

Basically, I have a server running 12.04 LTS, and for some reason apt only has python 2.7.3, which is ~18 months out of date. Unfortunately, there are some bugs in the older version of python ...
0
votes
1answer
163 views

How do I enable CGI execution in the root directory of Apache

I have built an Ubuntu server and need to execute CGI scripts in the root directory. I keep finding tutorials on how to execute them from cgi-bin but that isn't desired in my situation. I've installed ...
1
vote
4answers
182 views

Ubuntu Software Center, terminal and other applications don't work after uninstalling Python

I am a new Ubuntu user running Ubuntu 13.04. I've been trying to install and use a DeDRM tool, but I've been having problems doing so. I was following some directions that said I needed a version of ...
2
votes
0answers
184 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 ...
1
vote
1answer
273 views

Can't install Python2.7 on Ubuntu 13.04

I'm trying to install Python 2.7 on my Ubuntu 13.04 VPS. I'm issuing; sudo apt-get install python=2.7.4-0ubuntu1 and getting this in return Reading package lists... Done Building dependency tree ...
0
votes
1answer
53 views

Are there any security problems to running an http server using Python's built in module?

I have a presentation to make to a few people. It's interactive with python CGI scripts. Are there any security problems with using python3 -m http.server --cgi 8000? Each person will be using their ...
0
votes
0answers
209 views

How can I use the python GstVideo module in 12.04?

I'm trying to get the gstreamer1.0 demos to work on 12.04, python 3.2.3 and am getting the following (precise)raymond@localhost:~/workspace/nexense$ python video-player-1.0.py \ ERROR:root:Could ...
2
votes
2answers
4k views

Python 3.3 installation ubuntu 13.10

I have just installed ubuntu 3.10 and, although this version is still reliant on python 2 as the default, the python 3.3 interpreter is listed as installed in the software centre. Does this mean that ...