Artelia / PostTelemac

Plugin for QGIS to manage Telemac results
19 stars 7 forks source link

QGis PostTelemac matplotlib #12

Open ohtwothree opened 7 years ago

ohtwothree commented 7 years ago

Hello,

I have an issue with the installation of the PostTelemac plugin in Qgis 2.18.2. In order to be able to create and save movies with that plugin, I installed QGis with the aid of the advanced installer, and selected all the library modules. However, when I open QGis and try to install the PostTelemac plugin, the following error message is displayed: “The plugin is broken. Python said: No module named matplotlib”. Yet, if I try to reinstall the software and have to select the packages to install, it is shown that matplotlib is already installed. I have attached two screenshots, one of the error message, and one of the installed packages. Does anyone have a clue how to fix this problem?

Thanks in advance!

Regards lib screenshot plugin error message

patricev commented 7 years ago

Hello, What is happening if you write "import matplotlib" in the python console of QGis ?

jocdiazm commented 7 years ago

Hi,

I had the same issue in Windows, which was solved navigating to :

[InstallDir]\OSGeo4W64\apps\Python27\Lib\site-packages

And copying the content inside of matplotlib-1.3.1-py2.7-win-amd64.egg to site-packages (i.e. the parent directory).

Maybe Qgis python path doesn't include a recursive search for site-packages or OsGEO installer "forgets" to correctly extract matplotlib contents .