Re: someone to help in this please

2020-06-18 Thread Peter Kirieny
thanks again  Richard, this helped a lot

On Wed, 17 Jun 2020 at 16:07, Richard Balwane 
wrote:

> -> Do a .whl installation - In the environment!
> Download  "GDAL-3.0.4-cp37-cp37m-win_amd64.whl", if using Python 3.7 on
> Windows 64-bit
> Say...
> Command(env activated, path to the file):
> python.exe -m pip install
> "C:\\Users\\Mossad\\Downloads\\GDAL-3.0.4-cp37-cp37m-win_amd64.whl"
>
>  ->  Include 'gdal300'  in
> env\Lib\site-packages\django\contrib\gis\gdal\libgdal.py file for this
> GDAL-3.0.4 .whl installation
> (There is a list of these .dlls for nt users)
>   Set:
> 1. GDAL_LIBRARY_PATH in settings.py:
>   import os
>   GDAL_LIBRARY_PATH = os.path.join(
> PROJECT_DIR, r"env\\Lib\\site-packages\\osgeo\\gdal300.dll"
> )
>
> 2.  GDAL_DRIVER_PATH = os.path.join(
> PROJECT_DIR,
> r"env\\Lib\site-packages\\osgeo\\gdalplugins\\ogr_FileGDB.dll"
> )
>
> And, you are good to go.
>
> Praise be to The Almighty God.
>
>
>
> *Richard Dick Balwane*
>
> *Mobiles:+256 755 442248, *
>
> *+256 781 493558.*
> *Twiter:   @RBalwane*
> *WhatsApp:   **+256 755 442248*
>
>
> *Balwane Holding Inc.*
>
>
>
>
> On Tue, 16 Jun 2020 at 18:11, Peter Kirieny 
> wrote:
>
>> am using Geodjango with postgresql db and i get this error while trying
>> to run the server;
>> raise ImproperlyConfigured(
>> django.core.exceptions.ImproperlyConfigured: Could not find the GDAL
>> library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is
>> GDAL installed? If it i
>> s, try setting GDAL_LIBRARY_PATH in your settings.
>>
>> the libraries are installed just don't know  how to set the paths
>> 'am new in programming'
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8erQZ0bzt%2BHN%2BVpXX-UBnptGNujz%2Bts9T3pVnth-8ehH4Q%40mail.gmail.com.


Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
fortunately am in windows, once again thanks
I'll let you know the proceeds

On Wed, 17 Jun 2020 at 15:23, Kasper Laudrup  wrote:

> Hi Peter,
>
> On 17/06/2020 14.04, Peter Kirieny wrote:
> > yea, I installed it with OSGEO4W
> >
>
> So I assume you are on Windows?
>
> It would have been quite useful if you had written that in your initial
> question.
>
> I'm not very experienced on that platform, but the installer you used
> has most likely installed a library somewhere, I assume in "Program
> Files" or whatever it's called on Windows these days.
>
> Try to figure out where the installer put the GDAL library which is
> probably a file ending with either ".lib" or ".dll" and set your
> GDAL_LIBRARY_PATH to that folder in your settings.
>
> Hope that helps.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f68cf720-4fe2-cf15-687b-0ecda634b41f%40stacktrace.dk
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8eqQj95TcjFiwBGKmCqz1UJWCdwTOuseoyEZsSXzhNUESw%40mail.gmail.com.


Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
Thanks to all, let me try and hope you won't mind me coming back in case of
anything
'AM NEW'

On Wed, 17 Jun 2020 at 16:07, Richard Balwane 
wrote:

> -> Do a .whl installation - In the environment!
> Download  "GDAL-3.0.4-cp37-cp37m-win_amd64.whl", if using Python 3.7 on
> Windows 64-bit
> Say...
> Command(env activated, path to the file):
> python.exe -m pip install
> "C:\\Users\\Mossad\\Downloads\\GDAL-3.0.4-cp37-cp37m-win_amd64.whl"
>
>  ->  Include 'gdal300'  in
> env\Lib\site-packages\django\contrib\gis\gdal\libgdal.py file for this
> GDAL-3.0.4 .whl installation
> (There is a list of these .dlls for nt users)
>   Set:
> 1. GDAL_LIBRARY_PATH in settings.py:
>   import os
>   GDAL_LIBRARY_PATH = os.path.join(
> PROJECT_DIR, r"env\\Lib\\site-packages\\osgeo\\gdal300.dll"
> )
>
> 2.  GDAL_DRIVER_PATH = os.path.join(
> PROJECT_DIR,
> r"env\\Lib\site-packages\\osgeo\\gdalplugins\\ogr_FileGDB.dll"
> )
>
> And, you are good to go.
>
> Praise be to The Almighty God.
>
>
>
> *Richard Dick Balwane*
>
> *Mobiles:+256 755 442248, *
>
> *+256 781 493558.*
> *Twiter:   @RBalwane*
> *WhatsApp:   **+256 755 442248*
>
>
> *Balwane Holding Inc.*
>
>
>
>
> On Tue, 16 Jun 2020 at 18:11, Peter Kirieny 
> wrote:
>
>> am using Geodjango with postgresql db and i get this error while trying
>> to run the server;
>> raise ImproperlyConfigured(
>> django.core.exceptions.ImproperlyConfigured: Could not find the GDAL
>> library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is
>> GDAL installed? If it i
>> s, try setting GDAL_LIBRARY_PATH in your settings.
>>
>> the libraries are installed just don't know  how to set the paths
>> 'am new in programming'
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8epdQ%3Dv0DSX5z%2BNeovrpQ3gb-uy3uhYTOCGt7FLRfyOZRw%40mail.gmail.com.


Re: someone to help in this please

2020-06-17 Thread Richard Balwane
-> Do a .whl installation - In the environment!
Download  "GDAL-3.0.4-cp37-cp37m-win_amd64.whl", if using Python 3.7 on
Windows 64-bit
Say...
Command(env activated, path to the file):
python.exe -m pip install
"C:\\Users\\Mossad\\Downloads\\GDAL-3.0.4-cp37-cp37m-win_amd64.whl"

 ->  Include 'gdal300'  in
env\Lib\site-packages\django\contrib\gis\gdal\libgdal.py file for this
GDAL-3.0.4 .whl installation
(There is a list of these .dlls for nt users)
  Set:
1. GDAL_LIBRARY_PATH in settings.py:
  import os
  GDAL_LIBRARY_PATH = os.path.join(
PROJECT_DIR, r"env\\Lib\\site-packages\\osgeo\\gdal300.dll"
)

2.  GDAL_DRIVER_PATH = os.path.join(
PROJECT_DIR,
r"env\\Lib\site-packages\\osgeo\\gdalplugins\\ogr_FileGDB.dll"
)

And, you are good to go.

Praise be to The Almighty God.



*Richard Dick Balwane*

*Mobiles:+256 755 442248, *

*+256 781 493558.*
*Twiter:   @RBalwane*
*WhatsApp:   **+256 755 442248*


*Balwane Holding Inc.*




On Tue, 16 Jun 2020 at 18:11, Peter Kirieny  wrote:

> am using Geodjango with postgresql db and i get this error while trying to
> run the server;
> raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured: Could not find the GDAL
> library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is
> GDAL installed? If it i
> s, try setting GDAL_LIBRARY_PATH in your settings.
>
> the libraries are installed just don't know  how to set the paths
> 'am new in programming'
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.com.


Re: someone to help in this please

2020-06-17 Thread Kasper Laudrup

Hi Peter,

On 17/06/2020 14.04, Peter Kirieny wrote:

yea, I installed it with OSGEO4W



So I assume you are on Windows?

It would have been quite useful if you had written that in your initial 
question.


I'm not very experienced on that platform, but the installer you used 
has most likely installed a library somewhere, I assume in "Program 
Files" or whatever it's called on Windows these days.


Try to figure out where the installer put the GDAL library which is 
probably a file ending with either ".lib" or ".dll" and set your 
GDAL_LIBRARY_PATH to that folder in your settings.


Hope that helps.

Kind regards,

Kasper Laudrup

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f68cf720-4fe2-cf15-687b-0ecda634b41f%40stacktrace.dk.


Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
yea, I installed it with OSGEO4W

On Tue, 16 Jun 2020 at 18:14, Budi Hermansyah 
wrote:

> Did you already install gdal n friends?
>
>
> https://docs.djangoproject.com/en/3.0/ref/contrib/gis/install/geolibs/
>
>
>
> On Tue, 16 Jun 2020 at 22.12 Peter Kirieny  wrote:
>
>> am using Geodjango with postgresql db and i get this error while trying
>> to run the server;
>> raise ImproperlyConfigured(
>> django.core.exceptions.ImproperlyConfigured: Could not find the GDAL
>> library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is
>> GDAL installed? If it i
>> s, try setting GDAL_LIBRARY_PATH in your settings.
>>
>> the libraries are installed just don't know  how to set the paths
>> 'am new in programming'
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHGmjWWFFha3%3DqU_%2BYf60Vvz5bhuCA6G9-raXasbA89GSB_Yyw%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8eoWwwtWC%3DHk9b1JNy%3D8ODxUwmx7TLfxDL%3Dc81TxxFyOeQ%40mail.gmail.com.


Re: someone to help in this please

2020-06-16 Thread Budi Hermansyah
Did you already install gdal n friends?


https://docs.djangoproject.com/en/3.0/ref/contrib/gis/install/geolibs/



On Tue, 16 Jun 2020 at 22.12 Peter Kirieny  wrote:

> am using Geodjango with postgresql db and i get this error while trying to
> run the server;
> raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured: Could not find the GDAL
> library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is
> GDAL installed? If it i
> s, try setting GDAL_LIBRARY_PATH in your settings.
>
> the libraries are installed just don't know  how to set the paths
> 'am new in programming'
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHGmjWWFFha3%3DqU_%2BYf60Vvz5bhuCA6G9-raXasbA89GSB_Yyw%40mail.gmail.com.