Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: How to correctly set the Python2.7 as default in Ubuntu ?

Neel
2183 days ago

Question: How to correctly set the Python2.7 as default in Ubuntu ?

Neelam[Val] python []
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> q()
Traceback (most recent call last):
File "", line 1, in
NameError: name 'q' is not defined
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
Nelaam[Val] which python []
/usr/bin/python
Neelam[Val] sudo apt install python2.7 []
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.7 is already the newest version (2.7.12-1ubuntu0~16.04.4).
The following packages were automatically installed and are no longer required:
libllvm5.0 libllvm5.0:i386 ocqt562+240-libqt5core5a ocqt562+240-libqt5dbus5
ocqt562+240-libqt5gui5 ocqt562+240-libqt5keychain1
ocqt562+240-libqt5network5 ocqt562+240-libqt5printsupport5
ocqt562+240-libqt5sql5 ocqt562+240-libqt5sql5-sqlite
ocqt562+240-libqt5webkit5 ocqt562+240-libqt5widgets5 ocqt562+240-libqt5xml5
ocqt562+240-qtsvg5
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
libglib2.0-dev
1 upgraded, 0 newly installed, 0 to remove and 218 not upgraded.
9 not fully installed or removed.
Need to get 0 B/1.379 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 592402 files and directories currently installed.)
Preparing to unpack .../libglib2.0-dev_2.48.2-0ubuntu4.1_amd64.deb ...
Unpacking libglib2.0-dev (2.48.2-0ubuntu4.1) over (2.48.2-0ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu4.1) ...
Processing triggers for libglib2.0-0:i386 (2.48.2-0ubuntu4.1) ...
Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.4) ...
Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.4) ...
Setting up htop (2.0.1-1ubuntu1) ...
Setting up libglib2.0-dev (2.48.2-0ubuntu4.1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.4) ...
Setting up libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.4) ...
Setting up libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.4) ...
Setting up python2.7 (2.7.12-1ubuntu0~16.04.4) ...
Setting up python2.7-dev (2.7.12-1ubuntu0~16.04.4) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Neelam[Val] python -v []
import _frozen_importlib # frozen
import _imp # builtin
import sys # builtin
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
import _thread # previously loaded ('_thread')
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import _weakref # previously loaded ('_weakref')
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
# installing zipimport hook
import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'>
# installed zipimport hook
# /usr/lib/python3.5/encodings/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/encodings/__init__.py
# code object from '/usr/lib/python3.5/encodings/__pycache__/__init__.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/codecs.cpython-35.pyc matches /usr/lib/python3.5/codecs.py
# code object from '/usr/lib/python3.5/__pycache__/codecs.cpython-35.pyc'
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e8b128>
# /usr/lib/python3.5/encodings/__pycache__/aliases.cpython-35.pyc matches /usr/lib/python3.5/encodings/aliases.py
# code object from '/usr/lib/python3.5/encodings/__pycache__/aliases.cpython-35.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e19be0>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e83cf8>
# /usr/lib/python3.5/encodings/__pycache__/utf_8.cpython-35.pyc matches /usr/lib/python3.5/encodings/utf_8.py
# code object from '/usr/lib/python3.5/encodings/__pycache__/utf_8.cpython-35.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e279b0>
import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/encodings/__pycache__/latin_1.cpython-35.pyc matches /usr/lib/python3.5/encodings/latin_1.py
# code object from '/usr/lib/python3.5/encodings/__pycache__/latin_1.cpython-35.pyc'
import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e2a4e0>
# /usr/lib/python3.5/__pycache__/io.cpython-35.pyc matches /usr/lib/python3.5/io.py
# code object from '/usr/lib/python3.5/__pycache__/io.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/abc.cpython-35.pyc matches /usr/lib/python3.5/abc.py
# code object from '/usr/lib/python3.5/__pycache__/abc.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/_weakrefset.cpython-35.pyc matches /usr/lib/python3.5/_weakrefset.py
# code object from '/usr/lib/python3.5/__pycache__/_weakrefset.cpython-35.pyc'
import '_weakrefset' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e30198>
import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e2a978>
import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e2a710>
# /usr/lib/python3.5/__pycache__/site.cpython-35.pyc matches /usr/lib/python3.5/site.py
# code object from '/usr/lib/python3.5/__pycache__/site.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/os.cpython-35.pyc matches /usr/lib/python3.5/os.py
# code object from '/usr/lib/python3.5/__pycache__/os.cpython-35.pyc'
import 'errno' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/__pycache__/stat.cpython-35.pyc matches /usr/lib/python3.5/stat.py
# code object from '/usr/lib/python3.5/__pycache__/stat.cpython-35.pyc'
import '_stat' # <class '_frozen_importlib.BuiltinImporter'>
import 'stat' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798dd57f0>
# /usr/lib/python3.5/__pycache__/posixpath.cpython-35.pyc matches /usr/lib/python3.5/posixpath.py
# code object from '/usr/lib/python3.5/__pycache__/posixpath.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/genericpath.cpython-35.pyc matches /usr/lib/python3.5/genericpath.py
# code object from '/usr/lib/python3.5/__pycache__/genericpath.cpython-35.pyc'
import 'genericpath' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798de00b8>
import 'posixpath' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798dd5b38>
# /usr/lib/python3.5/__pycache__/_collections_abc.cpython-35.pyc matches /usr/lib/python3.5/_collections_abc.py
# code object from '/usr/lib/python3.5/__pycache__/_collections_abc.cpython-35.pyc'
import '_collections_abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798de0710>
import 'os' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e3ff98>
# /usr/lib/python3.5/__pycache__/_sitebuiltins.cpython-35.pyc matches /usr/lib/python3.5/_sitebuiltins.py
# code object from '/usr/lib/python3.5/__pycache__/_sitebuiltins.cpython-35.pyc'
import '_sitebuiltins' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e452b0>
# /usr/lib/python3.5/__pycache__/sysconfig.cpython-35.pyc matches /usr/lib/python3.5/sysconfig.py
# code object from '/usr/lib/python3.5/__pycache__/sysconfig.cpython-35.pyc'
import 'sysconfig' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e11e80>
# /usr/lib/python3.5/__pycache__/_sysconfigdata.cpython-35.pyc matches /usr/lib/python3.5/_sysconfigdata.py
# code object from '/usr/lib/python3.5/__pycache__/_sysconfigdata.cpython-35.pyc'
# /usr/lib/python3.5/plat-x86_64-linux-gnu/__pycache__/_sysconfigdata_m.cpython-35.pyc matches /usr/lib/python3.5/plat-x86_64-linux-gnu/_sysconfigdata_m.py
# code object from '/usr/lib/python3.5/plat-x86_64-linux-gnu/__pycache__/_sysconfigdata_m.cpython-35.pyc'
import '_sysconfigdata_m' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798d9e9b0>
import '_sysconfigdata' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798d9e5c0>
# /usr/lib/python3.5/__pycache__/_bootlocale.cpython-35.pyc matches /usr/lib/python3.5/_bootlocale.py
# code object from '/usr/lib/python3.5/__pycache__/_bootlocale.cpython-35.pyc'
import '_locale' # <class '_frozen_importlib.BuiltinImporter'>
import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798dada58>
# /usr/lib/python3.5/__pycache__/types.cpython-35.pyc matches /usr/lib/python3.5/types.py
# code object from '/usr/lib/python3.5/__pycache__/types.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/functools.cpython-35.pyc matches /usr/lib/python3.5/functools.py
# code object from '/usr/lib/python3.5/__pycache__/functools.cpython-35.pyc'
import '_functools' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/collections/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/collections/__init__.py
# code object from '/usr/lib/python3.5/collections/__pycache__/__init__.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/operator.cpython-35.pyc matches /usr/lib/python3.5/operator.py
# code object from '/usr/lib/python3.5/__pycache__/operator.cpython-35.pyc'
import '_operator' # <class '_frozen_importlib.BuiltinImporter'>
import 'operator' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797893eb8>
# /usr/lib/python3.5/__pycache__/keyword.cpython-35.pyc matches /usr/lib/python3.5/keyword.py
# code object from '/usr/lib/python3.5/__pycache__/keyword.cpython-35.pyc'
import 'keyword' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77978a5208>
# /usr/lib/python3.5/__pycache__/heapq.cpython-35.pyc matches /usr/lib/python3.5/heapq.py
# code object from '/usr/lib/python3.5/__pycache__/heapq.cpython-35.pyc'
import '_heapq' # <class '_frozen_importlib.BuiltinImporter'>
import 'heapq' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77978a5a90>
import 'itertools' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/__pycache__/reprlib.cpython-35.pyc matches /usr/lib/python3.5/reprlib.py
# code object from '/usr/lib/python3.5/__pycache__/reprlib.cpython-35.pyc'
import 'reprlib' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77978a5f28>
import '_collections' # <class '_frozen_importlib.BuiltinImporter'>
import 'collections' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798dc6940>
# /usr/lib/python3.5/__pycache__/weakref.cpython-35.pyc matches /usr/lib/python3.5/weakref.py
# code object from '/usr/lib/python3.5/__pycache__/weakref.cpython-35.pyc'
import 'weakref' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77978a9b00>
import 'functools' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798db9630>
# /usr/lib/python3.5/collections/__pycache__/abc.cpython-35.pyc matches /usr/lib/python3.5/collections/abc.py
# code object from '/usr/lib/python3.5/collections/__pycache__/abc.cpython-35.pyc'
import 'collections.abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798dbd5f8>
import 'types' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798db59b0>
# /usr/lib/python3.5/importlib/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/importlib/__init__.py
# code object from '/usr/lib/python3.5/importlib/__pycache__/__init__.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/warnings.cpython-35.pyc matches /usr/lib/python3.5/warnings.py
# code object from '/usr/lib/python3.5/__pycache__/warnings.cpython-35.pyc'
import 'warnings' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798dbde10>
import 'importlib' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798db5d68>
# /usr/lib/python3.5/importlib/__pycache__/util.cpython-35.pyc matches /usr/lib/python3.5/importlib/util.py
# code object from '/usr/lib/python3.5/importlib/__pycache__/util.cpython-35.pyc'
# /usr/lib/python3.5/importlib/__pycache__/abc.cpython-35.pyc matches /usr/lib/python3.5/importlib/abc.py
# code object from '/usr/lib/python3.5/importlib/__pycache__/abc.cpython-35.pyc'
# /usr/lib/python3.5/importlib/__pycache__/machinery.cpython-35.pyc matches /usr/lib/python3.5/importlib/machinery.py
# code object from '/usr/lib/python3.5/importlib/__pycache__/machinery.cpython-35.pyc'
import 'importlib.machinery' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797854748>
import 'importlib.abc' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797854128>
# /usr/lib/python3.5/__pycache__/contextlib.cpython-35.pyc matches /usr/lib/python3.5/contextlib.py
# code object from '/usr/lib/python3.5/__pycache__/contextlib.cpython-35.pyc'
import 'contextlib' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779785d400>
import 'importlib.util' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779784aac8>
# possible namespace for /usr/local/lib/python3.5/dist-packages/mpl_toolkits
# possible namespace for /usr/local/lib/python3.5/dist-packages/mpl_toolkits
# destroy mpl_toolkits
# /usr/lib/python3.5/__pycache__/sitecustomize.cpython-35.pyc matches /usr/lib/python3.5/sitecustomize.py
# code object from '/usr/lib/python3.5/__pycache__/sitecustomize.cpython-35.pyc'
# /usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-35.pyc matches /usr/lib/python3/dist-packages/apport_python_hook.py
# code object from '/usr/lib/python3/dist-packages/__pycache__/apport_python_hook.cpython-35.pyc'
import 'apport_python_hook' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779786c240>
import 'sitecustomize' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797866518>
import 'site' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798e39a90>
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
# extension module 'readline' loaded from '/usr/lib/python3.5/lib-dynload/readline.cpython-35m-x86_64-linux-gnu.so'
# extension module 'readline' executed from '/usr/lib/python3.5/lib-dynload/readline.cpython-35m-x86_64-linux-gnu.so'
import 'readline' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7f779786c748>
import 'atexit' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/__pycache__/rlcompleter.cpython-35.pyc matches /usr/lib/python3.5/rlcompleter.py
# code object from '/usr/lib/python3.5/__pycache__/rlcompleter.cpython-35.pyc'
import 'rlcompleter' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779786c860>
>>> clear
# /usr/lib/python3.5/__pycache__/re.cpython-35.pyc matches /usr/lib/python3.5/re.py
# code object from '/usr/lib/python3.5/__pycache__/re.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/sre_compile.cpython-35.pyc matches /usr/lib/python3.5/sre_compile.py
# code object from '/usr/lib/python3.5/__pycache__/sre_compile.cpython-35.pyc'
import '_sre' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/__pycache__/sre_parse.cpython-35.pyc matches /usr/lib/python3.5/sre_parse.py
# code object from '/usr/lib/python3.5/__pycache__/sre_parse.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/sre_constants.cpython-35.pyc matches /usr/lib/python3.5/sre_constants.py
# code object from '/usr/lib/python3.5/__pycache__/sre_constants.cpython-35.pyc'
import 'sre_constants' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797160048>
import 'sre_parse' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779787a860>
import 'sre_compile' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797876908>
# /usr/lib/python3.5/__pycache__/copyreg.cpython-35.pyc matches /usr/lib/python3.5/copyreg.py
# code object from '/usr/lib/python3.5/__pycache__/copyreg.cpython-35.pyc'
import 'copyreg' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77971690f0>
import 're' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779786cbe0>
# /usr/lib/python3.5/__pycache__/traceback.cpython-35.pyc matches /usr/lib/python3.5/traceback.py
# code object from '/usr/lib/python3.5/__pycache__/traceback.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/linecache.cpython-35.pyc matches /usr/lib/python3.5/linecache.py
# code object from '/usr/lib/python3.5/__pycache__/linecache.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/tokenize.cpython-35.pyc matches /usr/lib/python3.5/tokenize.py
# code object from '/usr/lib/python3.5/__pycache__/tokenize.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/token.cpython-35.pyc matches /usr/lib/python3.5/token.py
# code object from '/usr/lib/python3.5/__pycache__/token.cpython-35.pyc'
import 'token' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779717d978>
import 'tokenize' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77971734e0>
import 'linecache' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77971732e8>
import 'traceback' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797169550>
# /usr/lib/python3/dist-packages/apport/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3/dist-packages/apport/__init__.py
# code object from '/usr/lib/python3/dist-packages/apport/__pycache__/__init__.cpython-35.pyc'
import 'time' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3/dist-packages/apport/__pycache__/report.cpython-35.pyc matches /usr/lib/python3/dist-packages/apport/report.py
# code object from '/usr/lib/python3/dist-packages/apport/__pycache__/report.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/subprocess.cpython-35.pyc matches /usr/lib/python3.5/subprocess.py
# code object from '/usr/lib/python3.5/__pycache__/subprocess.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/signal.cpython-35.pyc matches /usr/lib/python3.5/signal.py
# code object from '/usr/lib/python3.5/__pycache__/signal.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/enum.cpython-35.pyc matches /usr/lib/python3.5/enum.py
# code object from '/usr/lib/python3.5/__pycache__/enum.cpython-35.pyc'
import 'enum' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779712e898>
import 'signal' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779712e0f0>
import '_posixsubprocess' # <class '_frozen_importlib.BuiltinImporter'>
import 'select' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/__pycache__/selectors.cpython-35.pyc matches /usr/lib/python3.5/selectors.py
# code object from '/usr/lib/python3.5/__pycache__/selectors.cpython-35.pyc'
import 'math' # <class '_frozen_importlib.BuiltinImporter'>
import 'selectors' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797143240>
# /usr/lib/python3.5/__pycache__/threading.cpython-35.pyc matches /usr/lib/python3.5/threading.py
# code object from '/usr/lib/python3.5/__pycache__/threading.cpython-35.pyc'
import 'threading' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779714c4a8>
import 'subprocess' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779711e7f0>
# /usr/lib/python3.5/__pycache__/tempfile.cpython-35.pyc matches /usr/lib/python3.5/tempfile.py
# code object from '/usr/lib/python3.5/__pycache__/tempfile.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/shutil.cpython-35.pyc matches /usr/lib/python3.5/shutil.py
# code object from '/usr/lib/python3.5/__pycache__/shutil.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/fnmatch.cpython-35.pyc matches /usr/lib/python3.5/fnmatch.py
# code object from '/usr/lib/python3.5/__pycache__/fnmatch.cpython-35.pyc'
import 'fnmatch' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798d78a20>
# /usr/lib/python3.5/__pycache__/tarfile.cpython-35.pyc matches /usr/lib/python3.5/tarfile.py
# code object from '/usr/lib/python3.5/__pycache__/tarfile.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/struct.cpython-35.pyc matches /usr/lib/python3.5/struct.py
# code object from '/usr/lib/python3.5/__pycache__/struct.cpython-35.pyc'
import '_struct' # <class '_frozen_importlib.BuiltinImporter'>
import 'struct' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797088630>
# /usr/lib/python3.5/__pycache__/copy.cpython-35.pyc matches /usr/lib/python3.5/copy.py
# code object from '/usr/lib/python3.5/__pycache__/copy.cpython-35.pyc'
import 'copy' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797088940>
import 'grp' # <class '_frozen_importlib.BuiltinImporter'>
import 'pwd' # <class '_frozen_importlib.BuiltinImporter'>
import 'tarfile' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798d78dd8>
# /usr/lib/python3.5/__pycache__/bz2.cpython-35.pyc matches /usr/lib/python3.5/bz2.py
# code object from '/usr/lib/python3.5/__pycache__/bz2.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/_compression.cpython-35.pyc matches /usr/lib/python3.5/_compression.py
# code object from '/usr/lib/python3.5/__pycache__/_compression.cpython-35.pyc'
import '_compression' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797090d30>
# extension module '_bz2' loaded from '/usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-x86_64-linux-gnu.so'
# extension module '_bz2' executed from '/usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-x86_64-linux-gnu.so'
import '_bz2' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7f77970a2668>
import 'bz2' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798d801d0>
# /usr/lib/python3.5/__pycache__/lzma.cpython-35.pyc matches /usr/lib/python3.5/lzma.py
# code object from '/usr/lib/python3.5/__pycache__/lzma.cpython-35.pyc'
# extension module '_lzma' loaded from '/usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so'
# extension module '_lzma' executed from '/usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so'
import '_lzma' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7f77970a91d0>
import 'lzma' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77970a2940>
import 'shutil' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798d6ce80>
# /usr/lib/python3.5/__pycache__/random.cpython-35.pyc matches /usr/lib/python3.5/random.py
# code object from '/usr/lib/python3.5/__pycache__/random.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/hashlib.cpython-35.pyc matches /usr/lib/python3.5/hashlib.py
# code object from '/usr/lib/python3.5/__pycache__/hashlib.cpython-35.pyc'
# extension module '_hashlib' loaded from '/usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so'
# extension module '_hashlib' executed from '/usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so'
import '_hashlib' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7f77970b8a20>
import 'hashlib' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77970b2f60>
import '_random' # <class '_frozen_importlib.BuiltinImporter'>
import 'random' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7798d6cf60>
import 'tempfile' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779711e748>
# /usr/lib/python3.5/__pycache__/glob.cpython-35.pyc matches /usr/lib/python3.5/glob.py
# code object from '/usr/lib/python3.5/__pycache__/glob.cpython-35.pyc'
import 'glob' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77970b8588>
# /usr/lib/python3.5/__pycache__/locale.cpython-35.pyc matches /usr/lib/python3.5/locale.py
# code object from '/usr/lib/python3.5/__pycache__/locale.cpython-35.pyc'
import 'locale' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77967ff128>
# /usr/lib/python3.5/__pycache__/imp.cpython-35.pyc matches /usr/lib/python3.5/imp.py
# code object from '/usr/lib/python3.5/__pycache__/imp.cpython-35.pyc'
import 'imp' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779681a0f0>
# /usr/lib/python3.5/xml/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/xml/__init__.py
# code object from '/usr/lib/python3.5/xml/__pycache__/__init__.cpython-35.pyc'
import 'xml' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779681a9e8>
# /usr/lib/python3.5/xml/dom/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/xml/dom/__init__.py
# code object from '/usr/lib/python3.5/xml/dom/__pycache__/__init__.cpython-35.pyc'
# /usr/lib/python3.5/xml/dom/__pycache__/domreg.cpython-35.pyc matches /usr/lib/python3.5/xml/dom/domreg.py
# code object from '/usr/lib/python3.5/xml/dom/__pycache__/domreg.cpython-35.pyc'
import 'xml.dom.domreg' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77968235f8>
import 'xml.dom' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779681ac50>
# /usr/lib/python3.5/xml/dom/__pycache__/minidom.cpython-35.pyc matches /usr/lib/python3.5/xml/dom/minidom.py
# code object from '/usr/lib/python3.5/xml/dom/__pycache__/minidom.cpython-35.pyc'
# /usr/lib/python3.5/xml/dom/__pycache__/minicompat.cpython-35.pyc matches /usr/lib/python3.5/xml/dom/minicompat.py
# code object from '/usr/lib/python3.5/xml/dom/__pycache__/minicompat.cpython-35.pyc'
import 'xml.dom.minicompat' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779617b7b8>
# /usr/lib/python3.5/xml/dom/__pycache__/xmlbuilder.cpython-35.pyc matches /usr/lib/python3.5/xml/dom/xmlbuilder.py
# code object from '/usr/lib/python3.5/xml/dom/__pycache__/xmlbuilder.cpython-35.pyc'
# /usr/lib/python3.5/xml/dom/__pycache__/NodeFilter.cpython-35.pyc matches /usr/lib/python3.5/xml/dom/NodeFilter.py
# code object from '/usr/lib/python3.5/xml/dom/__pycache__/NodeFilter.cpython-35.pyc'
import 'xml.dom.NodeFilter' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779618e710>
import 'xml.dom.xmlbuilder' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779617bc18>
import 'xml.dom.minidom' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779681acf8>
# /usr/lib/python3.5/xml/parsers/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/xml/parsers/__init__.py
# code object from '/usr/lib/python3.5/xml/parsers/__pycache__/__init__.cpython-35.pyc'
import 'xml.parsers' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779618efd0>
# /usr/lib/python3.5/xml/parsers/__pycache__/expat.cpython-35.pyc matches /usr/lib/python3.5/xml/parsers/expat.py
# code object from '/usr/lib/python3.5/xml/parsers/__pycache__/expat.cpython-35.pyc'
import 'pyexpat' # <class '_frozen_importlib.BuiltinImporter'>
import 'xml.parsers.expat' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961a50f0>
# /usr/lib/python3.5/urllib/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/urllib/__init__.py
# code object from '/usr/lib/python3.5/urllib/__pycache__/__init__.cpython-35.pyc'
import 'urllib' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961a5470>
# /usr/lib/python3.5/urllib/__pycache__/error.cpython-35.pyc matches /usr/lib/python3.5/urllib/error.py
# code object from '/usr/lib/python3.5/urllib/__pycache__/error.cpython-35.pyc'
# /usr/lib/python3.5/urllib/__pycache__/response.cpython-35.pyc matches /usr/lib/python3.5/urllib/response.py
# code object from '/usr/lib/python3.5/urllib/__pycache__/response.cpython-35.pyc'
import 'urllib.response' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961a5a20>
import 'urllib.error' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961a5550>
# /usr/lib/python3.5/urllib/__pycache__/request.cpython-35.pyc matches /usr/lib/python3.5/urllib/request.py
# code object from '/usr/lib/python3.5/urllib/__pycache__/request.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/base64.cpython-35.pyc matches /usr/lib/python3.5/base64.py
# code object from '/usr/lib/python3.5/__pycache__/base64.cpython-35.pyc'
import 'binascii' # <class '_frozen_importlib.BuiltinImporter'>
import 'base64' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779614e7f0>
# /usr/lib/python3.5/__pycache__/bisect.cpython-35.pyc matches /usr/lib/python3.5/bisect.py
# code object from '/usr/lib/python3.5/__pycache__/bisect.cpython-35.pyc'
import '_bisect' # <class '_frozen_importlib.BuiltinImporter'>
import 'bisect' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796153908>
# /usr/lib/python3.5/email/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/email/__init__.py
# code object from '/usr/lib/python3.5/email/__pycache__/__init__.cpython-35.pyc'
import 'email' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961538d0>
# /usr/lib/python3.5/http/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/http/__init__.py
# code object from '/usr/lib/python3.5/http/__pycache__/__init__.cpython-35.pyc'
import 'http' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796153cf8>
# /usr/lib/python3.5/http/__pycache__/client.cpython-35.pyc matches /usr/lib/python3.5/http/client.py
# code object from '/usr/lib/python3.5/http/__pycache__/client.cpython-35.pyc'
# /usr/lib/python3.5/email/__pycache__/parser.cpython-35.pyc matches /usr/lib/python3.5/email/parser.py
# code object from '/usr/lib/python3.5/email/__pycache__/parser.cpython-35.pyc'
# /usr/lib/python3.5/email/__pycache__/feedparser.cpython-35.pyc matches /usr/lib/python3.5/email/feedparser.py
# code object from '/usr/lib/python3.5/email/__pycache__/feedparser.cpython-35.pyc'
# /usr/lib/python3.5/email/__pycache__/errors.cpython-35.pyc matches /usr/lib/python3.5/email/errors.py
# code object from '/usr/lib/python3.5/email/__pycache__/errors.cpython-35.pyc'
import 'email.errors' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77960f79e8>
# /usr/lib/python3.5/email/__pycache__/message.cpython-35.pyc matches /usr/lib/python3.5/email/message.py
# code object from '/usr/lib/python3.5/email/__pycache__/message.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/uu.cpython-35.pyc matches /usr/lib/python3.5/uu.py
# code object from '/usr/lib/python3.5/__pycache__/uu.cpython-35.pyc'
import 'uu' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796116198>
# /usr/lib/python3.5/__pycache__/quopri.cpython-35.pyc matches /usr/lib/python3.5/quopri.py
# code object from '/usr/lib/python3.5/__pycache__/quopri.cpython-35.pyc'
import 'quopri' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961162e8>
# /usr/lib/python3.5/email/__pycache__/utils.cpython-35.pyc matches /usr/lib/python3.5/email/utils.py
# code object from '/usr/lib/python3.5/email/__pycache__/utils.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/socket.cpython-35.pyc matches /usr/lib/python3.5/socket.py
# code object from '/usr/lib/python3.5/__pycache__/socket.cpython-35.pyc'
import '_socket' # <class '_frozen_importlib.BuiltinImporter'>
import 'socket' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779611e978>
# /usr/lib/python3.5/__pycache__/datetime.cpython-35.pyc matches /usr/lib/python3.5/datetime.py
# code object from '/usr/lib/python3.5/__pycache__/datetime.cpython-35.pyc'
import '_datetime' # <class '_frozen_importlib.BuiltinImporter'>
import 'datetime' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779611ef60>
# /usr/lib/python3.5/urllib/__pycache__/parse.cpython-35.pyc matches /usr/lib/python3.5/urllib/parse.py
# code object from '/usr/lib/python3.5/urllib/__pycache__/parse.cpython-35.pyc'
import 'urllib.parse' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796129cf8>
# /usr/lib/python3.5/email/__pycache__/_parseaddr.cpython-35.pyc matches /usr/lib/python3.5/email/_parseaddr.py
# code object from '/usr/lib/python3.5/email/__pycache__/_parseaddr.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/calendar.cpython-35.pyc matches /usr/lib/python3.5/calendar.py
# code object from '/usr/lib/python3.5/__pycache__/calendar.cpython-35.pyc'
import 'calendar' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77960e2b38>
import 'email._parseaddr' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77960e0208>
# /usr/lib/python3.5/email/__pycache__/charset.cpython-35.pyc matches /usr/lib/python3.5/email/charset.py
# code object from '/usr/lib/python3.5/email/__pycache__/charset.cpython-35.pyc'
# /usr/lib/python3.5/email/__pycache__/base64mime.cpython-35.pyc matches /usr/lib/python3.5/email/base64mime.py
# code object from '/usr/lib/python3.5/email/__pycache__/base64mime.cpython-35.pyc'
import 'email.base64mime' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779608a668>
# /usr/lib/python3.5/email/__pycache__/quoprimime.cpython-35.pyc matches /usr/lib/python3.5/email/quoprimime.py
# code object from '/usr/lib/python3.5/email/__pycache__/quoprimime.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/string.cpython-35.pyc matches /usr/lib/python3.5/string.py
# code object from '/usr/lib/python3.5/__pycache__/string.cpython-35.pyc'
import '_string' # <class '_frozen_importlib.BuiltinImporter'>
import 'string' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779608af60>
import 'email.quoprimime' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779608a898>
# /usr/lib/python3.5/email/__pycache__/encoders.cpython-35.pyc matches /usr/lib/python3.5/email/encoders.py
# code object from '/usr/lib/python3.5/email/__pycache__/encoders.cpython-35.pyc'
import 'email.encoders' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779609d128>
import 'email.charset' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779607fac8>
import 'email.utils' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961168d0>
# /usr/lib/python3.5/email/__pycache__/_policybase.cpython-35.pyc matches /usr/lib/python3.5/email/_policybase.py
# code object from '/usr/lib/python3.5/email/__pycache__/_policybase.cpython-35.pyc'
# /usr/lib/python3.5/email/__pycache__/header.cpython-35.pyc matches /usr/lib/python3.5/email/header.py
# code object from '/usr/lib/python3.5/email/__pycache__/header.cpython-35.pyc'
import 'email.header' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779609da20>
import 'email._policybase' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779611e828>
# /usr/lib/python3.5/email/__pycache__/_encoded_words.cpython-35.pyc matches /usr/lib/python3.5/email/_encoded_words.py
# code object from '/usr/lib/python3.5/email/__pycache__/_encoded_words.cpython-35.pyc'
import 'email._encoded_words' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77960a9b38>
# /usr/lib/python3.5/email/__pycache__/iterators.cpython-35.pyc matches /usr/lib/python3.5/email/iterators.py
# code object from '/usr/lib/python3.5/email/__pycache__/iterators.cpython-35.pyc'
import 'email.iterators' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796033240>
import 'email.message' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77960f7b00>
import 'email.feedparser' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796169c50>
import 'email.parser' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796169860>
# /usr/lib/python3.5/__pycache__/ssl.cpython-35.pyc matches /usr/lib/python3.5/ssl.py
# code object from '/usr/lib/python3.5/__pycache__/ssl.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/ipaddress.cpython-35.pyc matches /usr/lib/python3.5/ipaddress.py
# code object from '/usr/lib/python3.5/__pycache__/ipaddress.cpython-35.pyc'
import 'ipaddress' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796044780>
# /usr/lib/python3.5/__pycache__/textwrap.cpython-35.pyc matches /usr/lib/python3.5/textwrap.py
# code object from '/usr/lib/python3.5/__pycache__/textwrap.cpython-35.pyc'
import 'textwrap' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796061cf8>
# extension module '_ssl' loaded from '/usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so'
# extension module '_ssl' executed from '/usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so'
import '_ssl' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7f77960b1da0>
import 'ssl' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77960336d8>
import 'http.client' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779615e160>
import 'urllib.request' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77961ab2e8>
# /usr/lib/python3/dist-packages/__pycache__/problem_report.cpython-35.pyc matches /usr/lib/python3/dist-packages/problem_report.py
# code object from '/usr/lib/python3/dist-packages/__pycache__/problem_report.cpython-35.pyc'
import 'zlib' # <class '_frozen_importlib.BuiltinImporter'>
# /usr/lib/python3.5/__pycache__/gzip.cpython-35.pyc matches /usr/lib/python3.5/gzip.py
# code object from '/usr/lib/python3.5/__pycache__/gzip.cpython-35.pyc'
import 'gzip' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795ff8d30>
# /usr/lib/python3.5/email/mime/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/email/mime/__init__.py
# code object from '/usr/lib/python3.5/email/mime/__pycache__/__init__.cpython-35.pyc'
import 'email.mime' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7796012f28>
# /usr/lib/python3.5/email/mime/__pycache__/multipart.cpython-35.pyc matches /usr/lib/python3.5/email/mime/multipart.py
# code object from '/usr/lib/python3.5/email/mime/__pycache__/multipart.cpython-35.pyc'
# /usr/lib/python3.5/email/mime/__pycache__/base.cpython-35.pyc matches /usr/lib/python3.5/email/mime/base.py
# code object from '/usr/lib/python3.5/email/mime/__pycache__/base.cpython-35.pyc'
import 'email.mime.base' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779601b1d0>
import 'email.mime.multipart' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779601b080>
# /usr/lib/python3.5/email/mime/__pycache__/text.cpython-35.pyc matches /usr/lib/python3.5/email/mime/text.py
# code object from '/usr/lib/python3.5/email/mime/__pycache__/text.cpython-35.pyc'
# /usr/lib/python3.5/email/mime/__pycache__/nonmultipart.cpython-35.pyc matches /usr/lib/python3.5/email/mime/nonmultipart.py
# code object from '/usr/lib/python3.5/email/mime/__pycache__/nonmultipart.cpython-35.pyc'
import 'email.mime.nonmultipart' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779601b390>
import 'email.mime.text' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779601b198>
import 'problem_report' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779614e0b8>
# /usr/lib/python3/dist-packages/apport/__pycache__/fileutils.cpython-35.pyc matches /usr/lib/python3/dist-packages/apport/fileutils.py
# code object from '/usr/lib/python3/dist-packages/apport/__pycache__/fileutils.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/configparser.cpython-35.pyc matches /usr/lib/python3.5/configparser.py
# code object from '/usr/lib/python3.5/__pycache__/configparser.cpython-35.pyc'
import 'configparser' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779601beb8>
# /usr/lib/python3/dist-packages/apport/__pycache__/packaging_impl.cpython-35.pyc matches /usr/lib/python3/dist-packages/apport/packaging_impl.py
# code object from '/usr/lib/python3/dist-packages/apport/__pycache__/packaging_impl.cpython-35.pyc'
# /usr/lib/python3.5/json/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3.5/json/__init__.py
# code object from '/usr/lib/python3.5/json/__pycache__/__init__.cpython-35.pyc'
# /usr/lib/python3.5/json/__pycache__/decoder.cpython-35.pyc matches /usr/lib/python3.5/json/decoder.py
# code object from '/usr/lib/python3.5/json/__pycache__/decoder.cpython-35.pyc'
# /usr/lib/python3.5/json/__pycache__/scanner.cpython-35.pyc matches /usr/lib/python3.5/json/scanner.py
# code object from '/usr/lib/python3.5/json/__pycache__/scanner.cpython-35.pyc'
# extension module '_json' loaded from '/usr/lib/python3.5/lib-dynload/_json.cpython-35m-x86_64-linux-gnu.so'
# extension module '_json' executed from '/usr/lib/python3.5/lib-dynload/_json.cpython-35m-x86_64-linux-gnu.so'
import '_json' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7f7795b4c7b8>
import 'json.scanner' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b4c470>
import 'json.decoder' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b46d68>
# /usr/lib/python3.5/json/__pycache__/encoder.cpython-35.pyc matches /usr/lib/python3.5/json/encoder.py
# code object from '/usr/lib/python3.5/json/__pycache__/encoder.cpython-35.pyc'
import 'json.encoder' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b4c2e8>
import 'json' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b46ac8>
# /usr/lib/python3/dist-packages/apt/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3/dist-packages/apt/__init__.py
# code object from '/usr/lib/python3/dist-packages/apt/__pycache__/__init__.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/__future__.cpython-35.pyc matches /usr/lib/python3.5/__future__.py
# code object from '/usr/lib/python3.5/__pycache__/__future__.cpython-35.pyc'
import '__future__' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b57978>
# extension module 'apt_pkg' loaded from '/usr/lib/python3/dist-packages/apt_pkg.cpython-35m-x86_64-linux-gnu.so'
# extension module 'apt_pkg' executed from '/usr/lib/python3/dist-packages/apt_pkg.cpython-35m-x86_64-linux-gnu.so'
import 'apt_pkg' # <_frozen_importlib_external.ExtensionFileLoader object at 0x7f7795b57e10>
# /usr/lib/python3/dist-packages/apt/__pycache__/package.cpython-35.pyc matches /usr/lib/python3/dist-packages/apt/package.py
# code object from '/usr/lib/python3/dist-packages/apt/__pycache__/package.cpython-35.pyc'
# /usr/lib/python3/dist-packages/apt/progress/__pycache__/__init__.cpython-35.pyc matches /usr/lib/python3/dist-packages/apt/progress/__init__.py
# code object from '/usr/lib/python3/dist-packages/apt/progress/__pycache__/__init__.cpython-35.pyc'
import 'apt.progress' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7794964a58>
# /usr/lib/python3/dist-packages/apt/progress/__pycache__/text.cpython-35.pyc matches /usr/lib/python3/dist-packages/apt/progress/text.py
# code object from '/usr/lib/python3/dist-packages/apt/progress/__pycache__/text.cpython-35.pyc'
# /usr/lib/python3/dist-packages/apt/progress/__pycache__/base.cpython-35.pyc matches /usr/lib/python3/dist-packages/apt/progress/base.py
# code object from '/usr/lib/python3/dist-packages/apt/progress/__pycache__/base.cpython-35.pyc'
import 'fcntl' # <class '_frozen_importlib.BuiltinImporter'>
import 'apt.progress.base' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779496b5c0>
import 'apt.progress.text' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7794964be0>
import 'apt.package' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779494b550>
# /usr/lib/python3/dist-packages/apt/__pycache__/cache.cpython-35.pyc matches /usr/lib/python3/dist-packages/apt/cache.py
# code object from '/usr/lib/python3/dist-packages/apt/__pycache__/cache.cpython-35.pyc'
import 'apt.cache' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779495f588>
# /usr/lib/python3/dist-packages/apt/__pycache__/cdrom.cpython-35.pyc matches /usr/lib/python3/dist-packages/apt/cdrom.py
# code object from '/usr/lib/python3/dist-packages/apt/__pycache__/cdrom.cpython-35.pyc'
import 'apt.cdrom' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7794982b38>
import 'apt' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b577b8>
# /usr/lib/python3.5/__pycache__/pickle.cpython-35.pyc matches /usr/lib/python3.5/pickle.py
# code object from '/usr/lib/python3.5/__pycache__/pickle.cpython-35.pyc'
# /usr/lib/python3.5/__pycache__/_compat_pickle.cpython-35.pyc matches /usr/lib/python3.5/_compat_pickle.py
# code object from '/usr/lib/python3.5/__pycache__/_compat_pickle.cpython-35.pyc'
import '_compat_pickle' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77970eee10>
import '_pickle' # <class '_frozen_importlib.BuiltinImporter'>
import 'pickle' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b57860>
# /usr/lib/python3/dist-packages/apport/__pycache__/packaging.cpython-35.pyc matches /usr/lib/python3/dist-packages/apport/packaging.py
# code object from '/usr/lib/python3/dist-packages/apport/__pycache__/packaging.cpython-35.pyc'
import 'apport.packaging' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77970eeba8>
import 'apport.packaging_impl' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7795b35be0>
import 'apport.fileutils' # <_frozen_importlib_external.SourceFileLoader object at 0x7f779601b5f8>
import 'apport.report' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797185c88>
# /usr/lib/python3.5/__pycache__/gettext.cpython-35.pyc matches /usr/lib/python3.5/gettext.py
# code object from '/usr/lib/python3.5/__pycache__/gettext.cpython-35.pyc'
import 'gettext' # <_frozen_importlib_external.SourceFileLoader object at 0x7f7797100518>
import 'apport' # <_frozen_importlib_external.SourceFileLoader object at 0x7f77971790f0>
Traceback (most recent call last):
File "", line 1, in
NameError: name 'clear' is not defined

Neelam[Val] vi ~/.bashrc []

Answers
0

I think, you can fix it by running

sudo update-alternatives --remove-all python []

sudo apt install python2.7

sudo ln -sf /usr/bin/python2.7 /usr/bin/python []

python -V []

Python 2.7.12