-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lxml module work only with qgis 32bit and not 64bit #19806
Comments
Author Name: Patrick Maslen Maslen (Patrick Maslen Maslen) I have 32-bit lxml working in 32-bit QGIS 2.6, and 64-bit lxml working in 64-bit QGIS 2.6. If you do not already have 64-bit lxml you will probably need to use a 64-bit browser to download it. Hope this helps. Pat |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: SC SC (SC SC) Patrick Maslen Maslen wrote:
i downloaded 64-bit lxml in qgis 64bit , but it not works in pyqgis console, 32bit not problem in qgis 32 lxml module is very useful for to develop plugins, but this errore stop the use on 64bit windows platform |
Author Name: Patrick Maslen Maslen (Patrick Maslen Maslen) Hi Salvo I put the lxml folder in C:\OSGeo4W64\apps\Python27\Lib\site-packages and could then use the QGIS Python console to run from lxml.etree import fromstring, tostring, Element, _Element Pat |
Author Name: SC SC (SC SC) Patrick Maslen Maslen wrote:
hi Pat my lxml folder is yet there
in 32bit installation
but in 32bit it works, in 64bit NOT (in pyqgis console in qgis ) but in osgeo4w shell if i call python it works both 32bit both 64 bit i thinked that is some path wrong in pyqgis console but i don't understand where i can change it |
Author Name: Jürgen Fischer (@jef-n) this is not a qgis, but a packaging problem.
|
Author Name: SC SC (SC SC) Jürgen Fischer wrote:
no, it is not, in osgeo4w it works only in pyqgisconsole and plugin get error |
Author Name: Jürgen Fischer (@jef-n) SC SC wrote:
Well, it's not a QGIS problem and it's not a packaging problem - osgeo4w doesn't package lxml. |
Author Name: SC SC (SC SC) Jürgen Fischer wrote:
now is surely qgis problem because 2.8.1 not work too 32 bit version the same package installed with easy_install lxml works with 2.6.0 32bit , works with osgeo4w 32 and 64bit , but not work in qgis console of 2.8.1 the same error in 478 line of utils.py |
Author Name: Jürgen Fischer (@jef-n) SC SC wrote:
The lxml binaries apparently need a different version of the msvcr90.dll, but the binaries from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml work. |
Author Name: SC SC (SC SC) Jürgen Fischer wrote:
thank you now it work with 64bit and with 32 bit and 2.8.1 but so is a different use of compiler? |
Author Name: Jürgen Fischer (@jef-n) SC SC wrote:
QGIS 32bit is now built with VS2010 (before VS2008) - 64bit already used it. So the @msvcr90.dll@ dependency must come from another package. |
Author Name: SC SC (SC SC)
Original Redmine Issue: 11536
Affected QGIS version: 2.6.0
Redmine category:pyqgis_console
Hi,i download lxml (https://pypi.python.org/pypi/lxml) for my personal python plugins with pypi, but it work only on 32bit version of qgis on windows
for example if in pyQgis console i use
this work and i can use it too in my plugins
but if i download lxml module on qgis 64bit version on windows
in pyQGIS CONSOLE
instead on OSGeo4W shell of qgis installation both 32bit both 64 bit works
please solve it
Related issue(s): #20509 (duplicates)
Redmine related issue(s): 12331
The text was updated successfully, but these errors were encountered: