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

problem with installing mysql-server5.5 with ubuntu12.04, socket file not found

I am trying to create a database in ubuntu 12.04 after installing mysql-server5.5 but I got the following problem. after checking it seems the subfolder var\run\mysqld that should contain the socket ...
0
votes
0answers
46 views

Running a Python script on an apache2 version 2.4 server

I have a python script (python.py) located in the /var/www/html/Python folder. The script saves some images to another directory (/var/www/html/Data). I have the x file permission on the python.py ...
0
votes
0answers
18 views

Can use a custom notification daemon for my own different notifications in my app?

I want to use a notification bubble that allows clickable buttons inside it (for a media player), but the default notify-osd/notify-send does not allow that (or is limited). Can i use other ...
0
votes
0answers
71 views

How to make python script executable upon double-click?

I have tried ticking the execute as application box in properties but still doesn't execute. I want the program to run when I double-click instead of opening the code in gedit. Any suggestions?
0
votes
0answers
31 views

How do I uninstall python2.7 on 15.10?

I have 2 versions of python installed on my computer, not using pythonbrew but as 2 seperate packages (2.7 as python and 3.5 as python3), I'd like to remove 2.7 and reinstall 3.5 because this causes ...
0
votes
0answers
29 views

How can I start a job of a python script from a .desktop file?

I have created following .desktop file to start a python program (uses tkinter if this is relevant): [Desktop Entry] Type=Application Name=Program Icon=utilities-terminal Exec=gnome-terminal -e "bash ...
0
votes
0answers
22 views

Where are pyqt4 modules

Beginning to study pyqt. I have PyQt4 somewhere in my directories. I would like to know where, which directory. Also where is exit.png, exit24.png stored?
0
votes
0answers
78 views

how we install pillow in virtualenv in ubuntu 14.04

Please include code that reproduces the issue and whenever possible, an image that demonstrates the issue. The best reproductions are self-contained scripts with minimal dependencies. I create one ...
0
votes
0answers
456 views

Caravel installation failed

sudo pip install Caravel > x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -...
0
votes
0answers
42 views

how to update python version of spark to python 3.0 on ubuntu

I install spark on my ubuntu, and I have already update python to python3. And also alias python=python3 in ~/.bash_aliasesfile. But when I start spark under pyspark, it always display the version of ...
0
votes
0answers
67 views

Importing Gedit from gi.repository with Python3.4

I'm using Ubuntu 15.10. I have the following problem: When I wrote the following line in the Python2.7 console: from gi.repository import Gedit Everything happens as it should and Python IDLE 2.7 ...
0
votes
0answers
79 views

How to fix error executing djangocms -p in virtualenv …exit code 2 ..?

As I am new to djangocms. I am unable to figure out how to fix this. Please help. command I executed : mkvirtualenv mordern_business pip install djangocms-installer djangocms -p modern_business ...
0
votes
0answers
140 views

Pyinstaller in Wine leads to: ImportError: No module named pkg_resources

I'm trying to follow instructions here to create a windows .exe from my pyqt4 project created in pycharm from Ubuntu 14.04 Everything seems to work until the last step: cornelis@Bob:~/Downloads$ ...
0
votes
0answers
40 views

How to create a portable Python?

Is it possible to install Python (the Python interpreter together with some of the dependencies it needs to run) into a folder on the users home directory or a usb drive and move this installation ...
0
votes
0answers
51 views

Libreoffice unoconv hangs when conversion process started

I am working on an application, in which I am using unoconv for converting ppt and doc files. It is working on localhost, where I have an X server, but on ubuntu-server, it hangs up. As I read on the ...
0
votes
0answers
53 views

IO Error: 32:Broken pipe , popen

I have a simple python script which installs mono-complete on machine. but what I observed is my first call always fail with error IO Error: 32:Broken pipe here is my script, I am not sure what is ...
0
votes
0answers
260 views

How to install pip and django for python 3.5

I have 3 versions of python that are 2.7, 3.4 and 3.5. I have set by default python version 3.5 in my terminal setting. But when I installed the pip3 and djanago it both gone into python 3.4 dist ...
0
votes
0answers
86 views

