Replies: 1 comment 1 reply
-
O erro acontece com uma versão atual do sqlalchemy. Se não for problema para vc, desinstale o sqlalchemy |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ao tentar rodas o python rede.py me deparei com o seguinte erro:
Carregando rede_sqlite_cnpj
Traceback (most recent call last):
File "C:\Users\03308387506\Desktop\Redecnpj\rede-cnpj-master\rede\rede.py", line 22, in
rede_relacionamentos = importlib.import_module(nome_modulo_relacionamento)
File "C:\Users\03308387506\Miniconda3\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "C:\Users\03308387506\Desktop\Redecnpj\rede-cnpj-master\rede\rede_sqlite_cnpj.py", line 56, in
gdic = DicionariosCodigosCNPJ()
File "C:\Users\03308387506\Desktop\Redecnpj\rede-cnpj-master\rede\rede_sqlite_cnpj.py", line 43, in init
dfaux = pd.read_sql_table('qualificacao_socio', con, index_col=None )
File "C:\Users\03308387506\Miniconda3\lib\site-packages\pandas\io\sql.py", line 281, in read_sql_table
if not pandas_sql.has_table(table_name):
File "C:\Users\03308387506\Miniconda3\lib\site-packages\pandas\io\sql.py", line 1761, in has_table
return insp.has_table(name, schema or self.meta.schema)
AttributeError: 'Inspector' object has no attribute 'has_table'
Beta Was this translation helpful? Give feedback.
All reactions