qpython-android / qpython.org

QPython contributor & sugguestion & question homepage
http://qpython.org
58 stars 11 forks source link

Can't install lxml #140

Closed eoghanstafford closed 7 years ago

eoghanstafford commented 8 years ago

Is there a way to install lxml? I want to be able to use BeautifulSoup and it doesn't seem to work without it.

riverfor commented 7 years ago

Please install lxml-qpython from QPYPI.

darecAdirondack commented 6 years ago

okay, ive downloaded lxml-qpython and extracted the folder into site-packages. now how do i get the program to use it? i tried using my normal code and it said i need to install a parser. then i tried:

  soup = BeautifulSoup(response.content, 'lxml-qpython')

and still nothing. im not sure what to do here?

carlosporta commented 6 years ago

@darecAdirondack , have you solved your problem? Please, double check if you extracted the correct folder to site-packages. Inside the extracted folder (lxml-qpython-2.3.6), there is another folder named lxml. You have to extract the folder lxml to site-packages instead of the folder lxml-qpython-2.3.6.

carlosporta commented 6 years ago

@riverfor, I downloaded this lxml version: link. Does that should work on qpython3? When I run my code I get this:

from lxml import etree
ImportError: dlopen failed: library "libpython2.7.0.so" not found.

Did I download a wrong lib version? If so, how can I find the right version?

ChrisYeGX commented 4 years ago

Do you solve your probelm? I have the same probelm.