On Wednesday, October 3, 2018, heriberto ochoa <herii8a@gmail.com> wrote:
--In the path of Anaconda3 where stay python, or in el path default in case of use the traditional installation of python--
El martes, 2 de octubre de 2018, 13:53:41 (UTC-6), VAIBHAV GUPTA escribió:It is installed automatically at that location. I didn't specified any location.So according to you, where should I install this GDAL?On Wed, Oct 3, 2018 at 12:48 AM heriberto ochoa <her...@gmail.com> wrote:The problem can be with Anaconda3, you installed GDAL in the path of Anaconda3 or in the path de other path of python?, the path of GDAL have all .dll file required--
El martes, 2 de octubre de 2018, 5:26:16 (UTC-6), VAIBHAV GUPTA escribió:Yaa I got the error as what you (Michal Petrucha) stated about that the path of GDAL_LIBRARY_PATH that I had given was of Linux. Now I changed the path (given below) according to the windows OS , still the problem is not resolved.GDAL_LIBRARY_PATH = 'C:\\Users\\gaurav\\Anaconda3\\Lib\\site-packages\\django\\c ontrib\\gis\\gdal' Also I have reinstalled GDAL from https://sandbox.idre.ucla.edu/sandbox/tutorials/install ing-gdal-for-windows and followed all the steps provided in this website, but still the problem is not resolved.Now I have given this path GDAL_LIBRARY_PATH = 'C:\\Program Files\\GDAL\\gdal203.dll' in settings.py .May be that now I have two GDAL libraries, one installed using OSGeo4W installer and the other using the above link and now they are conflicting.On Tue, Oct 2, 2018 at 12:19 PM Michal Petrucha <michal....@koniiiik.org> wrote:-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Mon, Oct 01, 2018 at 03:02:18PM -0700, vaibhav.g...@gla.ac.in wrote:
> I have installed PROJ4, GDAL and GEOS libraries using OSGeo4W installer
> <https://trac.osgeo.org/osgeo4w/ >. But the problem is with GDAL library.
> Earlier there was an error showing :-
> django.core.exceptions.ImproperlyConfigured: Could not find the GDAL
> library (tried "gdal202", "gdal201", "gdal20", "gdal111", "gdal110",
> "gdal19"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in
> your settings.
>
> Then after setting the path using GDAL_LIBRARY_PATH =
> '/home/sue/local/lib/libgdal.so' in settings.py file the error changes to
> what I have stated before which is :-
> OSError: [WinError 126] The specified module could not be found.
If you used '/home/sue/local/lib/libgdal.so', then that would be
incorrect – you write that you're trying to run this on Windows, but
this is a Unix path, so of course Python won't find that file there.
Replace that with the full path to your GDAL DLL, and if you use
backslashes as a directory delimiter, make sure to either use a raw
string literal (r'c:\path\to\my\gdal.dll'), or double-backslashes
('c:\\path\\to\\my\\gdal.dll').
Michal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJbsxTVAAoJEHA7T/IPM/klLA0QANjRJZjywvglG74qJQuj hyK3
F0FkcN6RVXlwZv2XBq21NufpItQ5kWwnPWEFfA0LwCfIIqrwbsQu2Al1r6xa q29U
uq7cgZDNCfvfMrqnG7sVoqddkJN9taIkl0z+KQtaqg1rsfTdNZa6esKBc062 +rCO
HhqrAbHZaUaYkenfvMXp1Qe3GBN6taJ+5banbBoWs1ipeUYK3v+ltLkv8sN4 ipHg
Fcj5FKHv1ldt2pE88JvVwGxcrW6cpngKjElZZTjgTDGokC2v7kptCVkkj3KJ WPNv
VR+OK0FWwsJdF2uZ3eni9v/MNBTCMe1b8m/ZM6tU2aWW3+8EqznMaX82I+ 8RMOtS
dPwvTk5To7DwVhm6tQtaO1+abdf/pZ6X76hWwusGbmbCW/Mn04S66CMM+TgV GhSX
LyQZajgYKq6qyt6C/YkNO1wkGNNY8eaDVSotdRMXd9oDpg9xVwx2jwVuGRMB hsVi
2Oou19GTU9GLfOLAC3pEGU3/724ZfLBWP+dCksHtTLrRqU0u9KhEtbrLUrut fDUG
rdWxpmKMjkwyZ7oZt4kLu+ZTEuu2tYU4G770Vq3Z4Ui1HbBYX0QNIEiwhTXe hx+a
3vNZ0I5M9idu9kfgrPFmthYb69eWi2cZuPbOMoC1lBm0JrVE5v8L4NwEKx0I tp7u
i/QDsOX/rzuTUQyvnOq3
=VilN
-----END PGP SIGNATURE-----
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2018100206485 .4.GZ1181%40koniiiik.org
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dc60d6b1-7fc7 .-44a5-abfe-2dd4909fec61%40goog legroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/db3aec40- .6c9b-4acb-9cc8-2de4f2ef1532% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA0Ai3YMmRjckvOHphuHzaOaUTmKsxU2y8VFh6GTLRd_RODP5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment