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
2answers
3k views

Ubuntu 16.04 VIM without python support!

Although Ubuntu 16.04 release notes mention that: The default VIM package has been built against python3 instead of python2. Yet after I installed vim with the following command: sudo apt-get ...
1
vote
2answers
2k 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
0
votes
1answer
81 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 ...
1
vote
1answer
23 views

VirtualEnv + Apt + Python3 Issue

VirtualEnv + Apt + Python3 Issue On 14.04 I've got an interesting problem trying to import a module. I have python3 and python3-apt installed and I can verify this with the following: chalbersma@...
6
votes
1answer
8k views

Install Pillow for Python 3

What's the best way to install Pillow for Python 3?
0
votes
1answer
55 views

How do i fix dependency issue with apport and apt-get (ubuntu 16.04 upgraded from 14.04)

I'm having trouble with dependencies and apt-get upgrade. I've looked around and tried a group of approches from this site and other stuff found on google. b@asus:~$ sudo apt-get upgrade Reading ...
0
votes
1answer
168 views

How to install Python 3.5.1 on ubuntu 16.04 LTS?

I want to install python 3.5.1 on my ubuntu 16.04 LTS. I have been searching but I still can't figure it out. I tried to find python 3.5.1 in the software center but I couldn't find it. Can someone ...
63
votes
7answers
95k 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
1answer
44 views

Packages broken after accidentally deleted python3

I accidently deleted my python3 package and then I'm trying to reinstall the package. But I am running into errors everytime. The following packages have unmet dependencies: devscripts : Depends: ...
6
votes
2answers
4k views

How to update to the latest numpy and scipy on Ubuntu 14.04LTS

On my Ubuntu 14.04LTS, for python3, I have >>> import numpy >>> import scipy >>> numpy.__version__ '1.8.2' >>> scipy.__version__ '0.13.3' I want to update ...
23
votes
4answers
25k 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 ...
1
vote
2answers
40 views

pip3 install timestring

I am trying to install timestring library into python3.5 on ubuntu 16.04 using the command: pip3 install timestring Getting this error: Exception: Traceback (most recent call last): File "/home/...
0
votes
2answers
48 views

Eclipse, for python project not jumping to function definition

In Eclipse, I created a Python project properly by installing all the plug-ins. But now I'm unable to jump to respective module (source file) and method (function definition). Please suggest me ...
0
votes
1answer
32 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 &...
1
vote
1answer
33 views

Installing python3-netcdf4 on Ubuntu 14.04

When I type sudo apt-get install python3-netcdf4 on Ubuntu 14.04, I get a message Unable to locate package python3-netcdf4. How do I install python3-netcdf4 on Ubuntu 14.04 ?
1
vote
1answer
88 views

How to ensure matplotlib in a Python 3 virtualenv uses the TkAgg backend?

I am using Ubuntu 16.04 with Python 3. Using apt to install matplotlib and then printing the matplotlib backend gives TKAgg, which is expected because Ubuntu has 16.04 has python3-tk installed. This ...
14
votes
2answers
108k 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 know/...
0
votes
1answer
50 views

Unable to use python3

Unknowingly i deleted the python folders in the / (root) directory, so I got this error when I tried to run python3. I reinstalled python3.2.3 version by manually downlading and installing with the ...
12
votes
4answers
2k views

Why isn't python 3 the default python binary?

I installed Ubuntu and type python in a terminal window. I get Python 2.7 and not Python 3.5. According to the docs, Python 3.5 should come preloaded.
0
votes
2answers
50 views

what is gi.repository in python? [closed]

I see from a lot of tutorials that in python the statement "from gi.repository" is used to import lots of different things, like gtk,etc etc.. what library is it? is it correlated with github? ...
0
votes
0answers
20 views

Unable to import python module in python after installation

After installation of any python module using pip or apt-get I am unable to import it in python3. I am able to do so in python 2.7 .This probably is a naive question but I am a novice at using ubuntu ...
2
votes
0answers
181 views

How to install OpenCV 3.1 for Python 3.5 On Ubuntu 16.04 LTS?

How to install OpenCV version 3.1 on Ubuntu 16.04 LTS to work with Python 3.5.1? I tried this on a VM but obviously that is useful to do if you want to work with Python 2.
0
votes
1answer
42 views

Update default python3 version from 3.2.3 to 3.3.x version in Ubuntu 12.04 [duplicate]

I would like to upgrade my python3 version from 3.2.3 to 3.3.x version. I am using Ubuntu 12.04 Referred this link. Is it the same procedure to upgrade the python version? If so, then what must be ...
1
vote
1answer
34 views

Python 3.3 installation error - abort installation

When I try to upgrade python3 version, I am getting the following error sudo apt-get build-dep python3.2 Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
0answers
51 views

Errors in installing virtualenv after installing to python 3.3.0 also

I am getting this error when I run the sudo pip install virtualenv command. I tried installing the python 3.3.0 version also which you can notice below. but I am not able to make the python3.3.0 ...
91
votes
8answers
262k 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
3
votes
1answer
103 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, ...
0
votes
0answers
50 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
1answer
43 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
vote
0answers
14 views

How to set Python 3 as default on Ubuntu 16.04 [duplicate]

According to the release notes Ubuntu 16.04 uses Python 3 by default and should not even include include Python 2: Python 3 Python2 is not installed anymore by default on the server, cloud ...
0
votes
1answer
1k views

cannot install Pygame for Python 3.5.1

I am trying to use Kivy 1.8.0 with Python 3.5.1 on my Ubuntu 15.04 Kivy generates an Error 'Fatal Error : Window no available :abort..After some time I came to know it needs PyGame but I cannot figure ...
-1
votes
0answers
23 views

Why my keyboard does not respond to this action [duplicate]

I am about to enter this command in the terminal: sudo apt-get install python3 It asks me for a password, but nothing works when I try to type. Why?
1
vote
1answer
128 views

Tensorflow for python 3 throws an error when installing on ubuntu

Today I was attempting to install google's Tensorflow for python 3 without gpu. When I run the command: sudo -H pip3 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-...
0
votes
1answer
49 views

How to Restore Pip installation and its Installations in Ubuntu 14.04? [closed]

I messed up my Pip installation. There was one missing when I run sudo apt-get install python-pip. Then, I run after sudo apt-get install python-dev. Then, I started to get 404 errors in ipython ...
5
votes
1answer
7k views

How to install PyQt for Python 3 in Ubuntu 14.10?

I found some tutorials online for earlier versions of Ubuntu but they didn't seem to work on Ubuntu 14.10; either that or I was doing it the wrong way. I want to use Qt Designer to design a GUI, use ...
0
votes
2answers
448 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 setup....
0
votes
1answer
986 views

installing pip3 (for python3) on ubuntu 16.04 LTS using a proxy

I have tried entering: sudo apt install python3-pip The error I get is: $ sudo apt install python3-pip Reading package lists... Done Building dependency tree Reading state information......
6
votes
3answers
2k views

No python intepreter in vim for Ubuntu 16.04

I've recently installed Ubuntu 16.04 and in the Release Notes it says VIM defaults to python3 On my fresh install of Ubuntu 16.04 I installed vim with the following commands $ python3 -V Python ...
0
votes
1answer
33 views

Cannot reinstall python3 on ubuntu 14.04

I think that I accidentally broke Python3 and was unable to do anything. I read somewhere that the solution was to remove python3 and reinstall it, but I got yet another problem: I was able to remove ...
0
votes
0answers
41 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
30 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 :)
4
votes
1answer
803 views

Install TensorFlow with Python3 on Ubuntu 16.04

When I try to install tensorflow package with pip3 on Ubuntu 16.04 I obtained this error message: The directory '/home/federico/.cache/pip/http' or its parent directory is not owned by the current ...
0
votes
2answers
176 views

Can't upgrade pip for python3 [duplicate]

I have pip installed for python3: $ pip3 -V pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4) If I try to upgrade to Version 8, this is what I get: $ sudo pip3 install --upgrade pip ...
0
votes
1answer
23 views

Python 3 AppIndicator3: What is the dependency?

I'm packaging an app I wrote in Python 3 which uses: from gi.repository import AppIndicator3 As I'm listing the dependencies, I have been unable to determine what package contains AppIndicator3. I ...
5
votes
1answer
5k views

How to install sympy for Python 3.4

I installed the Python scipy stack using the following command taken from here sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy ...
45
votes
6answers
95k 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?
1
vote
1answer
46 views

missing package CommandNotFound

I recently updated from 15.10 to 16.04 and now my python3 seems to be messed up. Before the upgrade I had python3.4 and python3.5.1(manually) installed. The upgrade removed python3.4 and replaced it ...
2
votes
2answers
9k 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 ...
0
votes
1answer
134 views

how to install numpy for python3

I need help with installing numpy to Ubuntu 16.04. after: $ pip3 install numpy come up always: PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/numpy' What to ...
0
votes
0answers
31 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 ...