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

learn more… | top users | synonyms

57
votes
8answers
110k views

How do I install Python 3.3?

I have downloaded Python 3.3 from the official site but no idea how to install it. I'm using Ubuntu 12.04
9
votes
3answers
13k views

How to create a virtualenv with Python3.3 in Ubuntu?

I'm running Precise Pangolin amd64. I installed Python 3.3 from ppa:fkrull/deadsnakes. Now I want to actually use this new Python version in a virtualenv. But How can I do this? I get the following ...
8
votes
1answer
4k views

“libpeas-WARNING **: Could not find loader 'python3' for plugin” when loading a pluging in gedit

I recently upgraded to Ubuntu 13.04 and I use gedit for a lot of things. I was trying to install some plugins that I use quite frequently and I came into some issues. First I installed the plugins ...
8
votes
3answers
5k 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 ...
6
votes
1answer
716 views

What is python3mu?

I'm setting up PyDev for Eclipse, and I have to choose a version of Python for the interpretor. I want to use Python3, and I've been using python3 as my interpretor, so I thought /usr/bin/python3 ...
5
votes
2answers
5k views

12.10 has Python 3.2.3 default, does this impact existing python tools?

Ubuntu 12.10 has Python 3.2.3 default, so does this impact existing python tools, designed to be used with older python 2.x? There was a discussion in HackerNews on the same. I'm a bit apprehensive ...
5
votes
2answers
2k views

Changing Python default in 12.04 LTS

I have downloaded and installed python 3.2.3 for Ubuntu/Debian. Also IDLE IDE for 3.2.3. If I execute IDLE for 3.2.3 explicitely, 3.2.3 runs under IDLE and all is well. But if I go to a terminal ...
5
votes
2answers
643 views

Take screenshots at random intervals with Python?

I am working on a project to take screenshots of desktop and upload images to a server I want to develop a python app, when user starts that app it will start taking screenshots in random interval ...
5
votes
2answers
1k 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?
5
votes
2answers
18k views

How to find python installation directory on ubuntu

I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ? Is there any way I can let shell ...
4
votes
2answers
5k views

Make default python to python3.3 on 13.04

I'm using 13.04, I can access python3.3 via python3. bu i want to make the default interpreter to python3.3. simple python takes me to python 2.7.4. How to upgrade?
4
votes
2answers
2k views

Open terminal window and execute Python script on startup

I have a Python script which I would like to execute at every startup. I can run it by adding this to the startup applications: python3 /path/to/script.py That works, but it doesn't open a terminal ...
3
votes
3answers
317 views

Python 3 error when running the print command

All I wrote in the interpreter was as follows: >>> print "Hello, World!" File "<stdin>", line 1 print "Hello, World!" ^ SyntaxError: invalid syntax How ...
3
votes
1answer
291 views

Designing UI using html and css and without webkit?

I want to try out developing desktop applications with the UI designed using html5,css and jquery and the back end code written in python. Is this possible? I have already tried out the WebKit but is ...
3
votes
1answer
134 views

Which media players available in the Ubuntu repositories uses GStreamer, GTK+ and were written in Python?

I'm planning to write a media player for Ubuntu to present in fair in the place I study. And I'd like to use GStreamer and GTK+ with Python, but I could not find a good documentation about the ...
3
votes
2answers
920 views

how to load python3 to eric IDE?

Installed Eric IDE for python 3 Learning by using Ubuntu 12.04 LTS . But Eric showing Python2.7.3 , not showing python 3 even its installed . so how can i configure Eric to show the python as ...
3
votes
1answer
657 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
2answers
215 views

Reference counting on exported DBus objects?

I'm working on a DBus service that needs to export objects on demand when requested by 3rd party applications. That part seems fairly strait-forward. But I also need to "garbage collect" these ...
2
votes
2answers
826 views

Python3.2 error; Unable to install or remove anything

I searched around as much as I could, but I couldn't seem to find a solution to fix my problem. Whether I install anything, remove anything, run sudo apt-get update or sudo apt-get upgrade, I still ...
2
votes
1answer
21 views

how to use python3 shortcuts on emacs?

I am new to emacs and I am trying to set python3 as default interpreter. I have installed from software centre the python plugin for emacs. I can run a python3 file going to pyexec-->execute ...
2
votes
2answers
606 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 ...
2
votes
1answer
941 views

Trying to create a python virtual environment but getting OSError

I have installed python3.3, pip-1.5, ditribute-0.7.3, virtualenv-1.11. I am giving the below command to create virtual environment virtualenv --no-site-packages test I am getting the following ...
2
votes
1answer
126 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
1answer
666 views

Unable to import tkinter?

I am studying Python and tried to make GUI using python.I am using IDLE 3.2 on 12.04 Ubuntu.When i typed import Tkinter, a error comes, it says following: Traceback (most recent call last): File ...
2
votes
1answer
785 views

Python Global Hotkey

I'm looking to create a global hotkey in Python 3.2 for Ubuntu 12.10. That is, my script will run in the background and whenever I press Shift+F4 (for example), no matter what the active window is, ...
2
votes
2answers
961 views

Problems upgrading to Python 3.3 and setting up Django

I'm new to Linux and am trying to set up Python / Django on my machine! I installed Python 3.3 from the source file and it was compiled into /usr/local/bin. Then I created a symbolic link between ...
2
votes
2answers
335 views

Installing Bluez in Python3

How do I install bluetooth/bluez modules into python3? In Python2 I'm able to import bluetooth and utilize it but in Python3 I have no such luck. How can I import bluetooth modules in python3?
2
votes
0answers
56 views

Install Both Python 2.7 and Python 3.3.0 on Ubuntu 12.04 [duplicate]

Possible Duplicate: need to have 2 versions of python? I have projects that require different resources from the two different versions of Python. My question is can I have both versions of ...
1
vote
1answer
117 views

What is wrong with this python script?

I have this code: from sys import argv import os bold = "\033[1m" reset = "\033[0;0m" try: argv[1] except IndexError: print("\nNo arguments! Add \"-h\" or \"--help\" for more info." + bold + ...
1
vote
3answers
6k views

need to have 2 versions of python?

Well, as I say, I need to have 2 versions of python installed on my PC. The first must be the latest one in order to use youtube-dl, and the second must be the 2.7 version to use it for a course ( ...
1
vote
2answers
7k views

Install Python 3.3.2 on Ubuntu

How to update to Python 3.3.2 in Ubuntu? I tried sudo apt-get install python3 but it says that the current (3.3.1) is already the latest.
1
vote
1answer
297 views

How to Install Python 3.X.X. Properly

I have installed and configured python from online tutorials, python books, and other various sources in the past only to find myself digging through forums when things go wrong and piecing various ...
1
vote
1answer
584 views

Import error when running update manager

It seems like I am getting some error related to Python, but I am not sure why I am getting it. When I ran Software Updater (in 12.10) from unity, it didn't even fire up. When I did this from the ...
1
vote
1answer
76 views

howto link / execute / add to $PATH: python3.3.5 after manual installation in 12.04 LTS

I'm trying to install python3.3.5 on /home/myUser/XX, where home is located on a separate partition. I'm relatively new to Linux and have only basic knowledge about installing packages on my own, ...
1
vote
1answer
31 views

Install Nibabel for Python 3

How can I get the Nibabel module for Python 3? Only the Nibabel module for Python 2 is in the repository.
1
vote
1answer
151 views

How can i install SPE(Stani's Python Editor) for python3.3

I have ubuntu 13.10.I have SPE which runs for python2.7.4+.But i need to run it for python 3.3.2+.How can i do it.My system uses python2.7.4+ by default.
1
vote
1answer
231 views

The package python3.2 needs to be reinstalled, but I can't find an archive for it

I get this error when I try to update or run software center, but I can't find an archive for it: The package python3.2 needs to be reinstalled
1
vote
1answer
245 views

What is the difference between idle3 and idle-python3.2

I installed them both via apt-get install and they seem to be the same. If I start them they both open up a python shell
1
vote
1answer
162 views

Making a GUI for python program [duplicate]

I want to make a GUI for a program written in python.It is said that Gnome tool kit is helpful for this task.But,I want to know how to install it?and the way I should use it? I am using Ubuntu 12.04 ...
1
vote
1answer
335 views

how to purge python 3.3 and install python 2.7.4

I'm in complete trouble with my Ubuntu 13.04 distro. Today I wanted to try python 3.3, I compiled it and installed from source. It broke my system, many packages wait for apt-get remove cmmand. I ...
1
vote
2answers
386 views

Gtk.SelectionMode.MULTIPLE allows selection of only one row in Gtk.TreeView

I'm developing an application using Quickly. I have a Gtk.TreeView with a Gtk.ListStore as its model. The selection mode of the Gtk.SelectionMode is set to Gtk.SelectionMode.MULTIPLE. The problem is ...
1
vote
1answer
496 views

Are python bindings for OpenCV 2.4.3 available?

I have installed the Libraries and files for OpenCV 2.4.3. However, the Software Center lists just the python bindings for OpenCV2.3. Where do i get the python bindings for 2.4.3 ? How do i install it ...
1
vote
0answers
108 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 ...
1
vote
1answer
181 views

Python 3.2 script not working and/or importing tkinter when running from desktop

I'm really puzzled by this, but the answer is probably quite simple and just can't see it: I have a series of python modules that work fine from within the python interpreter, but nothing happens ...
1
vote
1answer
261 views

Python 3 with Pylab on Ubuntu 12.04

I have Ubuntu 12.04 and I'm learning via Python 2.7.3 (specifically Pylab - IPython, NumPy, SciPy and Matplotlib). I thought it's better to learn the newest version of Python. Using apt-get tells me ...
1
vote
0answers
23 views

How to install python 3.3.2 on a vps server [duplicate]

I just brought a new ubuntu vps. So i would like to install python 3.3.2. I know that my server have pyhton 2.7.2 installed but there is some new feature on python 3.3. 2 that would help me on doing ...
0
votes
1answer
60 views

I want to uninstall Python3 and just use 2.7

I typed in this to the terminal: sudo apt-get remove python3 And it gave me the following output: Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
432 views

Ubuntu 13.04 Install and running Python 3 at the same time than Python 2.7.x

Im using 13.04 but I want have installed the both main Python versions for make tests about migration of my actual code. is possible install Python 3 in the same machine running Python 2.7? I need ...
0
votes
3answers
237 views

Installing Python modules on Ubuntu

I have been using Python on Windows for a while, so I'm into a lot of modules, including Pygame and LiveWires, but how do I install them into Ubuntu? I have the py file for LiveWires, which has been ...
0
votes
1answer
560 views

Python - NameError: global name 'plus' is not defined

So I am creating a program using shelve and I keep getting this error message. I can not for the life of me figure it out and google hasn't been much help. Is this a problem with Ubuntu/Python working ...