-
Notifications
You must be signed in to change notification settings - Fork 0
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
OSGEO:QRAVE not installing with QGIS 3.28 - Can't find module lxml #86
Comments
Same error with version 3.4.14 |
I have not been able to reproduce this on any version of QGIS so far on windows 10 64-bit Here are the versions I've tried:
Questions:Is this a fresh install? Have you customized the python paths or modules in any way? I see a reference to when you type You can try the following (again, inside the QGIS python console) to see which paths are being used by python
|
@MattReimer I was working with @bbelletti (you will meet her in November) and had her post this. The Q3.4.14 is an older install, but the Q 3.28.0 was a brand new install. This is a windows machine, but it is configured for French. @bbelletti are you able to
|
@MattReimer, for what it is worth, when I type in my Q 3.26.3 Python prompt
But my system is also successfully running and has QRAVE installed? My
|
@joewheaton you have a typo. it's not and if QRave is working for you I would not expect an error as we depend on this library heavily. I haven't seen any evidence that lxml has been removed from QGIS or anything drastic like that so I suspect that what we're dealing with here is a configuration issue on one machine. |
Also, for completeness, we did troubleshoot trying to uninstall and download a zip of a previous release and that didn't work either. |
Yeah. I should probably refrain from making guesses without debugging thoroughly... but if I had to guess I'd say there's probably an environment variables set on the windows system or windows profile level that's setting PYTHONPATH to something it shouldn't be. This can cause QGIS to get confused about A) which modules to use and B) which version of python to use,. |
So, for what its worth, on my system (which also has the I can try and help troubleshoot @bbelletti tomorrow if we need it. Thanks @MattReimer. |
@joewheaton I don't think you have the same problem, you just mis-typed from the error you sent me: Note the extra |
Ha! Good catch @MattReimer. Moving to fast. The problem I have is typing.... accurately. |
In the end this was not actually a problem. The OSGEO install makes you explicitly install python modules. Once we installed the correct ones (i.e. lxml, scipy and shapely) the plugin started working again. |
Thanks a ton @MattReimer for helping @bbelletti and I through this. We got both QRiS and QRAVE going. Just to clarify, QRAVE only needed the FYI @philipbaileynar |
@joewheaton instead of having an individual checklist for each of our plugins (tedious) why not just have a "Recommended modules for Riverscapes tools" list that we maintain in one place? Again, as far as we know this affects only OSGEO4W installs and only OSGEO4W installs that are non-default so it's a pretty thin slice. |
Error message thrown:
The text was updated successfully, but these errors were encountered: