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
0answers
4 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
1answer
28 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
0answers
19 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
1answer
21 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 ...
7
votes
3answers
3k views

pyvenv-3.4 error: returned non-zero exit status 1

When trying to create a virtual environment using the included pyvenv-3.4 that comes with 14.04, it throws an error: Error: Command '['/some/directories/bin/python3.4', '-Im', 'ensurepip', ...
14
votes
4answers
16k views

Make default `python` command to use Python 3

I can access Python 3 via python3 command. But I want to make the default interpreter to use python command for Python 3. Simple typing python takes me to Python 2. How to upgrade?
0
votes
0answers
20 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
19 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
11 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. ...
1
vote
3answers
3k views

How to download pygame in python3.3

I am using Ubuntu 13.10.I have both python 2.7 and python 3.3.I have installed pygame properly in python 2.7.How can i install it in python3.3.Does pygame support python3.3 or not?
0
votes
1answer
45 views

Install and use Hovercraft on Ubuntu 14.10

I am trying to use hovercraft on my Ubuntu 14.10 laptop. This is a python script, and I'm not that familiar with python... So here is what I've done: first, I installed hovercraft using sudo pip ...
1
vote
1answer
25 views

14.04 what is the difference between /usr/bin/python3 /usr/bin/python3.4

In /usr/bin there is a python3 and python3.4. What is the difference? If I am setting up virtualenv for 3.4 do I need to point it to the 3.4 file, or does the python3 act like a meta package?
-1
votes
0answers
39 views

“System program problem detected” in CGI

Recently, I installed Python 3 and enabled CGI scripts on my Apache 2.4.7 installation. I wrote some scripts (two, to be exact), saved them and made them executable so Apache can run it. But now, ...
0
votes
0answers
75 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
1answer
2k views

Installation procedure for numpy and other python-3.4 packages on ubuntu 14.04

I am new to ubuntu and installed ubuntu 14.04 32 bit on my LENOVO hinkpad T410 machine with windows 7 two days ago but since then trying download and install python-3.4 packages (NUMPY, SCIPY) on ...
0
votes
1answer
35 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: ...
11
votes
7answers
1k views

Should I change my Python code if I upgrade my Ubuntu?

I have a software that I have been developing in Python 3 for years. Until today, I have been using Ubuntu Desktop 11.04 but now I want to move to a higher version of Ubuntu. Must I stay on Ubuntu ...
1
vote
1answer
162 views

How to install scipy with pip3?

I am trying to install scipy for python3.x and I am trying to install it with pip3 sudo pip3 install scipy But I have the following errors: Downloading/unpacking scipy Running setup.py ...
0
votes
1answer
112 views

Apt-get commands are failing with libpython3.3 unmet dependencies

OS: Ubuntu 14.04, Arch: amd_x64. Apt-get commands: install, remove and purge fails with the same error below. However commands like update and clean works fine. Not sure how to resolve the issue. ...
0
votes
1answer
151 views

Cannot install scikit-learn in Python 3.4 in Ubuntu 14.04

I am trying to get scikit-learn to Python 3.4 in Ubuntu 14.04. When a run the command: sudo pip3 install -U scikit-learn I get scikit-learn loaded into Python 2.7. I have also tried to use: sudo ...
0
votes
0answers
22 views

What's the difference between python3.4 and python3.4m? [duplicate]

As the subject line. What is the difference of these two executables?
1
vote
1answer
61 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
0answers
79 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 ...
8
votes
3answers
6k views

Making python 3.3 default python 3 interpreter instead of 3.2

So, to keep it simple. Ubuntu 12.10 has python 3.2 pre installed and it is linked to "python3". I downloaded python 3.3 and it's command is "python3.3". However, I downloaded pySide for python3 from ...
-1
votes
2answers
829 views

Problem with update-manager: No module named 'apt_pkg' in Ubuntu 13.10, having installed Python 3.4 on /usr/local/lib

