[Qgis-user] Issue with pyproj import_datadir in 3.4.15

Paul Wittle paul.wittle at dorsetcouncil.gov.uk
Wed Feb 26 03:25:08 PST 2020


Hi,



I'm trying to upgrade our QGIS deployment from 3.4.7 to 3.4.15 and I'm now getting the following error:

from pyproj import _datadir

Traceback (most recent call last):

  File "C:\programs\QGIS_3\apps\Python37\lib\code.py", line 90, in runcode

    exec(code, self.locals)

  File "<input>", line 1, in <module>

  File "C:/programs/QGIS_3/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import

    mod = _builtin_import(name, globals, locals, fromlist, level)

  File "C:\programs\QGIS_3\apps\Python37\lib\site-packages\pyproj\__init__.py", line 70, in <module>

    from pyproj import _datadir

  File "C:/programs/QGIS_3/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import

    mod = _builtin_import(name, globals, locals, fromlist, level)

ImportError: DLL load failed: The specified module could not be found.



I accept that this error is being caused by the stack trace of my own plugin but I'm a bit stuck for ideas now. My plugin is importing the WFS libraries from OWSLib and that is then issuing the statement above which then fails.



Has anyone else encountered this issue and if so are there any suggestions on how to fix the issue or alternatively which support group to email about it (I know it might be the OWSLib project)?



So far I've re-installed it multiple times with differing libraries selected in the OWS installer and I've tried https://support.microsoft.com/en-au/help/2977003/the-latest-supported-visual-c-downloads which I found referenced somewhere.



I don't seem to be getting the issue on my 32 bit installation but then for course it was a separate install download so I'm not 100% certain why that one works and this one doesn't.



Any help or pointers would be apricated,


Paul Wittle
[cid:image001.jpg at 01D5EC97.6526DC00]<https://www.dorsetcouncil.gov.uk/>
Business Solutions Analyst (GIS)
ICT Operations
Dorset Council
01305 228473 <tel:01305%20228473%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20>
dorsetcouncil.gov.uk<https://www.dorsetcouncil.gov.uk>

[cid:image002.png at 01D5EC97.6526DC00]<https://www.facebook.com/DorsetCouncilUK>
[cid:image003.png at 01D5EC97.6526DC00]<https://instagram.com/DorsetCouncilUK>
[cid:image004.png at 01D5EC97.6526DC00]<https://twitter.com/DorsetCouncilUK>

This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. It may contain unclassified but sensitive or protectively marked material and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All traffic may be subject to recording and/or monitoring in accordance with relevant legislation. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Dorset Council. Dorset Council does not accept service of documents by fax or other electronic means. Virus checking: Whilst all reasonable steps have been taken to ensure that this electronic communication and its attachments whether encoded, encrypted or otherwise supplied are free from computer viruses, Dorset Council accepts no liability in respect of any loss, cost, damage or expense suffered as a result of accessing this message or any of its attachments. For information on how Dorset Council processes your information, please see www.dorsetcouncil.gov.uk/416433
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200226/47174e10/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4662 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200226/47174e10/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 2052 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200226/47174e10/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 4482 bytes
Desc: image003.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200226/47174e10/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1954 bytes
Desc: image004.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200226/47174e10/attachment-0005.png>


More information about the Qgis-user mailing list