-
Notifications
You must be signed in to change notification settings - Fork 2
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
Impossible loading plugin Avaframe connector on mac #733
Comments
Hi Luca, It seems QGis uses another python installation than the system one on Mac OS, or it does not honour the user-installed packages. I don't have a Mac on hand to test this.
Maybe one of these helps... |
Hello Felix,
Unfortunaltely the first and the third options did not work.
The second option could be the nicer but as you said it is not so satisfactory.
So, for the moment I will use the development version and not the Operational ones.
Thanks, for the moment, ciao Luca
…________________________________
Luca Dellarole
Civil & Environmental Engineer
Avalanche Forecaster [https://dashboard.alpsolut.eu/resources/elements/vert80px.png] [Website] <www.alpsolut.eu> www.alpsolut.eu
[LinkedIn]<https://www.linkedin.com/company/alpsolut/> LinkedIn<https://www.linkedin.com/company/alpsolut/>
***@***.***> ***@***.******@***.***> [Facebook] <https://www.facebook.com/alpsolut.eu> Facebook<https://www.facebook.com/alpsolut.eu>
[Phone]<tel:+393398422668> +39 339 842 26 68<tel:+393398422668> [Address] <https://goo.gl/maps/CKNK2daDLuEfQnud6> Via Saroch 1098/A, 23041 - Livigno (SO), Italy<https://goo.gl/maps/CKNK2daDLuEfQnud6>
[https://dashboard.alpsolut.eu/resources/elements/hor640px.png]
[Alpsolut s.r.l.]<www.alpsolut.eu> [https://dashboard.alpsolut.eu/resources/elements/vert80px.png]
In partnership with<https://www.livigno.eu/>
[Livigno]<https://www.livigno.eu/>
Le informazioni contenute nella presente comunicazione ed i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla società sopraindicate e non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all'azienda. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi dell'art.616 c.p., che ai sensi del GDPR (General Data Protection Regulation) - Reg.UE n.679/16. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informarci immediatamente inviando un messaggio all'indirizzo ***@***.******@***.***>
Il giorno 4 lug 2022, alle ore 08:45, Felix Oesterle ***@***.******@***.***>> ha scritto:
Hi Luca,
Thanks for your report!
It seems QGis uses another python installation than the system one on Mac OS, or it does not honour the user-installed packages. I don't have a Mac on hand to test this.
I see the following possible solutions:
* You could try to install avaframe without the '--user' option.
* I previously managed to install avaframe on an older macOS version; see #581<#581>. This works by staying in the same conda python environment. Unfortunately, the version of QGis supplied via conda forge is still 3.18, which is not very satisfactory...
* Try to install avaframe from within QGis (via the console); see here: https://gis.stackexchange.com/questions/418274/installing-python-module-using-pip-via-python-console-in-qgis-3-22
Maybe one of these helps...
—
Reply to this email directly, view it on GitHub<#733 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYOEVIR5GYX5YBJJQNANJSTVSKB7JANCNFSM52MSQNHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Ciao Felix, yesterday somehow I was trying something similar to that solution.
So working within the QGIS python, but I was getting the same error that I have now, making the steps you list.
Installing avaframe, numpy and pandas within:
/Applications/QGIS.app/Contents/MacOS/bin/
Using:
$ ./python3 -m pip show avaframe
I got the right location, for both avaframe and numpy:
Location: /Applications/QGIS-LTR.app/Contents/Resources/python/site-packages
Than I open QGIS from the command line:
/Applications/QGIS-LTR.app/Contents/MacOS/QGIS
And finally I try to add the the Plugin but I have this error:
<img width="640" alt="Error_avaframe" src="https://user-images.githubusercontent.com/102517410/177478346-9e7454a0-b09c-41f4-bd55-9e209ef3f0af.png">
|
Hi Luca, I can't see your error, there seems to be an image missing? |
I update the link with the screenshot |
This seems to happen for other plugins as well, e.g. here (in German) BergWerkGIS/VoGIS-Profil-Tool#21 |
I upgrade pip and Pillow as described here: then I did again the procedure suggest by Rudi, but I have a new error: |
Since you are on the development installation, you need to do the |
Why you say I'm on the development installation? Here I'm trying to install the Plugin in QGIS to use the Standard / Operational installation. |
Uh sorry, I got that wrong! |
ok |
Ciao Felix, since I was not checking anymore and only using the development version, I did not try anymore. Today I was trying with the new version of avaframe but still have problems to use it directly within qgis. Here the errors that appear. Do you have new suggestions or the same you told me some month ago? ![Screenshot 2023-03-22 alle 08 32 56](https://user-images.githu Best regards, Luca |
Hi @LucaDella8 : I moved the discussion to #837 |
Hello,
I'm trying to add the AvaFrameConnector plugin to Qgis (Standard / Operational installation).
But I got the error:
Impossible to load the plugin 'avaframeConnector' due to an error calling the method classFactory()
ModuleNotFoundError: No module named 'avaframe'
These are the error print screen:
OS: macOS Monterey, version 12.4
Thanks, Luca
The text was updated successfully, but these errors were encountered: