PyQGIS (3.2) and H5PY DLL problemUsing QGIS with a pre-existing installation of Python 3.2 and matching...

Am I not good enough for you?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

RegionDifference for Cylinder and Cuboid

How could a female member of a species produce eggs unto death?

Can hydraulic brake levers get hot when brakes overheat?

How do I hide Chekhov's Gun?

What is IP squat space

Rejected in 4th interview round citing insufficient years of experience

Bash: What does "masking return values" mean?

Calculus II Professor will not accept my correct integral evaluation that uses a different method, should I bring this up further?

How to explain that I do not want to visit a country due to personal safety concern?

Using "wallow" verb with object

Why using two cd commands in bash script does not execute the second command

My adviser wants to be the first author

Have researchers managed to "reverse time"? If so, what does that mean for physics?

Rules about breaking the rules. How do I do it well?

At what level can a dragon innately cast its spells?

Old race car problem/puzzle

Make a transparent 448*448 image

Does the statement `int val = (++i > ++j) ? ++i : ++j;` invoke undefined behavior?

Meaning of "SEVERA INDEOVI VAS" from 3rd Century slab

Is it possible that AIC = BIC?

The use of "touch" and "touch on" in context

Do I need life insurance if I can cover my own funeral costs?



PyQGIS (3.2) and H5PY DLL problem


Using QGIS with a pre-existing installation of Python 3.2 and matching GDALProblem loading PyQGISUnable to use PyQGiS in a custom application - import qgis.core errorCouldn't load SIP module (QGIS doesn't load Python)How to fix python ImportError: DLL load failed: The specified module could not be found?Importing fmeobjects into PyQGISGetting QGIS python modules to work from PyScripter in Windows 10?Python Kivy DLL load failed on Using ArcGIS ArcPyError in Mapnik installation: “%1 is not a valid Win32 application.”PyQGIS (3.4) and PyQt5 DLL error













2















I am working in a project in which I need to use PyQGIS and H5PY. The problem comes when I load qgis library and h5py, for example:



import qgis
import h5py


I get this error:



from ._conv import register_converters as _register_converters
File "h5pyh5r.pxd", line 21, in init h5py._conv
File "h5py_objects.pxd", line 12, in init h5py.h5r
File "h5py_objects.pyx", line 1, in init h5py._objects
ImportError: DLL load failed: No se encontró el proceso especificado.



I am using QGIS 3.2 and H5py 2.8.0 with Python36 interpreter contained in QGIS installation folder. H5py was installed through the command:



python -m pip install h5py 


I tried other versions of H5py (2.6.0, 2.7.1) but I had the same problem.



Is there anyone who knows how to solve this dll interaction problem?










share|improve this question
















bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Maybe this: stackoverflow.com/questions/45046796/…

    – Marc Pfister
    Dec 10 '18 at 15:40











  • As Marc Pfister's link shows, there is an osgeo4w package for that library and it's recommended to install those instead of pip packages. It's name for python3 is python3-h5py, Version: 2.8.0-1 (32 bit, 64bit may differ)

    – Andreas Müller
    Dec 10 '18 at 15:56











  • I tried with OSGEO4w package but a new problem comes up. When I install the version 2.7.0-1 it throws a message saying that the version of the HDF5 library does not match with the version of the library (QGIS). Version 2.8.0-1 comes with Python37 which has some strange behaviour with Qt module (I think it does not find the correct qt.conf file) that I have to solve. Thanks!

    – serge
    Dec 11 '18 at 15:39











  • I have checked with QGIS 3.4 and even loading h5py module from python console inside QGIS 3.4 program the dll problem still persist...

    – serge
    Dec 11 '18 at 16:52
















2















I am working in a project in which I need to use PyQGIS and H5PY. The problem comes when I load qgis library and h5py, for example:



import qgis
import h5py


I get this error:



from ._conv import register_converters as _register_converters
File "h5pyh5r.pxd", line 21, in init h5py._conv
File "h5py_objects.pxd", line 12, in init h5py.h5r
File "h5py_objects.pyx", line 1, in init h5py._objects
ImportError: DLL load failed: No se encontró el proceso especificado.



