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

Can't run Anaconda installer on Linux terminal

I downloaded Anaconda2 (for Python 2.7) from the website and when I try to run the installer the running stops when I press Enter to accept the license conditions. Does anyone have any idea why it ...
2
votes
1answer
38 views

Make Espeak read the words from picture on ubuntu [closed]

I m working on a project that helps visually impaired people to listen to the writings on the printed paper. I have dealed with the part of converting printed text picture into pdf file with digital ...
0
votes
3answers
143 views

How do i get the Python Interpreter

I have Lubuntu. Like version 14.04 i think. Its supported till 2019 i do know that. I have python installed i think. I type "python3" into the terminal and it just allows me to code in the terminal. I ...
1
vote
1answer
145 views

Python error “version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0…” when trying to run command in PHP scrip (LAMPP)

When in Ubuntu 14.04: I run a command of script written in Python with shell it normally runs. I try to run same command using PHP (lampp) I get this error: [errors] => Traceback (most recent ...
1
vote
1answer
34 views

Python os.getlogin() vs BASH : who

I have formed 3 sessions with user accounts and I got no problem with Unix: who command but why I am unable to get correct response with python : getoslogin() function. Please find attached image for ...
5
votes
1answer
106 views

How to sort audio files according to their cut-off frequency (real bitrate) in kHz?

I have some music collection and I want to sort/filter them easily according to their cut-off frequency (real bitrate, usually in kHz. I used to use Spek for showing me this information, but Spek ...
0
votes
0answers
29 views

How to make Post Installation Script for automated installation?

I have a ks.cfg which automates xubuntu installation Now after installing I want to run a script which will install my code, my doing few things like copying ssh key from server and doing git ...
0
votes
1answer
45 views

remove gnome and install ubuntu-desktop

I accidentally un-install python from ubuntu. I had ubuntu desktop on it, and then I had to install gnome desktop. Now, I want to come back to Ubuntu-Desktop. I re install it, but when I log in, still ...
2
votes
0answers
57 views

rubber failing after upgrade to 15.10

rubber is a program that compiles LaTeX files into pdf document. After upgrading, I receive the following error when trying to run rubber on a document. My apologies for the huge stack trace, but my ...
15
votes
0answers
344 views

How to develop a System Indicator for Unity?

This is not a duplicate of How to create Unity indicators?. I'm looking for system indicator not application indicator. Backgound: From these two questions: How do I add or manipulate ...
0
votes
1answer
48 views

How to make python scripts executable using cx freeze on ubuntu 14.04? [closed]

I want to convert my python project into a binary executable using CX Freeze on Ubuntu 14.04. How to do I run CX Freeze on Ubuntu???
1
vote
0answers
277 views

ERROR: could not access file “$libdir/plpython2”: No such file or directory

I am running postgresql 9.4 ("PostgreSQL 9.4.4 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14), 64-bit" ) when I am trying to create language in postgres SQL : ...
0
votes
1answer
77 views

Not installing 'ds4drv'

I'm running Ubuntu 15.10. I've followed everything in this guide How to setup Dual Shock 4 controller with Ubuntu 13.10? But when I do the sudo pip install ds4drv I get this error ...
0
votes
0answers
27 views

How to resolve this Everpad problem?

I was using Everpad before successfully, then uninstalled it since I then preferred to use Evernote on Wine. However, when I installed Everpad again, it won't sync at all. Take note that this was ...
0
votes
0answers
56 views

python-dev unmet dependencies

I have an problem with installing python-dev / python2.7-dev: root@levinus:~# sudo apt-get install python2.7-dev Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
335 views

control volume using python script

I can control volume using this command through terminal amixer -D pulse sset Master 0% . My question that how can I do the same thing using python script.
0
votes
0answers
87 views

problems with python and software center

I have Ubuntu 14.04. I have accidentally installed a second python version (python 3.4, python 2.7 was default) and now my python is broken. Also the software center on my computer does not work ...
1
vote
1answer
36 views

Adding directory to PYTHONPATH causes my home directory to be added as well

I tried adding the directory /home/myname/bin to my PYTHONPATH by inserting the following into my .bashrc: if [ -d ~/bin ]; then export PYTHONPATH=$PYTHONPATH:/home/myname/bin fi Unfortunately ...
5
votes
3answers
147 views

Running a command at startup not working (due to network not being up when the code was run)

I want to run a python script automatically when ubuntu starts up. Normally what I have to do is open up the command line on ubuntu and type python /home/ubuntu/Desktop/UDP_Server.py This will run ...
0
votes
1answer
236 views

Cannot import Zlib in Python 3.5 on Wily

After an upgrade to Wily, the new Python 3.5 package seems to be broken. I've tried doing a complete re-install of all the Python3 packages but it's not fixed the problem: ...
5
votes
2answers
1k views

Errors were encountered while processing: python-pexpect

After normal periodic upgrade, I got After this operation, 0 B of additional disk space will be used. Setting up python-pexpect (4.0.1-0~ppatrusty2) ... File ...
1
vote
1answer
48 views

OCR-Software sought

What is recommended commercially free usable OCR-Software? It should be accessible via Python or a Python library. And it should run under Linux. The one I came across myself is tesseract. Are there ...
1
vote
0answers
89 views

How to filter audio files according to tacts per minute (speed)?

I have some music collection and I want to sort/filter them easily according to their speed (in tacts per minute). I want to find a simple solution to filter the whole collection using e.g bash, ...
0
votes
1answer
210 views

Can't install Python ubuntu 14.04

I encountered some troubles after installing python 3.4, so I wanted to go back to 2.7. So I removed python, completely... Now when I run this command: sudo apt-get install python(tried all versions ...
1
vote
1answer
249 views

Reset python path

I installed canopy and set it to be my default python evironment, but I'm having a problem with the software. Now it is : ~$ which python /home/renanpc/Enthought/Canopy_64bit/User/bin/python But I ...
0
votes
1answer
42 views

Tried switching between python verions. Ended up messing the whole thing. How to fix it?

I actually have three questions: So I was trying to switch between python2.7 and python3.4. I added both the alternatives using update-alternatives, giving priorities 1 and 2, respectively. It was ...
0
votes
0answers
31 views

Cannot allocate memory and file name too long

I am working on my bachelor thesis in cooperation with a commercial company and before I can start actively developing, I must run some kind of regression tests they have. Test script is written in ...
0
votes
1answer
183 views

OCRopus installing problem

I'm working on a project and need to use OCRopus, I tried to install it on windows but failed, so I moved to Ubuntu. I'm not a nerdy when it comes to Ubuntu, so I'm stuck now. I have installed python ...
2
votes
1answer
106 views

Using Python 2.6 while python 2.7 is installed

I have an application which when I run it, it gives me the following error: paraview: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or ...
1
vote
0answers
35 views

Web IDE that has a Linux compiler?

Is there a web IDE that has a Linux compiler (virtual Linux compiler) with Python support? I've created a Python application that uses GTK and Linux modules such as os.system and gtk. I need to ...
1
vote
1answer
47 views

Mathplot lib error on Python

I am trying to run a code on python which needs mathplotlib. By typing: python3 mouse_click.py gives the error ImportError: No module named 'matplotlib' For installing sudo apt-get install ...
1
vote
1answer
48 views

Encountered “error: command 'c++' failed with exit status 1” while trying to install pymedia in ubuntu

I'm trying to install pymedia in ubuntu to run scripts using python 2.7. So, I tracked down the dependencies and got them installed : sudo apt-get install python-dev libogg-dev libvorbis-dev ...
0
votes
1answer
663 views

Problem with Ipython notebook and Pyzmq, (plus Jupyter)

I had trouble installing Ipython, but fortunately I tried version 3.2.1 and everything went ok and I can run Ipython, but I still can't run Ipython notebook. $ ipython Python 2.7.9 (default, Apr 2 ...
0
votes
0answers
48 views

Software center won't open - expat/python problem?

my software center won't open, when I try to open it from the command line I get the following: Traceback (most recent call last): File "/usr/bin/software-center", line 36, in <module> ...
1
vote
2answers
1k views

Importing a Python module works from command line, but not from PyCharm

My default Python binary is set to the one with the Anaconda distribution of Python. This is found at /home/karnivaurus/anaconda/bin/python, and I have made this the default by adding to my .bashrc ...
0
votes
0answers
27 views

Are there any open source projects From which it is eary to learn Ubuntu Desktop Application Development?

I have been contributing in this forum through asking and answering questions, but now I want to contribute in Open Source Projects by coding. But I have no idea which are the suitable platforms and ...
0
votes
0answers
18 views

Manual installation of python causing problem

I am relatively new to Linux and am using Ubuntu 14.04. Basically, I've been messing around with some files trying some random stuff. Well, I though I should do another install of Python2.7 for some ...
0
votes
2answers
650 views

how to upgrade python setuptools > 12.2 on ubuntu 15.04

The apt package seems to be 12.2 If I run sudo pip install -U setuptools the version seems to still be stuck at 12.2 $ python >>> import pkg_resources >>> r = ...
4
votes
2answers
2k views

Unable to install python3-dev ubuntu

When I tried to install python3-dev using sudo apt-get install python3-dev I got the following message python3-dev : Depends: libpython3-dev (= 3.4.0-0ubuntu2) but it is not going to be installed ...
0
votes
2answers
73 views

Unable to Get a Working Desktop Launcher for a Python Program

I am building an entirely new Debian package cpconverter which is A simple utility to change the code page of plain text based files, from a source published in Google Code. Eveything went fine. ...
12
votes
2answers
16k views

Install python 3.5 on vivid using apt-get

How can I install Python 3.5 on 15.04 Vivid using apt-get? Obviously I realise I can install Python 3.5 using the source tar ball, however I would prefer not to install from source and instead use ...
0
votes
1answer
337 views

Upgrading Python

According to the official Python website, the current version of Python 2 is 2.7.10. On my computer, I have 2.7.6: $ python Python 2.7.6 (default, Jun 22 2015, 18:00:18) [GCC 4.8.2] on linux2 Type ...
0
votes
1answer
63 views

Python error when launching gnome-tweak-tool on Debian [closed]

When trying to launch gnome-tweak-tool I recieve this error ~ gnome-tweak-tool gnome-tweak-tool\Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gtweak/app.py", line 39, in ...
0
votes
2answers
102 views

Broken packages relating to Python 3.4

I recently tried to install ubuntu-desktop to a machine that had previously just had ubuntu server on it. For some reason I am getting a message about broken packages. I've tried following up on the ...
6
votes
1answer
782 views

pyvenv-3.4 disappeared in Ubuntu 14.04.3?

This is what I was doing to create a venv in Python 3.4 on Ubuntu 14.04.3 LTS until last week: » pyvenv-3.4 --without-pip venv I was doing that because of this. But since yesterday: » pyvenv-3.4 ...
1
vote
1answer
108 views

Installing LiClipse 2.4.0, not launching

I recently installed LiClipse on my virtual Ubuntu Machine following these steps: Download latest version of LiClipse from the official website. Extract the downloaded file using the command tar ...
1
vote
1answer
145 views

Error Getting Dependencies for Matplotlib

I am trying to install the python package matplotlib from source. I cannot install the package from the repository using sudo apt-get install python-matplotlib because I need to be able to install the ...
1
vote
0answers
45 views

Eclipse PyDev won't recognize Django

I recently got involved in a project that requires the following: Python 3.3 or greater Django 1.8 or greater Eclipse as IDE with the PyDev plug-in The part where I have a lot of trouble is the ...
2
votes
1answer
2k views

Visual studio Code with python

I have installed Visual Studio Code in my Ubuntu. But I can't use Python. Some information: I didn't install any python version. I am currently using it on terminal or Python idle 2.7 Can anyone ...
0
votes
0answers
64 views

Launch a python script from VM (Windows) From Host (Ubuntu 14.04)

So I've seen this question (link at bottom), but for some reason the -exec command doesnt exist in my VBoxManage (Maybe because my virtualbox is windows). My python script is in a shared folder ...