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

learn more… | top users | synonyms

1
vote
2answers
558 views

Missing: “/usr/include/python3.3m/Python.h”

I recently moved to ubuntu 14.04. I can't compile blender afterwards. It says the error message below CMake Error at CMakeLists.txt:2220 (message): Missing: "/usr/include/python3.3m/Python.h", ...
0
votes
2answers
685 views

Upgrading to Python 3.4 from 3.2

I have Ubuntu 12.04 and Python 3.2 installed. When I use sudo apt-get install python3, it says that my python is 'already the newest version'. However, 3.4 is the latest. How would I upgrade my ...
0
votes
2answers
494 views

Can't open Software Center

I'm running Ubuntu 14.04 LTS, and I cannot open the Ubuntu Software Center. I keep getting this error: bash: /usr/bin/software-center: /usr/bin/python: bad interpreter: No such file or directory ...
3
votes
1answer
929 views

installing numpy for python 3.1.2 on Ubuntu 10.04

I have installed numpy for python 2.6.5. I want to use it for python 3.1.2 and I don't know how to install it. I'm new to ubuntu and I don't know how to install it from tar file. I am using Geany for ...
2
votes
1answer
24 views

Python3 application icon

In Ubuntu 13.04, when I use the setWindowIcon method in the code of my python3/pyqt4 application, it works fine, and the application icon is set properly. After upgrading to Ubuntu 13.10 however, ...
1
vote
1answer
140 views

Removed python2.7, python2 python3, python3.4 from /usr/bin/

I was tinkering with my computer yesterday and, unaware of the importance of /usr/bin/, promptly removed all of the python files from there, and then proceeded to get rid of all the packages that ...
1
vote
1answer
201 views

PySide-Tools in Python3 - Ubuntu 14.04

I'm working on a UI for a Python Programme I have and have been using Pyside-UIC to convert QTDesigner docs into python files on a previously windows 8 computer. That computer got corrupted so I've ...
0
votes
1answer
24 views

virtualenvwrapper + python3: invalid syntax

On Ubuntu 14.04 I run mkvirtualenv -p /usr/bin/python3 myvenv And I get Running virtualenv with interpreter /usr/bin/python3 Traceback (most recent call last): File ...
0
votes
1answer
157 views

VIM error after installing python3 in ubuntu 15.04

I have a fresh installation of the latest ubuntu 15.04. I installed VIM using sudo apt-get install vim It was working fine. Later I installed python3 and pip3. sudo apt-get install python3 ...
0
votes
1answer
64 views

Gtk Drawing Area not always rendering when inside a scrolled window

I have a Drawing Area inside a Viewport inside a Scrolled Window. The image renders fine when the Drawing Area fits inside the Scrolled Window. But when i request a size larger than the Scrolled ...
0
votes
1answer
473 views

Python's ImportError: No module named repository

I had three versions of Python installed; 2.7, 3.2 and 3.4 When I had just 2.7 and 3.2, everything was fine. But after installing 3.4 manually from source, things began to break down. 3.4 did not have ...
0
votes
1answer
269 views

Unable to install/unistall because of python3 broken package

Unable to install or uninstall any package through both terminal and software center. Reading package lists... Done Building dependency tree Reading state information... Done You might want to ...
0
votes
1answer
174 views

Dropbox and Ubuntu Software Center doesn't work after settinf python3.4 as default

In Ubuntu 14.04, I've set python3.4 as the default python version. After that, Dropbox doesn't launch at startup and the Ubuntu Software Center cannot open up anymore. Running them from the command ...
0
votes
1answer
37 views

How do you create an additional interpreter?

Short and sweet version: I figured breaking it down into steps would make it easier. I'm building a website I hate SQL. It makes no sense to me, for a programmer to have to learn an additional ...
0
votes
1answer
334 views

Ubuntu Freezes while using terminal and firefox

Hi I am extremely new to programming. I downloaded Ubuntu 14.0 and it keeps freezing while I am using firefox and while using the terminal. I would really like for someone to give me some insight into ...
0
votes
1answer
274 views

How to download easygui for python3.3?

I have python 2.7 and python 3.3 in my Ubuntu 13.10 system.I have easygui in-built for python2.7 but not for python3.3.But when I download the zip file of easygui and unzip it and type "python3 ...
0
votes
1answer
54 views

Super+D (show desktop) changes which value?

In my python program I want to detect if the desktop is to be shown (all windows minimized). How do I do this? Which value (perhaps in dconf) is set when the user hits Super+D?
0
votes
1answer
189 views

Trouble with python 3.3 in Ubuntu 13.04

I'm consistently getting EOF when reading a line errors on when running: List0 = [] inputtedStr = input() while inputtedStr != "#####": List0.append(inputtedStr) inputtedStr = input() print() ...
0
votes
1answer
1k views

uwsgi with python3 how to get the plugin(not from apt)

how to run uwsgi with python 3 instead of python 2? I've compiled the latest version of uwsgi, and i know there are plugins which can be installed by apt-get , but how can I get it(shall i compile ...
0
votes
1answer
2k views

How to install pycrypto 2.6 in python 3.2 in ubuntu

