1
resposta

[Reclamação] Estou tentando verificar a versao do Python, e aparece isso tudo, O que pode ser:

[1] !python -V import frozenimportlib # frozen import imp # builtin import 'thread' # <class 'frozenimportlib.BuiltinImporter'> import 'warnings' # <class 'frozen_importlib.BuiltinImporter'> import 'weakref' # <class 'frozen_importlib.BuiltinImporter'> import 'io' # <class 'frozen_importlib.BuiltinImporter'> import 'marshal' # <class 'frozenimportlib.BuiltinImporter'> import 'posix' # <class 'frozenimportlib.BuiltinImporter'> import 'frozenimportlib_external' # <class 'frozenimportlib.FrozenImporter'>

installing zipimport hook

import 'time' # <class 'frozenimportlib.BuiltinImporter'> import 'zipimport' # <class 'frozenimportlib.FrozenImporter'>

installed zipimport hook

/usr/lib/python3.9/encodings/pycache/init.cpython-39.pyc matches /usr/lib/python3.9/encodings/init.py

code object from '/usr/lib/python3.9/encodings/pycache/init.cpython-39.pyc'

/usr/lib/python3.9/pycache/codecs.cpython-39.pyc matches /usr/lib/python3.9/codecs.py

code object from '/usr/lib/python3.9/pycache/codecs.cpython-39.pyc'

import 'codecs' # <class 'frozen_importlib.BuiltinImporter'> import 'codecs' # <frozenimportlib_external.SourceFileLoader object at 0x7febb24b68b0>

/usr/lib/python3.9/encodings/pycache/aliases.cpython-39.pyc matches /usr/lib/python3.9/encodings/aliases.py

code object from '/usr/lib/python3.9/encodings/pycache/aliases.cpython-39.pyc'

import 'encodings.aliases' # <frozenimportlib_external.SourceFileLoader object at 0x7febb2450e50> import 'encodings' # <frozenimportlib_external.SourceFileLoader object at 0x7febb24b6610>

/usr/lib/python3.9/encodings/pycache/utf_8.cpython-39.pyc matches /usr/lib/python3.9/encodings/utf_8.py

code object from '/usr/lib/python3.9/encodings/pycache/utf_8.cpython-39.pyc'

import 'encodings.utf_8' # <frozenimportlib_external.SourceFileLoader object at 0x7febb24b6af0> import 'signal' # <class 'frozen_importlib.BuiltinImporter'>

1 resposta

Oi Tamires,

Tente usar o comando:

python --version

ou

python3 --version

Quando você usa -V ele também ativa o modo de depuração do Python e exibe informações detalhadas sobre a inicialização do interpretador. Por isso, saiu esse monte de informação.