I am using QGIS 3.2 and H5py 2.8.0 with Python36 interpreter contained in QGIS installation folder. H5py was installed through the command:



python -m pip install h5py 


I tried other versions of H5py (2.6.0, 2.7.1) but I had the same problem.



Is there anyone who knows how to solve this dll interaction problem?










share|improve this question
















bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Maybe this: stackoverflow.com/questions/45046796/…

    – Marc Pfister
    Dec 10 '18 at 15:40











  • As Marc Pfister's link shows, there is an osgeo4w package for that library and it's recommended to install those instead of pip packages. It's name for python3 is python3-h5py, Version: 2.8.0-1 (32 bit, 64bit may differ)

    – Andreas Müller
    Dec 10 '18 at 15:56











  • I tried with OSGEO4w package but a new problem comes up. When I install the version 2.7.0-1 it throws a message saying that the version of the HDF5 library does not match with the version of the library (QGIS). Version 2.8.0-1 comes with Python37 which has some strange behaviour with Qt module (I think it does not find the correct qt.conf file) that I have to solve. Thanks!

    – serge
    Dec 11 '18 at 15:39











  • I have checked with QGIS 3.4 and even loading h5py module from python console inside QGIS 3.4 program the dll problem still persist...

    – serge
    Dec 11 '18 at 16:52














2












2








2








I am working in a project in which I need to use PyQGIS and H5PY. The problem comes when I load qgis library and h5py, for example:



import qgis
import h5py


I get this error:



from ._conv import register_converters as _register_converters
File "h5pyh5r.pxd", line 21, in init h5py._conv
File "h5py_objects.pxd", line 12, in init h5py.h5r
File "h5py_objects.pyx", line 1, in init h5py._objects
ImportError: DLL load failed: No se encontró el proceso especificado.



I am using QGIS 3.2 and H5py 2.8.0 with Python36 interpreter contained in QGIS installation folder. H5py was installed through the command:



python -m pip install h5py 


I tried other versions of H5py (2.6.0, 2.7.1) but I had the same problem.



Is there anyone who knows how to solve this dll interaction problem?










share|improve this question
















I am working in a project in which I need to use PyQGIS and H5PY. The problem comes when I load qgis library and h5py, for example:



import qgis
import h5py


I get this error:



from ._conv import register_converters as _register_converters
File "h5pyh5r.pxd", line 21, in init h5py._conv
File "h5py_objects.pxd", line 12, in init h5py.h5r
File "h5py_objects.pyx", line 1, in init h5py._objects
ImportError: DLL load failed: No se encontró el proceso especificado.



I am using QGIS 3.2 and H5py 2.8.0 with Python36 interpreter contained in QGIS installation folder. H5py was installed through the command:



python -m pip install h5py 


I tried other versions of H5py (2.6.0, 2.7.1) but I had the same problem.



Is there anyone who knows how to solve this dll interaction problem?







python pyqgis hdf5






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 10 '18 at 15:47









Jochen Schwarze

6,55031957




6,55031957










asked Dec 10 '18 at 15:37









sergeserge

161




161





bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Maybe this: stackoverflow.com/questions/45046796/…

    – Marc Pfister
    Dec 10 '18 at 15:40











  • As Marc Pfister's link shows, there is an osgeo4w package for that library and it's recommended to install those instead of pip packages. It's name for python3 is python3-h5py, Version: 2.8.0-1 (32 bit, 64bit may differ)

    – Andreas Müller
    Dec 10 '18 at 15:56











  • I tried with OSGEO4w package but a new problem comes up. When I install the version 2.7.0-1 it throws a message saying that the version of the HDF5 library does not match with the version of the library (QGIS). Version 2.8.0-1 comes with Python37 which has some strange behaviour with Qt module (I think it does not find the correct qt.conf file) that I have to solve. Thanks!

    – serge
    Dec 11 '18 at 15:39











  • I have checked with QGIS 3.4 and even loading h5py module from python console inside QGIS 3.4 program the dll problem still persist...

    – serge
    Dec 11 '18 at 16:52



















  • Maybe this: stackoverflow.com/questions/45046796/…

    – Marc Pfister
    Dec 10 '18 at 15:40











  • As Marc Pfister's link shows, there is an osgeo4w package for that library and it's recommended to install those instead of pip packages. It's name for python3 is python3-h5py, Version: 2.8.0-1 (32 bit, 64bit may differ)

    – Andreas Müller
    Dec 10 '18 at 15:56











  • I tried with OSGEO4w package but a new problem comes up. When I install the version 2.7.0-1 it throws a message saying that the version of the HDF5 library does not match with the version of the library (QGIS). Version 2.8.0-1 comes with Python37 which has some strange behaviour with Qt module (I think it does not find the correct qt.conf file) that I have to solve. Thanks!

    – serge
    Dec 11 '18 at 15:39











  • I have checked with QGIS 3.4 and even loading h5py module from python console inside QGIS 3.4 program the dll problem still persist...

    – serge
    Dec 11 '18 at 16:52

















Maybe this: stackoverflow.com/questions/45046796/…

– Marc Pfister
Dec 10 '18 at 15:40





Maybe this: stackoverflow.com/questions/45046796/…

– Marc Pfister
Dec 10 '18 at 15:40













As Marc Pfister's link shows, there is an osgeo4w package for that library and it's recommended to install those instead of pip packages. It's name for python3 is python3-h5py, Version: 2.8.0-1 (32 bit, 64bit may differ)

– Andreas Müller
Dec 10 '18 at 15:56





As Marc Pfister's link shows, there is an osgeo4w package for that library and it's recommended to install those instead of pip packages. It's name for python3 is python3-h5py, Version: 2.8.0-1 (32 bit, 64bit may differ)

– Andreas Müller
Dec 10 '18 at 15:56













I tried with OSGEO4w package but a new problem comes up. When I install the version 2.7.0-1 it throws a message saying that the version of the HDF5 library does not match with the version of the library (QGIS). Version 2.8.0-1 comes with Python37 which has some strange behaviour with Qt module (I think it does not find the correct qt.conf file) that I have to solve. Thanks!

– serge
Dec 11 '18 at 15:39





I tried with OSGEO4w package but a new problem comes up. When I install the version 2.7.0-1 it throws a message saying that the version of the HDF5 library does not match with the version of the library (QGIS). Version 2.8.0-1 comes with Python37 which has some strange behaviour with Qt module (I think it does not find the correct qt.conf file) that I have to solve. Thanks!

– serge
Dec 11 '18 at 15:39













I have checked with QGIS 3.4 and even loading h5py module from python console inside QGIS 3.4 program the dll problem still persist...

– serge
Dec 11 '18 at 16:52





I have checked with QGIS 3.4 and even loading h5py module from python console inside QGIS 3.4 program the dll problem still persist...

– serge
Dec 11 '18 at 16:52










2 Answers
2






active

oldest

votes


















0














I think your issue is that you don't have HDF5 built on your machine. All that h5py does is it creates a more pythonic API for accessing the compiled libraries on your machine. If you don't have the base libraries (DLLs), it will fail.



Start by uninstalling h5py with python -m pip uninstall h5py and then proceed through the installation/configuration instructions for HDF5 (https://www.hdfgroup.org/downloads/hdf5/). After that, reinstall h5py. Hope that helps!






share|improve this answer































    0














    I had python package gdal installed using OSGeo4W environment. And then I installed h5py using PyCharm (maybe it is important). And realized, that when importing gdal (osgeo, ogr, ...) before importing h5py library, I get the same error as you. But when I import h5py first, no error appears. Don't know why, but maybe it helps someone.



    Well I have tried it also with qgis library and it's the same. So I would try first import h5py library and then qgis:



    import h5py
    import qgis





    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "79"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f305572%2fpyqgis-3-2-and-h5py-dll-problem%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I think your issue is that you don't have HDF5 built on your machine. All that h5py does is it creates a more pythonic API for accessing the compiled libraries on your machine. If you don't have the base libraries (DLLs), it will fail.



      Start by uninstalling h5py with python -m pip uninstall h5py and then proceed through the installation/configuration instructions for HDF5 (https://www.hdfgroup.org/downloads/hdf5/). After that, reinstall h5py. Hope that helps!






      share|improve this answer




























        0














        I think your issue is that you don't have HDF5 built on your machine. All that h5py does is it creates a more pythonic API for accessing the compiled libraries on your machine. If you don't have the base libraries (DLLs), it will fail.



        Start by uninstalling h5py with python -m pip uninstall h5py and then proceed through the installation/configuration instructions for HDF5 (https://www.hdfgroup.org/downloads/hdf5/). After that, reinstall h5py. Hope that helps!






        share|improve this answer


























          0












          0








          0







          I think your issue is that you don't have HDF5 built on your machine. All that h5py does is it creates a more pythonic API for accessing the compiled libraries on your machine. If you don't have the base libraries (DLLs), it will fail.



          Start by uninstalling h5py with python -m pip uninstall h5py and then proceed through the installation/configuration instructions for HDF5 (https://www.hdfgroup.org/downloads/hdf5/). After that, reinstall h5py. Hope that helps!






          share|improve this answer













          I think your issue is that you don't have HDF5 built on your machine. All that h5py does is it creates a more pythonic API for accessing the compiled libraries on your machine. If you don't have the base libraries (DLLs), it will fail.



          Start by uninstalling h5py with python -m pip uninstall h5py and then proceed through the installation/configuration instructions for HDF5 (https://www.hdfgroup.org/downloads/hdf5/). After that, reinstall h5py. Hope that helps!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 10 '18 at 16:00









          Trevor J. SmithTrevor J. Smith

          1,005722




          1,005722

























              0














              I had python package gdal installed using OSGeo4W environment. And then I installed h5py using PyCharm (maybe it is important). And realized, that when importing gdal (osgeo, ogr, ...) before importing h5py library, I get the same error as you. But when I import h5py first, no error appears. Don't know why, but maybe it helps someone.



              Well I have tried it also with qgis library and it's the same. So I would try first import h5py library and then qgis:



              import h5py
              import qgis





              share|improve this answer




























                0














                I had python package gdal installed using OSGeo4W environment. And then I installed h5py using PyCharm (maybe it is important). And realized, that when importing gdal (osgeo, ogr, ...) before importing h5py library, I get the same error as you. But when I import h5py first, no error appears. Don't know why, but maybe it helps someone.



                Well I have tried it also with qgis library and it's the same. So I would try first import h5py library and then qgis:



                import h5py
                import qgis





                share|improve this answer


























                  0












                  0








                  0







                  I had python package gdal installed using OSGeo4W environment. And then I installed h5py using PyCharm (maybe it is important). And realized, that when importing gdal (osgeo, ogr, ...) before importing h5py library, I get the same error as you. But when I import h5py first, no error appears. Don't know why, but maybe it helps someone.



                  Well I have tried it also with qgis library and it's the same. So I would try first import h5py library and then qgis:



                  import h5py
                  import qgis





                  share|improve this answer













                  I had python package gdal installed using OSGeo4W environment. And then I installed h5py using PyCharm (maybe it is important). And realized, that when importing gdal (osgeo, ogr, ...) before importing h5py library, I get the same error as you. But when I import h5py first, no error appears. Don't know why, but maybe it helps someone.



                  Well I have tried it also with qgis library and it's the same. So I would try first import h5py library and then qgis:



                  import h5py
                  import qgis






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 13 at 2:14









                  CzendaZdendaCzendaZdenda

                  355




                  355






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f305572%2fpyqgis-3-2-and-h5py-dll-problem%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Щит и меч (фильм) Содержание Названия серий | Сюжет |...

                      is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

                      Meter-Bus Содержание Параметры шины | Стандартизация |...