how do i find and install Pycrypto 2.6 to python 3.2 in Ubuntu 12.04, i have looked everywhere for a package, i managed to get it installed on python 2.7 just fine, but i want be able to use the lib ...
-1
votes
1answer
949 views

ImportError: no module named md5

I followed this tutorial to install Python-3.1.3 on Ubuntu. On the Terminal, I run: python3.1.3 , then import md5 I get this error: ImportError: no module named md5 Same problem when I run: import ...
-1
votes
1answer
398 views

How to download Django 1.6.2 + set the path to python3?

I don't know how to set the path. How shall I install django? How do I set the django module to the python3 path? Please answer these 2 questions. I'm a newbie so please bear with me lol. This ...
-2
votes
1answer
1k views

Python 3.3.2 with Shared option is incomplete

On Ubuntu 12.04, I am trying to compile and install Python3.3.2. My compile commands: ./configure --prefix=/usr/local --enable-shared make make install Then I run: /usr/local/bin/python3.3 ...
3
votes
0answers
268 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
29 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 ...
2
votes
0answers
104 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 ...
1
vote
0answers
64 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
106 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
57 views

Ubuntu 14.04 - Python 3.4 UnicodeDecodeError

Recently I've made an update, and I've started getting these errores in some programs (in 2 indicators for Unity, specifically): File ...
1
vote
0answers
87 views

If you install anaconda, how can you inactivate the anaconda environment?

I'm currently using Anaconda to get access to a "standard" set of packages on nearly any platform. The issue is, on the linux side of the house, my current approach is to tell the installer to ...
1
vote
0answers
80 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
256 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
13 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
20 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
25 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 ...
0
votes
0answers
114 views

How to install python3-pyqt5 on Ubuntu 12.04?

I was trying to install M64py (N64 emulator) in 12.04 and it showed me this. This installed well without much trouble in 14.04, but not working in 12.04. When i tried using sudo apt-get install ...
0
votes
0answers
17 views

Help writing an Upstart script

On my Ubuntu 14.04.2 server there's an installation of ownCloud with its News app. Now, for some reason or another, a couple of days ago the app stopped pulling new articles via owncloud cron.php. ...
0
votes
0answers
27 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 ...
0
votes
0answers
170 views

sudo apt-get install python3-pip not working

I installed pip3 using the command sudo apt-get install python3-pip After installing, I checked the version using pip3 --version However, it gives an error bash: /usr/local/bin/pip3: No such ...
0
votes
0answers
104 views

How to deploy python3+django 1.7+uwsgi+nginx on a fresh ubuntu server 14.04 64bit

I am a newbie. I find there is few detailed guide for this. So I come here for help. related information: django project path: /root/uxn/exam My site ip: 120.44.244.38
0
votes
0answers
50 views

apt-get fails to do anything

After upgrading Ubuntu from Ubuntu-12.04-adm64 to Ubuntu 14.04.1 LTS via ssh (on VDS) For most of commands apt-get returns something like this: Setting up python3-minimal (3.4.0-0ubuntu2) ... ...
0
votes
0answers
16 views

Reliance Auto Login Help

i want to run this script https://github.com/pteek/reliance-auto-login-script but i get this error in lubuntu " Traceback (most recent call last): File "./reliance-login.py", line 27, in ...
0
votes
0answers
78 views

How to activate external tools in Gedit? - Ubuntu 14.10

My external tools in Gedit doesn't work . I get this error when I check it: An error occurred : plugin loader "python3" was not found . I've tried these solutions but they haven't worked: Link ...
0
votes
0answers
48 views

Application relies on Python 3, system uses Python 2. How to fix this?

This issue that I have is causing an application (MySQL Workbench) to run UNsmoothly. Basically, after I upgraded MySQL I had problems connecting to a database through SSH. It was suggested that ...
0
votes
0answers
67 views

PyKEP: python 2.7 vs python 3.3

I try to install PyKEP package (pyKEP) and following the instruction in the web page at the and I obtain this error massage: [ 95%] Building CXX object PyKEP/core/CMakeFiles/_core.dir/core. ... ...
0
votes
0answers
63 views

How to setup libapache2-mod-wsgi-py3?

I cannot figure out how to setup libapache2-mod-wsgi-py3 properly. I have Apache up and running, and I have mod-wsgi installed and running, but Apache doesn't even try to run the Python script file. ...
0
votes
0answers
113 views

Package system is broken - updating Python

First I wrote the following command: sudo apt-get update And when that was completed, I ran this command: sudo apt-get -f install And I got this error from the terminal: dpkg: error processing ...
0
votes
0answers
279 views

Problem compiling pygame for Python 3.4

I was trying to compile pygame from source on Ubuntu 14.04 (64 bit) and issued the following command as given in the Wiki: apt-get install mercurial python3-dev python3-numpy ffmpeg ...
0
votes
0answers
127 views

Installing pybluez for python 3 in Ubuntu Touch

I'm having problems with pybluez in ubuntu touch. $pip3 install pybluez exits with an error: error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 the complete log is here: ...
0
votes
0answers
98 views

I'm receiving a GDB test error installing Python 3.4.1 on 14.04

I'm trying to create a VirtualBox VM with Ubuntu 14.04 and Python 3.4.1. I've downloaded the source https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz And I've updated OpenSSL to resolve a ...