I'm using Ubuntu 16.04.1. I ran this commands:
sudo apt-get update
sudo apt-get install python3.6
I upgraded my Python 3.6 from 3.6.2
to 3.6.5
But Python 3.6.6
is available since 2018-06-27 How can I install it? Does it make sense that such an important package is not in the repository?
This important to me because 3.6.6
fixed a bug which I encounter in my code.
Running apt-cache policy python3.6
Gives:
python3.6:
Installed: 3.6.5-5~16.04.york1
Candidate: 3.6.5-5~16.04.york1
Version table:
*** 3.6.5-5~16.04.york1 500
500 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
I also get :
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
When running script using python3.6
Note: I have python
which associate to python2.7
, python3
which associate to python3.5
and now I'm adding python3.6
- I don't want to overwrite other python installations.
README.txt
to the mentioned folder. It seems to be safe. – Melebius Aug 27 '18 at 07:40