I'm rather new to Ubuntu and I'm trying to run update-manager on Ubuntu.13.10. I get: jacopo@jacopo-laptop:~$ update-manager Traceback (most recent call last): File "/usr/bin/update-manager", line ...
0
votes
1answer
1k views

unable to install/import tkinter

I got a pretty confusing Problem: I build a python program using tkinter. Then I dist-upgraded my ubuntu 13.10 (amd64) to ubuntu 14.04 LTS, now I tried to run my tkinter program. my compiler told me ...
-2
votes
1answer
827 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 ...
0
votes
2answers
427 views

pycharm can't find python

When I try to run pycharm it shows this error: ERROR: Cannot start PyCharm No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK ...
0
votes
0answers
70 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
94 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
1answer
143 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 ...
3
votes
2answers
655 views

How to create a deb package for a python3 script?

I have one Python file, main.py. I would like to be able to make a .deb package from it, and then be able to run main.py by typing the package name from the terminal. It is written in Python 3, so the ...
2
votes
0answers
219 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 ...
0
votes
1answer
184 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
2answers
137 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
1answer
137 views

How can I tidy up the mess that is my Python installations?

I had a Ubuntu 12.04 system which I eventually managed to get Python 2.7 and Python 3.2 working together (with pip and pip3) and Python 3.3 (with pip3.3) for good measure. I've recently upgraded to ...
11
votes
5answers
46k views

How to install Python 3.4 on Ubuntu?

If I open Terminal and type in python, I see the version is 2.7.4. How do I get python 3.4? And do I need IDLE if I have sublime text?
3
votes
1answer
1k views

Beautiful Soup 4 not working with Python 3.4.0

I am using Ubuntu 14.04 64 bit Operating System . I installed Beautiful Soup 4 using this command : sudo apt-get install python-bs4 With Python 2.7.6 , I had no difficulty importing the bs4 ...
13
votes
3answers
6k views

How can I install Django for Python 3.x?

I installed Django with this command: sudo apt-get install python-django And it installed version 1.5.4-1ubuntu1. The Django docs say that as of version 1.5, Django supports Python 3. Yet when I ...
0
votes
1answer
248 views

How to install python3-dateutil in Ubuntu 12.04 (Precise)?

I am trying to install the package python3-dateutil in a Ubuntu 12.04.4 LTS (Precise) with aptitude, but I cannot find it anywhere. How can I install it?
3
votes
1answer
315 views

How to install requests module for Python 3.1 ubuntu server 10.04?

I have a ubuntu server.(10.04) I don't install requests module. I try pip and other methods. Usually ; $ sudo pip install requests Traceback (most recent call last): File ...
5
votes
1answer
2k views

How to create Excel xlsx files from a script?

I'm looking for packages available in Ubuntu main/universe repositories (14.04) able to create Excel 2007+ xlsx files from a script (python3 or perl) My requirements: 100% compatible Excel XLSX ...
0
votes
0answers
18 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
71 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 ...
14
votes
4answers
18k views

How to install pip for python 3 in ubuntu 12.04 LTS

I am trying to install the Pillow module for python 3.3, but for that I need to install pip. Every time that I install pip it installs for python 2.7, any help?
0
votes
2answers
261 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
1answer
2k views

How to install `requests` module for `python3`?

I wanted to download Requests: HTTP for Humans module for python3. So I started with sudo apt-get install python3-pip sudo pip3 install requests --upgrade There were no errors. However, when I try ...
1
vote
2answers
80 views

Python3 modules [duplicate]

I've recently installed Ubuntu 14.04 and have been a python enthusiast for several years, since I used python in grad school for (text) data analysis. I've noticed that 14.04 comes with both python ...
2
votes
1answer
1k views

installation error in sklearn for python3

When I run the command sudo pip3 install -U scikit-learn I receive a strange error. Cleaning up... Command /usr/bin/python3 -c "import setuptools, ...
3
votes
2answers
105 views

What to learn Ubuntu application development in python, where to start?

I know basic python and i love it. I want to learn how to develop and publish Ubuntu applications in python but don't know where to start (I mean "the standard ways" to do so). It would be good if you ...