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

learn more… | top users | synonyms

0
votes
3answers
169 views

Running QQ : Can't find Python 3.3.1 in apt-get or synaptic

I'm running QQ : Can't find the repos/packages for Python 3.3.1 with apt-get or synaptic. How do I find them and install Python 3.3.1?
1
vote
2answers
296 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
39 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
98 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 ...
0
votes
2answers
304 views

Problem updating to Python 3.3 on Ubuntu 12.04 LTS?

I have recently installed Ubuntu 12.04 LTS and I wanted to upgrade the Python version to 3.3, but I am having some problems doing it. Whenever I run this command, sudo apt-get install ...
-1
votes
2answers
637 views

cannot install python3 after dist-upgrade

How can I install python3? I try to install python3 like this: sudo apt-get install python3 But I get the error below: Reading package lists... Done Building dependency tree Reading state ...
3
votes
1answer
759 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
18 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
162 views

How to use python3 in emacs on ubuntu 14.04

I am using emacs in python mode. To run a python file I use the command C-c C-c. Emacs automatically start to run python 2.7 while I would like to use python3. Once I have been able to solve ...
0
votes
1answer
94 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
57 views

Upgrade scipy to the latest version

I am running Ubuntu 14.04. I have scipy 0.13.3 and I would like to upgrade it . I have tried: sudo pip3 install scipy --upgrade but I receive this error: creating ...
0
votes
1answer
181 views

Install Nltk 3.0 - Which Folder

I just installed python 3.4.0 on Ubuntu 13.10, and now I want to install nltk-3.0a3.tar.gz However, I am not sure to which folder I should extract this. I am still new to linux and I don't know where ...
0
votes
1answer
92 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
49 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
186 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
522 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
1k 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
275 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
204 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
686 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 ...
1
vote
0answers
77 views

pyvenv still broken on 14.04.1?

meow@te:~# pyvenv-3.4 v Error: Command '['/meow/v/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1 I thought it was fixed. I've done update and ...
1
vote
0answers
150 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
27 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
28 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 ...
0
votes
0answers
20 views

Python3 - Using the bsdiff module

How do I use the bsdiff module with Python? While I can use shell scripts I would prefer to have a cross-platform solution. I have downloaded bsdiff4-1.1.4 and attempt to run setup.py as follows: ...
0
votes
0answers
14 views

I installed python3 from Python.org, and it messed things up. How to I revert to the original python3 on 14.04?

I am running Ubuntu Desktop 14.04 and updated python3 to 3.4.1 from python.org, and it seems that some things are not working correctly, especially 'software update'. How to I revert completely to ...
0
votes
0answers
49 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 ...
0
votes
0answers
37 views

cloning lxc container using python3-lxc

I am experimenting with lxc on ubuntu 14.04. In order to manage a couple of lxc instances I am using python3-lxc. Using pyhthon3-lxc, I do fail to clone an existing container: >>> import lxc ...
0
votes
0answers
51 views

Gtk3.0 Gtkbuttons and junctions sides

I'm trying to align many GtkButton with junction sides but the result is not what I want some help please my code: it is a python code for Gtk3.0 (3.6) I'm on ubuntu 13.04 import gi.repository from ...
0
votes
0answers
31 views

python3-lxc and lxc parallel installation not possible!

every time i try to install one of the package lxc and python3-lxc the other one is removed from my system. How i can fix this problem? I need both for a project. Thank You!
0
votes
0answers
168 views

pygame.error: File is not a Windows BMP file

I am trying to learn Pygame reading Making Games with Pygame and Python. I have Ubuntu 13.04, python 3.3, and pygame 1.9.2. I can only load BMP images in pygame. Research into this has shown me ...
0
votes
0answers
74 views

Problem running the python code for backup on Ubuntu?

I was trying to run following python code through terminal but something is wrong as it is producing some errors source = ['/home/akash/', '/home/akash/code'] target_dir = '/media' target = ...