I tried to install the igraph package in ubuntu 14.04 using the following command

I tried to install the igraph package in ubuntu 14.04 using the following command pip install --user python-igraph After several processes I'm getting something like this Extracting igraph-0.7.1....
0
votes
0answers
18 views

Blender crashes on entering sculp mode on 12+(?) ubuntu

I think I once posted this long ago, but then it was either taken down or I deleted, since I found a way around it. I had hoped it would go away in time, but it didn't... So, the exact same version of ...
0
votes
0answers
45 views

problem building X86 for gem5

development Environment ubuntu 14.04 kernel version 4.4.3 Dear gem5 and ubuntu users, After downloading gem5, I executed the following commands and everything went well: ("in /usr/src/gem5/" ...
0
votes
0answers
48 views

How to add asynchronous subprocess call for Python Gtk Glade Button on_click method?

I am new to Python and Gtk. I have created an ubuntu application using Quickly-create. I have added a button to run the adb pull command for my rooted android phone. I wish to add a spinner which will ...
0
votes
0answers
72 views

Attempting to uninstall and reconfigure pygame for python 3.4.4 or Ubuntu 14.04

First off I want to mention I'm a scrub with ubuntu. Also I am a bit unsure if my python version is 3.4.4, but that is what it sais on my tgz file when I search for it, so I think that is correct. I'...
0
votes
0answers
131 views

Unsupported machine type Use -machine help to list supported machines

I am trying to create virtual machine on ubuntu 15.10 using virtual machine manager i have installed kvm but when i use display vnc for virtual machine it shows the following error and when i use ...
0
votes
0answers
47 views

packages 'not yet configured' - how should I solve this?

Ok, I have to rephrase my question. I'm not able to install packages because a bunch of them have apparently been installed, but not configured. When I try to configure them, however, the dependency ...
0
votes
0answers
56 views

Ubuntu 15.10 reset default packages

I was getting troubles with Python libraries so I made sudo apt-get remove python* to reinstall everything related with Python from scrach. But then I did sudo apt-get autoremove and a lot of ...
0
votes
0answers
20 views

Test gntp notifier for python fails on ubuntu15.10

I have installed gntp notifier for python with the following command: sudo pip install gntp I use sudo because without I cannot run pip (but maybe this is another issue!?). The installation works ...
0
votes
0answers
176 views

E: Sub-process /usr/bin/dpkg returned an error code (1) ubuntu 15.10

When I try to install any software, the following error is coming up: Get:1 http://in.archive.ubuntu.com/ubuntu/ wily/main apport all 2.19.1-0ubuntu3 [117 kB] Fetched 117 kB in 4s (28.4 kB/s) dpkg: ...
0
votes
0answers
194 views

Install python packages behind a proxy

I am trying to install python packages on my PC running on Ubuntu 14.04, and I am behind a proxy. I have been unsuccessful in my attempt. I have tried the following : sudo -E easy_install elm ...
0
votes
0answers
24 views

Which are the security problems on running an http server using Python's built in module?

I've just read this post but I haven't got the necessary points to comment on it. I'm running, $ python -m http.server I wonder which are the security implications about it, with some examples. ...
0
votes
0answers
15 views

Sine signal using pyAudio

I want to generate a sine signal where frequency is controlled by me using pyAudio.How can I do it or where can I learn how to use pyAudio
0
votes
0answers
58 views

Python 3.5.1 install - could not create directory /opt/python3.5/lib

When trying to install Python 3.5.1 from source I get an error message to the effect that the directories in /opt could not be created due to missing permissions. I used "make && sudo make ...
0
votes
0answers
100 views

How to install pip on wine?

I fail to install pip by: # install wine and python sudo apt-get install wine winetricks winetricks python # try to install pip winetricks pip BTW, there is no pip.exe under Python26/Scripts. ~/....
0
votes
0answers
156 views

Getting error when trying to install flask Bcrpt

I am trying to install flask-bcrypt but get the error at the bottom of the below code. I cant seem to figure out what is going wrong. I am pretty new to the linux world so any help would be greatly ...
0
votes
0answers
32 views

Simplegui installation

So... 1) sudo apt-get install python-setuptools 2) sudo apt-get install python-tk 3)sudo easy_install simplegui But the 3rd step doesn't work for me...it says this. Searching for simplegui Reading ...
0
votes
0answers
36 views

