phoemur / fundamentus

API em python para análise fundamentalista de ações da BOVESPA utilizando o site fundamentus (www.fundamentus.com.br)
MIT License
227 stars 87 forks source link

Erro na linha 8 #1

Closed jaisonv closed 8 years ago

jaisonv commented 8 years ago

Tentei rodar aqui e recebi um erro nessa linha:

from lxml.html import fragment_fromstring

Ele diz que não foi possivel encontrar o 'fragment_fromstring'.

Sabe o que pode ser isso?

phoemur commented 8 years ago

Tem que instalar o lxml pra funcionar. python3 -m pip install lxml

Se quiser que funcione o server.py terá que instalar as dependências do Flask também. Os módulos necessários estão listados no arquivo required.txt

Em 08/09/2016 15:33, "Jaison D. Vieira" notifications@github.com escreveu:

Tentei rodar aqui e recebi um erro nessa linha:

from lxml.html import fragment_fromstring

Ele diz que não foi possivel encontrar o 'fragment_fromstring'.

Sabe o que pode ser isso?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phoemur/fundamentus/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AGaTrsxgnbLgjRj546bXYDEhrNJzEA5pks5qoFTwgaJpZM4J4Tny .

jaisonv commented 8 years ago

Funcionou. Obrigado!