Linked Questions

1
vote
1answer
7k views

How to install Python 3.6 in virtual environment? [duplicate]

I am using Ubuntu 16.04 which comes with python 2.7 and python 3.5 pre-installed. I am currently working on a project where it requires to install python 3.6 and some additional packages. I have ...
1
vote
0answers
7k views

Upgrade python from 3.5.2 to 3.6.2 in Ubuntu 16.04 LTS [duplicate]

How to upgrade python from 3.5.2 to 3.6.2 via terminal?
3
votes
1answer
3k views

How do I install Python 3.7 on Ubuntu 16.04 and 18.04? [duplicate]

I have several systems. Some are 16.04 mini-servers and I cannot update the OS yet. The others have been updated to Ubuntu 18.04. (The 18.04 version I used has Python 3.6.5 on it).
218
votes
8answers
424k views

How to make 'python' program command execute Python 3?

The python program command executes Python 2. Python 3 can be executed using the python3 command. How can Python 3 be executed using the python command?
22
votes
6answers
18k views

No module named 'gdbm'

I just finished installing python 3.5.1 on my Ubuntu, but am faced with this error message, regardless if I'm installing with Anaconda or with apt-get: No module named 'gdbm' that normally displays ...
18
votes
4answers
27k views

ImportError: cannot import name _remove_dead_weakref

I've tried searching around but haven't been able to find a good fix or anyone else with this specific error. It happens after I try to install screen with apt-get install screen. Error: Setting up ...
14
votes
2answers
6k views

Gnome terminal will not start

I just tried to install python 3.6 on my Ubuntu 16.04 system, and now I cant run the terminal from the launcher or from Ctrl+Alt+T. I tried to run gnome-terminal from XTerm and got the following ...
7
votes
3answers
31k views

Update Python 3.5 to 3.6 via terminal

Using Ubuntu 17.04. After update Python 3.5 to 3.6 via terminal according to https://askubuntu.com/a/865569/695385 still showing that version is 3.5.3. ~$ python3 --version Python 3.5.3 How is this ...
1
vote
1answer
6k views

Help Installing Python on Ubuntu

I'm attempting to install both the last version of python 2 which is currently 2.7.14 according to the site, and the latest for v3, even though I don't really need it. (Just to see if I can get any ...
4
votes
1answer
2k views

Why is Python 3.6 not available via official Ubuntu repositories? [duplicate]

Maybe this is the wrong forum for this question, in which case I apologise, but why isn't Python 3.6 in the official repositories for Ubuntu 16.04 LTS? According to this answer it seems like Python 3....
1
vote
2answers
1k views

Is it okay to mess around with Python that comes with Ubuntu?

I've just installed Ubuntu 14.04 LTS and am new to Linux. I know that Ubuntu 14.04 LTS comes with Python 3.4.0. Is it okay if I install pip3 and install packages (e.g. django, numpy, etc.) on it? Can ...
1
vote
1answer
1k views

Ubuntu 16.04 virtualenvwrapper python3.6 path

I'm not sure if this should be here or in a python board however since this isn't happening anywhere else except on an Ubuntu 16.04 system I thought it might be the right place. I have a Ubuntu 16.04 ...
1
vote
1answer
753 views

ImportError: cannot import name 'multiarray'

I installed Python3.6 as described here: sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-get update sudo apt-get install python3.6 Then I installed numpy as follows: sudo apt-get install ...
3
votes
2answers
782 views

Can't uninstall Python 3.6

I want to uninstall my 3.6 version without touching the original 3.5 version. So I ran sudo apt-get remove python3.6 but the output was: E: Unable to locate package python3.6 E: Couldn't find any ...
-1
votes
1answer
688 views

Still having the version 2.7 after install the version 3.6 of python

After installed python 3.6 from the the edwinksl's answer (How do I install Python 3.6 using apt-get?), I tried to test out the version of python on my computer with pip --version where I got the ...

15 30 50 per page