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

learn more… | top users | synonyms

1
vote
1answer
18 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@...
0
votes
1answer
111 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 ...
0
votes
1answer
39 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: ...
1
vote
2answers
34 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/...
1
vote
1answer
29 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
79 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 ...
0
votes
2answers
44 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
19 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
157 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
40 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 ...
0
votes
1answer
47 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 ...
0
votes
0answers
49 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 ...
1
vote
1answer
33 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
1answer
45 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 ...
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 ...
-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?
0
votes
1answer
47 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 ...
1
vote
1answer
123 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
755 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......
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
1answer
31 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 &...
0
votes
0answers
37 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
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
28 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 :)
0
votes
2answers
155 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
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 ...
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 ...
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
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 ...
3
votes
1answer
100 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, ...
4
votes
1answer
740 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 ...
1
vote
1answer
44 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 ...
0
votes
1answer
73 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 ...
0
votes
1answer
116 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
27 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 ...
2
votes
2answers
2k 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 ...
3
votes
1answer
30 views

How to install a simle python script [closed]

How do I 'install' a python script so I can run it when ever I want? My script looks like: #/usr/bin/env python import os; while True: comm = input(); os.system(comm); But when i try to ...
0
votes
1answer
35 views

Want to run a .py program as in terminal at start up

I want to run a .py program as my computer starts up . I went to startup application and selected that .py program to run. But that did not work , terminal did not open. What to do?
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
2answers
159 views

ANACONDA - I have to type export PATH=~/anaconda3/bin:“$PATH” everytime I rerun the terminal

Whenever I open a terminal, I have to write export PATH=~/anaconda3/bin:$PATH to use any feature of anaconda I want a persistent path.
1
vote
2answers
44 views

Compiling python3 code in terminal with interpreter [closed]

When I compile my code simply with the command python3 name.py, it's being run, but then the whole story ends and I can't do anything with the compiled data. I want to somehow compile my program to ...
0
votes
0answers
83 views

Python3-venv not installed ubuntu 14.04

Fresh install of ubuntu gnome 14.04, followed by dist-upgrade one of the first things I tried to do was create virtual environment for python python3 -m venv flask gave me The virtual ...
0
votes
0answers
71 views

How to make python script executable upon double-click?

I have tried ticking the execute as application box in properties but still doesn't execute. I want the program to run when I double-click instead of opening the code in gedit. Any suggestions?
0
votes
0answers
31 views

How do I uninstall python2.7 on 15.10?

I have 2 versions of python installed on my computer, not using pythonbrew but as 2 seperate packages (2.7 as python and 3.5 as python3), I'd like to remove 2.7 and reinstall 3.5 because this causes ...
0
votes
0answers
114 views

Buildozer asking for AIDL install

I am having Ubuntu 15.10 with Python 3.5 libraries installed. Pycharm-Community as my IDE and kivy installed. I am trying to build a simple project for my android application, everything goes fine, ...
1
vote
2answers
37 views

I removed Python 3.4 physically, is there anything I can do to avoid having to reinstall system?

Fristends, So while trying to install a python package I made a horrible mistake and removed Python 3.4 (if you are interested in how did I come up with it below is the link to my question on ...
0
votes
1answer
72 views

Problem installing python3-scipy

I've got ubuntu 15.10 and started a transition to python3. So I installed python3, python3-numpy and python3-matplotlib (and maybe a few more), but when I install python3-scipy, I get the following ...
0
votes
0answers
75 views

Install uwsgi via pip

I am running on 15.10 and I have tried the following command: pip install uwsgi but it complains that it is unable to find iconv during linking gcc -pthread -o /home/jonathan/.virtualenvs/Sabia/...