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

Upgrade from 12 to 14 failed with missing python package, now what?

do-release-upgrade aborted deep in the process. The main log file ends with the following. How do I recover this system? (The apt.log file seems boring). 2015-03-28 08:30:32,930 INFO Using config ...
0
votes
1answer
11 views

Can I import a Gtk2 & Gtk3 libraries together?

I think the answer is not... but I'll leave the question here :) Thanks in advance! FYI I tried in the upstream project without luck. Goal: I'm developing a Folder Color extension and I need to add a ...
0
votes
1answer
11 views

ImportError: No module named tkinter

When I try to install tkinter using this command: sudo apt-get install python-tk I get this message meaning it is already installed: Reading package lists... Done Building dependency tree ...
1
vote
1answer
38 views

Begining Development for Ubuntu (and Linux in General). Where to start? [on hold]

I realize this is not particularly a good question to ask here as it is largely opinion based but I'm not really sure where else to post this. Recently, I moved over to Ubuntu as my primary OS and am ...
2
votes
0answers
51 views

Huge Python Problem

Preamble: I tried looking up a solution and nothing worked for me. First, when I run the following command $ sudo python --version Python 2.7.5+ Similarly for python2 and 3 $ sudo python2 ...
0
votes
1answer
23 views

Error when i do ''make'' in cado-nfs map

When I’m in terminal and in the map cado-nfs. Then I do make. It will run for a second or two and then I gives a stops and gives this error: CMake Error at config/python.cmake:32 (message): Did ...
0
votes
1answer
34 views

Trying to run hp-toolbox from HPLIP but gives python errors

I am trying to get my HP Deskjet F2280 printer running, I've Googled that I need HPLIP to print anything with HP printers on Linux but after I installed and ran HPLIP-toolbox from KDE it doesn't let ...
0
votes
1answer
11 views

Error when adding torrents to deluge with python: User does not exists

I am trying to write a python script to download my tv shows automatically as soon as they become available. I got the basics done. But i cant get to add torrent to deluge via deluge-console. The ...
-1
votes
1answer
34 views

python3 - ImportError: No module named '_chipset'

I tried to run python3 script as follows : $python3 quick_dump.py ...but every time I get output as : ImportError: No module named '_chipset' I just watched the quick_dump.py script imports ...
-1
votes
0answers
15 views

Python Corrupted: problem with libpython2.7.so and nemo [on hold]

I've been trying to fix "nemo" file manager, it just simply stopped working, I saw system's log and figure out that it was a problem with libpython2.7.so.1.0, so I tried to create a symbolic link from ...
0
votes
0answers
31 views

to install numpy i get the following error of unmet depedency

While installing the numpy of python I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f ...
0
votes
0answers
11 views

pyopengl wont start

I installed pyopengl and the libraries are found, but it'ss not working with glutinit() . i know this i a GLUT problem but I'm not sure where linux keeps thier GL files (previously windows user). ...
2
votes
1answer
49 views

How do I get Ubuntu to use Anaconda's python instead of the standard /usr/lib/python…?

I installed Anaconda using instructions provided on the main website, which are similar to those that can be seen here: Installing Anaconda python on ubuntu However, I found that I had to manually ...
0
votes
1answer
35 views

Duplicity package broken [closed]

I involuntary broke Duplicity. Short version: I wanted to update duplicity to 0.6.23 because it has a progress bar implemented, so I installed the daily/nightly version on my raspy from the official ...
0
votes
0answers
18 views

/usr/local/bin permissions and numpy

For installing the extensive Python package numpy, I get some failures due to permissions problems in /usr/local/bin/, where dependencies need to be installed. I could use sudo when running the ...
0
votes
0answers
25 views

CODE INVOLVING GPY in python

The code I am trying to run is given below here. It is not executing beyond line 114 ie. print k. After, that the printing of the model is not taking place and the errors being returned have been ...
-2
votes
0answers
16 views

Tweepy - how to search in the followers timeline

xI've found this brilliant script (although I don't quite understand what paginate is doing). Is there a way to search inside the timeline of each of the followers for a specific word and only print ...
1
vote
1answer
40 views

Getting Tweepy to run [on hold]

I can't get tweepy to work. What am I doing wrong?: nuc@nuc:~$ python Python 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Aug 21 2014, 18:22:21) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2 Type ...
-5
votes
0answers
36 views

can't find such a file or directory ( python )

I have a default version of python on ubuntu 14.4 and I downloaded again from sudo-get install python-mechanize then I type in terminal python facebook.py but nothing will happening it will showing ...
0
votes
1answer
23 views

linux detect interface promiscuous mode in my network

how can detect and get the name or mac adress or ip adress of any device in my network that the mode of its interface is promiscous script python. I need help, thanks.
0
votes
2answers
36 views

apt-get install python-software-properties not working

I'm new here, new to Ubuntu, and basically new too anything related to Linux. I am trying to install zoneminder and I am following this wiki page: ...
0
votes
0answers
9 views

Geeknote crashes during show command

'mI trying to use geeknote that is console evernote client on my Ubuntu . I got following error while executing show command. ----------------- CONTENT ----------------- Traceback (most recent call ...
0
votes
1answer
38 views

make my machine invisible for ping [duplicate]

I search solution to pevent my machine form the attack arp poisoning. I believe to make my device invisible for this haker If they want to ping my machine they have any reply. I don't khnow how I ...
2
votes
1answer
52 views

How to install pip and a python package for self installed python?

/usr/bin/python points to /usr/bin/python2.7, the old version 2.7.6 python used by my OS 14.04. For the old python, I wanted to install module regex: $ sudo python -m pip install regex ...
0
votes
0answers
14 views

Missing bits for some modules during installation

I install Python 2.7.9 from compiling its source on 64-bit Ubuntu 14.04. Running make seems without error, but it also says that Python build finished, but the necessary bits to build these modules ...
0
votes
1answer
60 views

Good to replace my python 2.7.6 with python 2.7.9? [duplicate]

My Ubuntu is 14.04, which has Python 2.7.6 by default. The latest Python 2.x is 2.7.9. I am thinking whether to install 2.7.9 from its official site, just in case that something is available in 2.7.9 ...
0
votes
1answer
41 views

What does “.bashrc or prepend the Anaconda install location” mean?

I installed Anaconda from root, after completion of installation this message was displayed on terminal screen: Python 2.7.8 :: Continuum Analytics, Inc. creating default environment... installation ...
1
vote
0answers
12 views

Best way to port PyScripter+GTK programs from Windows to Ubuntu

I have a bunch of small python graphics programs that I developed with PyScripter and GTK on Windows. I was hoping to switch to Ubuntu, but PyScripter is not available in Linux, and Spyder does not ...
0
votes
1answer
19 views

Does Spyder work with Python GTK in Ubuntu?

Does Spyder work with Python GTK in Ubuntu? Or is Spyder Qt only?
0
votes
2answers
26 views

Change name of executable file when using chmod +x

I have python file my_script.py When I run: chmod +x my_script.py I end up with two files that are called my_script.py, one executable file and one python file, when I try to get the size of the ...
1
vote
1answer
56 views

Make a Python program executable from its icon

I wish to python programs execute in a window from clicking an icon. This is day one of teaching myself and type of coding and Ubuntu so over-explantion and extra detail is appreciated. Code example ...
0
votes
0answers
65 views

Permanently adding folder to PYTHONPATH [on hold]

Before I'll ask my question, just to let you know, that I did some HW for this topic but still have some issues that I don't actually understand. Unfortunately I can't list all those links here ...
1
vote
1answer
24 views

Where can I find documentation about the python charm helpers?

I would like to have up-to-date documentation about writing charms in python.
-2
votes
1answer
29 views

How do I specify a CIDR IP range to nmap in python?

I have this function: if subnet==16: nm = nmap.PortScanner() a=nm.scan(hosts='172.16.2.0-256', arguments='-sn') for k,v in a['scan'].iteritems(): if ...
1
vote
2answers
53 views

Kill processes by name

I have got python http server. OS - ubuntu server 12.04. Some time i need to kill all python http processes. I use this command sudo killall python But it kills all python processes. Is it possible ...
0
votes
0answers
14 views

Cannot find virtualenvwrapper after installing

I installed virtualenvwrapper like this: sudo pip install virtualenvwrapper I thought I would find it here: /usr/local/bin/virtualenvwrapper.sh but I did not. I am trying to configure it in ...
1
vote
0answers
34 views

Using pip3-installed python 3 packages when apt-installed packages exist too?

I have numpy 1.8.2 installed in /usr/lib/python3/dist-packages (via apt), and the newest version (1.9.2) installed in /usr/local/lib/python3.4/dist-packages (via pip). Both paths are in sys.path (in ...
0
votes
2answers
36 views

How to run two 'python manage.py runserver' commands of two different folder in a single terminal

I have two different python project placed in different folder (project 1 in pydir1 directory, project 2 in pydir2 directory). Every time, I need to open two new terminal and run the python manage.py ...
2
votes
0answers
27 views

Unable to receive the UDP message

I have two PC lets name it EchoPC, and TestPC On the EchoPC a UDP echo server is running. On the TestPC the following server is running: import socket UDP_IP = "" UDP_PORT = 62300 sock = ...
0
votes
2answers
84 views

Python 2.7 ImportError: No module named repository

I'm completely clueless. I uninstalled, and re installed gi and python2.7. Do you guys have any ideas? ~ > /usr/bin/python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type ...
0
votes
0answers
17 views

Shared Anaconda python install on secure internal servers

I work on a small team that does a lot of work based around the Anaconda distribution of Python. We have a few internal "sandbox" Ubuntu 14.04 servers, for running heavy analytic tasks, etc. Instead ...
0
votes
0answers
10 views

How to generate 'alternative' videos for a given video

I'm looking for a fast (script, code, program) way of generating an alternative video for an input video. Alternatives are: added 10% gaussian noise flipped horizontally flipped vertically resized ...
2
votes
0answers
32 views

Is it safe to modify thunderbird mail box from python?

I would like to compare and merge several mail boxes managed by thunderbird (because they contain a lot of duplicated messages). They are in the mbox format. My first idea was to use the standard ...
0
votes
3answers
60 views

How to run a python script automatically in Ubuntu 14.04 on reboot

I am trying to run a command on reboot. So that every time I restart my Ubuntu 14.04 server it should run automatically. It's a python command. /usr/bin/python ...
0
votes
0answers
3 views

Gtk FlowBox - buttons in box clickable area tiny [migrated]

I've created a GtkFlowBox into which I've added a load of buttons and am trying to catch clicks on these buttons with a function which, for the moment, simply outputs the selected button. However, the ...
2
votes
1answer
156 views

Launching finder from python

I wish to input a subfolder name into terminal and have a script launch it in finder. This is my code: import sys import os fullname='/home/ash/caffe/examples/imagenet/train_rest/'+str(sys.argv[1]) ...
0
votes
0answers
25 views

Installing Python Module with Boost

I am trying to install a computer vision program via python setup.py install but it returns /usr/bin/ld: cannot find -lboost_python-mt-py26 Now I run the following command dpkg -l ...
1
vote
1answer
17 views

Building a Python Module Problem

I am having the following issue and am not sure how to fix. I do not know what linking is but I hear it's related to the problem. I'm trying to set up a python module: First I call in the directory ...
0
votes
0answers
63 views

Compiling vim with python support on ubuntu 14.04, no errors and no support

I'm trying to compile vim with support for YouCompleteMe as per the github guide [redacted because no reputation] and I'm having strange results. Vim compiles correctly as best I can tell and doesn't ...
2
votes
1answer
34 views

PDF viewer that can be controlled programmatically (via dbus, pipe, etc)?

Is there a PDF viewer that I can control from a Python program, via dbus, a pipe, or something similar? I have a program for presentations that displays my own notes while displaying a PDF on a ...