Save to delete all '*.pyc' and '*.pyo' files?

I've read that to resolve an error EOFError: marshal data too short when running a Python script, an approach is to delete all *.pyc and *.pyo files. Is that safe on an Ubuntu system? I mean, those ...
0
votes
0answers
10 views

How can I host multiple Python module docs locally?

I'd like to make a local documentation mirror for several Python modules. These modules already host docs on readthedocs.org or are self-hosted with Sphinx-like themes, so I know they're in Sphinx-...
0
votes
0answers
7 views

When I run the software updater does it update all the packages I installed via the terminal, including dependencies?

I am a beginner on Ubuntu. I will explain my problem with an example. For example, if I installed the Google API libraries in Python using the instructions given here, then upon running the software ...
0
votes
0answers
81 views

Problems installing 'quickly'

I am very interested in application development in Ubuntu. Some sites suggest 'quickly' but on installing quickly I get the following errors: Err http://in.archive.ubuntu.com/ubuntu/ trusty-updates/...
0
votes
0answers
59 views

python mapreduce job failed - log4j not configured?

I have hadoop 2.7.1 installed on Ubuntu 15.10 as a single node cluster and I'm trying to run a python mapreduce wordcount fount in http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-...
0
votes
0answers
46 views

can't open Ubuntu store Python errors

I don't know but I get these weird Pythonish errors while opening store. Earlier it was working fine ➜ ~ software-center ** (software-center:4359): WARNING **: Couldn't connect to accessibility ...
0
votes
0answers
408 views

pip install don't work because of wrong time?

I tried sudo pip install opencv-python It give me error: The directory '/home/myuser/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. ...
0
votes
0answers
26 views

Numpy not recognized during biopython install

I am using Ubuntu 14.04, I installed numpy (via sudo apt-get install python-numpy) but when I try to install biopython using the instructions here when I run python setup.py build in the folder it ...
0
votes
0answers
32 views

not installing pip command

Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: gir1.2-unique-3.0 ...
0
votes
0answers
28 views

How to use multiple Python-Gtk-Glade Entries and Button values?

Here's my code snippet: self.filechooserbutton1 = self.builder.get_object("filechooserbutton1") self.filechooserbutton2 = self.builder.get_object("filechooserbutton2") def ...
0
votes
0answers
124 views

python is missing or unusable error in UBUNTU 15.10

checking for python... /usr/local/bin/python checking for python2.7... no configure: error: python is missing or unusable Makefile:8643: recipe for target 'configure-gdb' failed I am getting this ...
0
votes
0answers
59 views

How to install a python script as an application

I have been trying to create a deb package for my python script following these steps. My myscript.py contains a simple frame. #!/usr/bin/env python import wx app = wx.App(False) frame = wx.Frame(...
0
votes
0answers
32 views

how to run grais, some kind of python program?

I built the gnu radio 3.7.9 from script here https://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGRFromSource I built gr_ais https://www.reddit.com/r/RTLSDR/comments/1mcikt/...
0
votes
0answers
121 views

Screwed up system python in Ubuntu, any way to repair it?

(originally posted on stackoverflow) While trying to update my python version, I accidentally screwed up my python installation on Ubuntu 14.04 (the system installation, the one in /usr/lib). Now, I ...
0
votes
0answers
48 views

service [sname] restart not working like I expect

I am having some trouble getting gunicorn to run from a python virtual env and this is the only thing I can see that proves what is wrong right now... description "Gunicorn daemon for Django project" ...
0
votes
0answers
119 views

Upstart: Logging output of python to log file

I have an upstart script that I want to launch and log the output from. I can launch it successfully and it completes :) Output goes to my log file after the program finishes. However: The ...