Python 3 is the latest major version of Python, a scripting language used by many open source developers.

learn more… | top users | synonyms

3
votes
0answers
68 views

Ubuntu 14.04 - Modify OpenVPN files manually

I am using a VPN (Private Tunnel) to download stuff / play games at dorms (ports are blocked, VPN allows me to bypass that). I also am trying to create a script in python that allows me to create new ...
3
votes
0answers
593 views

Backend for python3 module matplotlib

I'm trying to use python3 to plot graphs. The only backend for matplotlib that seems to work is tkAgg (Tkinter), however this looks like it has been designed in the Stone Age. So I was trying to find ...
2
votes
0answers
151 views

Ubuntu-sdk Kits, mkspec and dbus errors

This is a double part issue : When I launch the ubuntu sdk I get the following message in the General Messages pane: Traceback (most recent call last): File ...
1
vote
0answers
42 views

Biogeme fails to install and run on Ubuntu 16.04

I wanted to ask about the installation of one of most important open source freeware for discrete choice modeling data estimation: Biogeme. I am trying to install it on my machine (Thinkpad x201, ...
1
vote
0answers
119 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 --> ...
1
vote
0answers
152 views

ImportError: Gtk* backend requires pygtk to be installed (python3.4)?

l stuck with this error please help File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_gtk.py", line 16, in <module> raise ImportError("Gtk* backend requires pygtk to be ...
1
vote
0answers
134 views

libtiff module not found on 64-bit Ubuntu 14.04 python 3.5.1 (or 3.4)

My problem is pretty much identical to here except none of the solutions there are working for me. I'm assuming the issue there was for python 2.7 because my issue is specific to python 3.5.1 TL;DR: ...
1
vote
0answers
1k views

Python - pip pip2 pip3 pip3.5 packages are installed but cannot be imported in any Python session

As I am using Xubuntu I thought perhaps this was a better forum than Stackexchange for some questions relating to pip and Python Today I have encountered troubles with pip and Python. For some reason ...
1
vote
0answers
637 views

Cannot create Python 3.5 virtualenv ImportError: No module named 'gdbm'

I'm experiencing the same issue as this individual but unfortunately switching back to Python 3.4 is not an option for me, I need to be running 3.5. I've broken command not found? Here is what ...
1
vote
0answers
24 views

How do you detect time since user has touched mouse or keyboard?

I'm writing a custom lockscreen/screensaver. I need to determine how long it's been since the user has touched the mouse or keyboard in Python.
1
vote
0answers
32 views

Is there a way to properly format an Ubuntu font?

I'm trying to distribute Ubuntu Mono Regular with a Media Player I'm developing: https://github.com/ki4jgt/SIMP It is my understanding that a font is defined like in line 27 uMono = ...
1
vote
0answers
2k views

Really installing PyQt4/5 for python 3.4 on trusty

I am using Python 3 on my ubuntu 14.04.2 (trusty), along with Python 2. I am trying to run ipython --pylab, but with Python 3, this fails (works well with Python 2). It fails since it needs QT4/5 or ...
1
vote
0answers
69 views

Installing latest version of Python on Ubuntu 14.04 LTS without building from source

I am looking for a reliable choice. How to install Python 3.4.3 on Ubuntu 14.04 LTS without building from source?
1
vote
0answers
167 views

vim with python3 compatibility

So I followed this way What's the easiest way to get vim with python 3 support? which didn't work and this one http://www.xorpd.net/blog/vim_python3_install.html that did work. the thing is each ...
1
vote
0answers
351 views

iPython frontend and kernel versions are incompatible

I have just upgrade my OS from 14.10 to 15.04. Spyder(Python 3.4) with iPython was working perfectly in 14.10. However, after the upgrade, iPython console failed to start up. My python version I am ...
1
vote
0answers
203 views

matplotlib xkcd with utf-8 label

In python3 / matplotlib, I'd like a plot with a label: plt.plot(np.sin(np.linspace(1,10)), label='fête') plt.legend(loc='upper left') plt.show() Works great. Now let's try with xkcd mode: ...
1
vote
0answers
379 views

upstart-socket-bridge and python3 example

I'm trying to get upstart-socket-bridge to pass the socket to a Python3 application. Are there any working examples of u-s-b using Python 2 or 3? This example is a test setup only. u-s-b launches ...
0
votes
0answers
15 views

Facing problem while running python3 tkinter while python 2.7.11+ exists on my ubuntu

I am new in python, trying to run a very simple python GUI program just for testing i get the following error $ python3 Desktop.py Traceback (most recent call last): File "Desktop.py", line 1, in ...
0
votes
0answers
26 views

IPython3 launch error

Simply, I typed $ ipython3 in a bash shell, only to get Traceback (most recent call last): File "/usr/local/bin/ipython3", line 9, in <module> load_entry_point('ipython==1.2.1', ...
0
votes
0answers
20 views

terminator not starting when default python is python3.4 but works if it is python2.7

On Ubuntu 15.10 when changing the symlink /usr/bin/python from python2.7 to python3.4 then terminator won t start anymore. Do you know what the problem could be and how to fix it? Thank you :)
0
votes
0answers
27 views

Install python and django on ubuntu 14.04

I am new in python/django and following this link and "Global Install through pip(section)" for installation, when I run apt-get install python-pip, I get below error aagyat@ubuntu:~$ sudo apt-get ...
0
votes
0answers
41 views

rhythmbox crashes due “Failed to import the site module”

I updated my machine from 15.10 to 16.04 a few days ago. Now I have to face this strange Issue: rhythmbox tells me, that it Failed to import the site module and crashes, because python3.5 is missing ...
0
votes
0answers
19 views

Why is the network unreachable whenever I don't use avahi-autoipd

I'm building a mobile mesh server and whenever I attempt to send broadcasts (shortest path determination), in python3, it fails. I run the following shell commands on both devices (currently ...
0
votes
0answers
48 views

Python3-venv not installed ubuntu 14.04

Fresh install of ubuntu gnome 14.04, followed by dist-upgrade one of the first things I tried to do was create virtual environment for python python3 -m venv flask gave me The virtual ...
0
votes
0answers
54 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
78 views

Buildozer asking for AIDL install

I am having Ubuntu 15.10 with Python 3.5 libraries installed. Pycharm-Community as my IDE and kivy installed. I am trying to build a simple project for my android application, everything goes fine, ...
0
votes
0answers
50 views

Install uwsgi via pip

I am running on 15.10 and I have tried the following command: pip install uwsgi but it complains that it is unable to find iconv during linking gcc -pthread -o ...
0
votes
0answers
32 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
107 views

Python Gtk-ERROR **: GTK+ 2.x symbols detected

I was trying to run my first OpenCV program in python on Ubuntu 14.04. import cv2 import numpy as np import matplotlib.pyplot as plt img =cv2.imread('share.jpg',0) ...
0
votes
0answers
15 views

Issue with the package idle-python3.4

When I run my source code directly from my terminal it's works without a problem whereas when I run it under idle environment: ImportError: No module named 'scipy' ImportError: No module named ...
0
votes
0answers
78 views

Keep getting error trying to download bcrypt

I am trying to import for an app in pycharm.I am new to the linux world so i'm trying to figure things out. Error below. Using cached Flask-Bcrypt-0.7.1.tar.gz Requirement already satisfied (use ...
0
votes
0answers
49 views

How install python3-pip on Ubuntu 14.04

When trying to install python3-pip using apt-get I get the following error: Unable to locate package python3-pip What is the repository I have to use?
0
votes
0answers
7 views

How do I interact with the session media bus?

I've written a screensaver/screenlock. I hate the defaults and xsaver just wasn't doing it for me so I built one from scratch. I've got the time, random pictures from the web, a nice little warning ...
0
votes
0answers
33 views

What to do if I have python 3, but I cannot install a program designed to python3?

I have the following problem: I need to download a file that is designed for python 3, I already install it in my shell using the code. sudo apt-get install python3 The I tried sudo pip3 install ...
0
votes
0answers
174 views

Can't remove Python 3 pip on ubuntu 14.04 LTS

I have the following python directories on my machine: me@pc:/usr/lib$ ls --directory python* python2.6 python2.7 python3 python3.4 python3.5 python-tz where python2.7,python3.4 and python3.5 ...
0
votes
0answers
32 views

How to lock GUI created by python program to launcher

In python, I used the module tkinter to create a GUI program. However, when I right-click it, select Lock to Launcher, and right click again, the option to lock it to the launcher is still available. ...
0
votes
0answers
68 views

Running python script in Python interpreter

I have recently started using Ubuntu 14.04. I am learning Python and have both Python 2.7 and 3.4 installed. I made some simple scripts and executed them using command python filename.py and it ...
0
votes
0answers
67 views

python3 won't import LCM

I am not sure if this problem is given by some incompatibility between LCM (lightweight communications and marshalling) and python3 or by the fact that I have more than one python version (python 3 ...
0
votes
0answers
199 views

Cant' properly install PyInstaller

Something went wrong while installing, but nonetheless I got message 'success' message: $ sudo pip3 install pyinstaller [sudo] password for user: Downloading/unpacking pyinstaller Downloading ...
0
votes
0answers
493 views

How do you fix “unmet dependencies … but [something] is to be installed” error?

I am trying to install and configure an Ubuntu, Django, and MariaDB stack. I have the latest (as of writing) MariaDB 10.0 installed, and as per the Django documentation regarding databases, I am ...
0
votes
0answers
541 views

NLTK says it's installed with Python 3.4 but import cannot locate it

I know similar questions have been asked before but I've spent hours searching the web and reading other questions and have not found a solution to my problem. I'm on Ubuntu 15.04, trying to install ...
0
votes
0answers
50 views

Upgrade default python3 version in Ubuntu 14.04 from 3.4.0 to 3.4.2

Ubuntu has a default python3 version of 3.4.0. How do I upgrade this to 3.4.2? Do I get the tar.gz package from the python website?
0
votes
0answers
53 views

Would there be any disadvantages to using Pyglet for GUI programming?

On Linux systems (such as Ubuntu), would it present a problem to program a GUI (for a media player) using OpenGL? I don't like WXPython b/c it's ugly as poop and PyQt requires a license when being ...
0
votes
0answers
71 views

Messed up system by uninstalling Python3 - Help!

I have limited Ubuntu experience and seem to have messed up my system pretty good. I am running Ubuntu 14.04. I wanted to upgrade Python3 to the latest version - 3.4.0 was installed and I wanted to ...
0
votes
0answers
79 views

Python3 code not executing in Apache2.4.10(ubuntu)

<VirtualHost *:80> <Directory /var/www/test> AddHandler cgi-script .py Options +ExecCGI DirectoryIndex index.py </Directory> # ...
0
votes
0answers
39 views

.desktop-file two part exec line

I am trying to get bleachbit to run. Unfortunately I get the error, that it could not import gtk. It seems that this is due to me having python 2 & 3 installed. Starting bleachbit over the console ...
-1
votes
0answers
19 views

Python,Gtk3: How to make the Progress bar pulsing while other stuffs are running

Based on Classes, i have window which contain a button and progressbar, whenever the button is clicked there two things should happen : 1 - should entried value from dialog pass to class ABCD ...
-1
votes
0answers
31 views

Python on Ubntu

I m using the below version of ubuntu. 3.13.0-77-generic #121-Ubuntu I want to learn python and I am completely new to python. Rather than downloading the python bundle I directly moved to python ...
-1
votes
0answers
86 views

MAAS 1.9 on UBUNTU 16.04 , Main Problem Python Version

UBUNTU 16.04 I noticed MAAS 2.0.0 Beta4 not support juju until MAAS 2.0.0 Beta 7. Until then I need: 1) Install MAAS 1.9 on my machine I can find MAAS 1.9 related package here: ...