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
1answer
53 views

ImportError: cannot import name CompletionFinder

I am using Ubuntu "14.04.1", with python version 2.7.6 I have installed python-argcomplete package (version 0.6.9-1) but still getting an error while importing CompletionFinder from argComplete. ...
1
vote
1answer
26 views

Missing python modules in mic2 package

I am on Ubuntu 14.04.4 LTS and I've installed mic2 package which is now complaining like this: Traceback (most recent call last): File "/usr/bin/mic-image-creator", line 35, in <module> ...
1
vote
1answer
90 views

How to properly install IPython on Ubuntu 15.10?

I installed IPython using sudo apt-get install ipython ipython-notebook But when I tried to start it, it complains not finding some components: sudo ipython notebook Traceback (most recent call ...
2
votes
0answers
64 views

Can't add PPA using add-apt-repository: SSL support not available

whenever I tery to add any ppa to install any stuff i get the following error nikunj@nikunj-DL-H61MXE-V:~$ sudo add-apt-repository ppa:ravefinity-project/ppa Traceback (most recent call last): File ...
0
votes
1answer
42 views

bash: WORKON_HOME=~/.virtualenvs: No such file or directory

I installed python virtualenv and virtualenvwrapper on ubuntu 15.10 following the answer at How to set up and use a virtual python environment in Ubuntu?. The installation was successful, i.e. I can ...
0
votes
0answers
35 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 ...
-1
votes
1answer
67 views

force to use Python 3

i want to port Python Scripts to python 3. How can i force Ubuntu to use python 3 instead of python 2 which is installed, as well. Due to the size of the project, i'd prefer not to write something ...
0
votes
1answer
49 views

Create a shell scrip from bat script [closed]

I am trying to make my python program compatible with linux and I honestly have no idea how write a shell script. I do know a bit of batch scripting since I got this to work. @echo off chcp 65001 ...
1
vote
0answers
20 views

IOError: [Errno 29] Illegal seek Wavefile

Im trying to use wavebender library to create music and get data out of music. I get this error don't know how to solve this. from wavebender import * from itertools import * import sys def ...
0
votes
1answer
33 views

Installing and importing OPENCV ubuntu

Im trying different methods but still could not make opencv work on my Ubuntu. Every time I try to import cv2 I receive: ImportError Traceback (most recent call last) ...
0
votes
1answer
70 views

cache/pip disabled immediately after instalation of pip

I'm running Ubuntu 15.10. I installed Pyhon 2.7 through aptitude: sudo apt-get install python now I'm trying to install pip using this guide. I downloaded get-pip.py, then I tried: sudo python ...
1
vote
1answer
44 views

pip install --user means users cannot run application from Dash or terminal

I'm the developer of a Python GUI application. I'd like users of my application to be able to install the application using pip because not all of its dependencies have made it into Debian yet, and I ...
0
votes
0answers
15 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
32 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
34 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
40 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. ...
0
votes
0answers
68 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
42 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 ...
1
vote
0answers
99 views

How to “reset” python installation in ubuntu 14.04?

after installing several packages with the package manager, some others using eggs, some others using pip, for 2 versions of python, with some packages that in the meantime changed name (iPython --> ...
0
votes
0answers
45 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 ...
1
vote
1answer
153 views

What is the recommended way to install pip on Snappy Ubuntu Core?

I would like to provision Docker running on Ubuntu Core with Ansible. For that I need to get docker-py on the machine. Snappy already comes with Python installed, but pip is not provided. Running the ...
2
votes
0answers
21 views

Sound Indicator integration help

I have been trying to add my application to the Sound Indicator menu in Unity for about a week now. The lack of documentation on the subject is honestly appalling. Any links I can find which claim to ...
0
votes
1answer
74 views

Listbox with tkinter Treeview, how to avoid empty rows at the end [closed]

I have the following code to build a listbox with Treeview widget. import tkinter as tk import tkinter.ttk as ttk class AppBase: def __init__(self): self.mywin = tk.Tk() ...
1
vote
1answer
121 views

Problem in import/installing python modules (pyserial) in ubuntu 15

Hi I've got problems importing pyserial in both python 2.7 and 3.5 I've tried with pip install, easy_install, deb package, source balls. But always the same : >>> import serial Traceback ...
0
votes
1answer
104 views

Apt-get remove python ~150Mb / apt-get install python 687kb

I did sudo apt-get remove python and it told me that about 150 MB would be freed by this operation. Then, after that I did sudo apt-get install python and it told me that 687 kB of additional ...
0
votes
0answers
17 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
144 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
1answer
51 views

Unable to install a python package in Ubuntu 12.04

I'm trying to install the reddit source code onto ubuntu 12.04.5. I'm at the point where I'm trying to install the python module dependencies from the github guide: $ cd reddit/r2 $ python setup.py ...
0
votes
1answer
733 views

apt-get update errors

Sorry for my english. I have a vServer and everytime then i try to make "apt-get update" this Errors will be come in the end but why? How i can fix that? W: Ignoring Provides line with DepCompareOp ...
0
votes
0answers
107 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
20 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. ...
1
vote
0answers
111 views

Distribution not found error with scrapy

I am running Ubuntu 14.04 and have scrapy 1.-- installed. Before I started calling it from a script I could interact fine with scrapy from the command line. However since then it still works from the ...
3
votes
1answer
153 views

How to get simulate Keyboard typing using python

The idea is simple. Let say I need to get a pre-written sum of text, from a text file, to display on screen using the keyboard to type it out. This is different than just displaying text form regular ...
-1
votes
1answer
335 views

How do I create a Windows executable with PyInstaller on Ubuntu?

I created a game using pygame, and I wish to export it to a .exe file. I've used pyinstaller for this, as it is available for Ubuntu. When I run the --onefile game, it works perfectly fine (on my ...
-1
votes
1answer
983 views

Updating to and using Python 2.7.11 on Ubuntu

I have a virtual machine set up running Ubuntu 14.04.4 which has Python 2.7.6 by default. I've since installed Python 2.7.11 using the instructions here, which has left me with a python installation ...
3
votes
0answers
33 views

Ubuntu 14.04: Is there a way to reset python 2 and all dependencies to the factory setting?

I am a daily user of python 2 and after something (I am not sure but I believe it was pygments) was installed in my system I am not able to make the things work again as before. I have already lost ...
0
votes
0answers
12 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
1
vote
1answer
67 views

Environmental variables for anaconda

I'm new to UNIX. On my windows work computer I have anaconda and do a lot of Python work. I installed anaconda on Ubuntu 14. I would like to type conda or activate in a terminal and have those ...
0
votes
0answers
44 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
1answer
35 views

Import python packages problem

I have a problem. I'm trying to install a script written in python. It requires 3.4+ version, and I have python2.7 python3.4 python3.5 installed on my ubuntu 15.10 by default. During setup it throws ...
1
vote
2answers
73 views

Use Multiple IP addresses in the same NIC to Split Internet Requests

How I can use multiple IP addresses that I've added to my NIC to send different requests to different servers? For example, my IP address is: 10.0.0.4 I've added two more IP addresses to my NIC: ...
0
votes
0answers
54 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
1answer
32 views

Alienware-kbl is not installing due to python3-usb

I am pretty new to Ubuntu and I am trying to install alienware-kbl on my laptop to fix the lights on the keyboard. I have used it in the past with Ubuntu 14.04 and everything worked fine until a few ...
0
votes
1answer
291 views

Unable to install packages with pip (ubuntu 15.10)

I am trying to install packages via pip. Here some information: OS = Ubuntu 15.10 python --version = 2.7.10 pip --version = pip 8.0.2 from /usr/local/lib/python2.7/dist-packages (python 2.7) So far ...
0
votes
0answers
107 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 ...
6
votes
3answers
2k views

Did I do any damage by running “sudo apt-get purge ./python”?

As you know Ubuntu already has python in it. However, I have downloaded the latest 3.5.1 version's source code and compiled it using ./configure make make test sudo make install My pwd at this ...
0
votes
0answers
25 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
1answer
52 views

Create a copy of virtualenv locally without pip install

Sometime there is a need to create a copy of exiting virtualenv to test extra features of our project. In such a case we need to create a copy of the existing environment and add few more ...
0
votes
1answer
132 views

Jupyter Notebook Installation

It is possible to install Jupyter Notebook throughapt-get install? For example, we can install numpy by using apt-get install python-numpy.
0
votes
1answer
135 views

pip install error ubuntu 15.10 ( Pillow )

When I try to install something with pip I have error. But with sudo everything is ok. pip install pillow Downloading/unpacking pillow Downloading Pillow-3.1.1.tar.gz (10.1MB): 10.1MB downloaded ...