Erro de criptografia Python: diretiva Cython'language_level 'não definida, usando 2 por enquanto (Py2)

erro:

FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: G:\software\PyCharm 2018.3.3\test_ext\add.py
 tree = Parsing.p_module(s, pxd, full_module_name)

Solução: adicione no topo do arquivo py que você precisa criptografar

# cython:language_level=3

lata

Acho que você gosta

Origin blog.csdn.net/BigData_Mining/article/details/112992267
Recomendado
Clasificación