[Tutor] centos 7 - new setup.. weird python!

Zachary Ware zachary.ware+pytut at gmail.com
Wed Jul 19 16:58:10 EDT 2017


On Wed, Jul 19, 2017 at 3:48 PM, bruce <badouglas at gmail.com> wrote:
> Hi.

Hi Bruce,

>
> Testing setting up a new Cnntos7 instance.
>
> I ran python -v from the cmdline...  and instantly got a bunch of the
> following! Pretty sure this isn't correct.
>
> Anyone able to give pointers as to what I've missed.
>
> thanks
>
> python -v
> # installing zipimport hook
> import zipimport # builtin
> # installed zipimport hook
> # /usr/lib64/python2.7/site.pyc matches /usr/lib64/python2.7/site.py
> import site # precompiled from /usr/lib64/python2.7/site.pyc
> # /usr/lib64/python2.7/os.pyc matches /usr/lib64/python2.7/os.py
> import os # precompiled from /usr/lib64/python2.7/os.pyc

This is correct: this is python's "verbose" mode, which prints out
some debugging information, like imports and module cleanup.  I think
you were looking for the `-V` or `--version` flag.

-- 
Zach


More information about the Tutor mailing list