[GeoNode-users] GeoNode-Project: migration and createsuperuser
Julierme Pinheiro
juliermeopensourcedeveloper at gmail.com
Wed Aug 1 09:43:54 PDT 2018
Hi Francesco,
Thank you very much for your reply. Yes I do:
geo at gis:~$ gdal-config --version
2.2.1
Kind regards
Julierme
On Wed, Aug 1, 2018 at 1:30 PM, francesco bartoli <xbartolone at gmail.com>
wrote:
> It seems your environment is missing the python binding to the gdal
> library. Do you have GDAL installed on your system?
>
> Il giorno mer 1 ago 2018 alle ore 17:55 Julierme Pinheiro <
> juliermeopensourcedeveloper at gmail.com> ha scritto:
>
>> [1] http://geonode.org/dev-workshop/#/2/3
>>
>> On Wed, Aug 1, 2018 at 12:43 PM, Julierme Pinheiro <
>> juliermeopensourcedeveloper at gmail.com> wrote:
>>
>>> Dear GeoNode Users,
>>>
>>> I am trying to install geonode-project at 2.6.x according to [1].
>>>
>>> When I run python manage.py migrate I hit the following error:
>>>
>>> Traceback (most recent call last):
>>> File "manage.py", line 29, in <module>
>>> execute_from_command_line(sys.argv)
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/core/management/__init__.py", line 354, in
>>> execute_from_command_line
>>> utility.execute()
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/core/management/__init__.py", line 328, in execute
>>> django.setup()
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-packages/django/__init__.py",
>>> line 18, in setup
>>> apps.populate(settings.INSTALLED_APPS)
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/apps/registry.py", line 108, in populate
>>> app_config.import_models(all_models)
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/apps/config.py", line 198, in import_models
>>> self.models_module = import_module(models_module_name)
>>> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
>>> import_module
>>> __import__(name)
>>> File "/home/sipam_geonode/geonode/geonode/base/models.py", line 56,
>>> in <module>
>>> from geonode.utils import bbox_to_wkt
>>> File "/home/sipam_geonode/geonode/geonode/utils.py", line 30, in
>>> <module>
>>> from osgeo import ogr
>>> ImportError: No module named osgeo
>>>
>>> Also when I run python manage.py createsuperuser
>>>
>>> Traceback (most recent call last):
>>> File "manage.py", line 29, in <module>
>>> execute_from_command_line(sys.argv)
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/core/management/__init__.py", line 354, in
>>> execute_from_command_line
>>> utility.execute()
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/core/management/__init__.py", line 328, in execute
>>> django.setup()
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-packages/django/__init__.py",
>>> line 18, in setup
>>> apps.populate(settings.INSTALLED_APPS)
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/apps/registry.py", line 108, in populate
>>> app_config.import_models(all_models)
>>> File "/home/geo/Envs/sipam_geonode/local/lib/python2.7/site-
>>> packages/django/apps/config.py", line 198, in import_models
>>> self.models_module = import_module(models_module_name)
>>> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
>>> import_module
>>> __import__(name)
>>> File "/home/sipam_geonode/geonode/geonode/base/models.py", line 56,
>>> in <module>
>>> from geonode.utils import bbox_to_wkt
>>> File "/home/sipam_geonode/geonode/geonode/utils.py", line 30, in
>>> <module>
>>> from osgeo import ogr
>>> ImportError: No module named osgeo
>>>
>>> Does anyone has faced this problem before, and could share some hints?
>>>
>>> Thank you for your time in advance
>>>
>>> Best Regards
>>>
>>> Julierme
>>>
>>>
>>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180801/90c5c10e/attachment.html>
More information about the geonode-users
mailing list