Hi Lindsey, Thank you for the welcoming, I have post in the signing in. About the error, I cannot find the GDAL 3.6.1 anywhere, do I misunderstand something? Because I can only find GDAL 3.2.0 is the latest
Thanks, Hien Nguyen On Wednesday, November 25, 2020 at 3:05:59 PM UTC-5 Lindsey Gant wrote: > Hello Hien, > > Welcome to the Arches Project Forum! We are happy to have you here and are > excited to see that you are beginning your own installation of Arches. If > you could take a moment to sign in on the forum > <https://groups.google.com/g/archesproject/c/K8LGizXh1a0/m/TAIyXMYmwgUJ>, > you can introduce yourself and share a bit about your interest in Arches. > > As for your errors above, no need to worry about the settings_local errors > (first four lines) at the top. Those specific errors will be removed > along with the v5.1.1 update > <https://groups.google.com/g/archesproject/c/lT5pDezM9Dc/m/qIeRPOYCAwAJ> > in the future. > > For your other errors, I would reactivate your virtualenv and make sure > that all your dependencies are installed > <https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies>. > > Can you confirm that your GDAL is at version 3.6.1? If so, you may want to > open your settings.py file and update the path to your GDAL library. Here > are additional instructions in the documentation > <https://arches.readthedocs.io/en/stable/installation/?highlight=gdal#update-settings-local-py> > > about setting up GDAL. > > Feel free to update us on your progress and see if we can get some > additional help from the rest of the community if you continue to run into > these errors. > > Best, > > Lindsey > Getty Conservation Institute, Arches Project > > > > On Monday, November 23, 2020 at 1:06:54 PM UTC-8 [email protected] > wrote: > >> Hi everyone, >> >> I am new to this group. I have followed the instruction on arches >> guildline, but I keep getting errors like this. I do not really understand >> how to work with the ".setting_local". >> >> Really appreciate your help, >> >> Thank you so much >> >> Hien >> >> >> >> (ENV) (base) MacBook-Pro:project hiennguyen$ python manage.py setup_db >> >> No module named 'arches.settings_local' >> >> Error attempting to load settings from relative '.settings_local'. >> Attempting 'arches.settings_local' import >> >> Error attempting to load settings from 'arches.settings_local.py'. >> >> No module named 'arches.settings_local' >> >> Traceback (most recent call last): >> >> File "manage.py", line 30, in <module> >> >> execute_from_command_line(sys.argv) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", >> >> line 381, in execute_from_command_line >> >> utility.execute() >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", >> >> line 357, in execute >> >> django.setup() >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/__init__.py", >> >> line 24, in setup >> >> apps.populate(settings.INSTALLED_APPS) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/apps/registry.py", >> >> line 114, in populate >> >> app_config.import_models() >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/apps/config.py", >> >> line 211, in import_models >> >> self.models_module = import_module(models_module_name) >> >> File >> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", >> >> line 127, in import_module >> >> return _bootstrap._gcd_import(name[level:], package, level) >> >> File "<frozen importlib._bootstrap>", line 1014, in _gcd_import >> >> File "<frozen importlib._bootstrap>", line 991, in _find_and_load >> >> File "<frozen importlib._bootstrap>", line 975, in >> _find_and_load_unlocked >> >> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked >> >> File "<frozen importlib._bootstrap_external>", line 783, in exec_module >> >> File "<frozen importlib._bootstrap>", line 219, in >> _call_with_frames_removed >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/auth/models.py", >> >> line 2, in <module> >> >> from django.contrib.auth.base_user import AbstractBaseUser, >> BaseUserManager >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/auth/base_user.py", >> >> line 47, in <module> >> >> class AbstractBaseUser(models.Model): >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/db/models/base.py", >> >> line 117, in __new__ >> >> new_class.add_to_class('_meta', Options(meta, app_label)) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/db/models/base.py", >> >> line 321, in add_to_class >> >> value.contribute_to_class(cls, name) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/db/models/options.py", >> >> line 204, in contribute_to_class >> >> self.db_table = truncate_name(self.db_table, >> connection.ops.max_name_length()) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/db/__init__.py", >> >> line 28, in __getattr__ >> >> return getattr(connections[DEFAULT_DB_ALIAS], item) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/db/utils.py", >> >> line 201, in __getitem__ >> >> backend = load_backend(db['ENGINE']) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/db/utils.py", >> >> line 110, in load_backend >> >> return import_module('%s.base' % backend_name) >> >> File >> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", >> >> line 127, in import_module >> >> return _bootstrap._gcd_import(name[level:], package, level) >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/db/backends/postgis/base.py", >> >> line 6, in <module> >> >> from .features import DatabaseFeatures >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/db/backends/postgis/features.py", >> >> line 1, in <module> >> >> from django.contrib.gis.db.backends.base.features import >> BaseSpatialFeatures >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/db/backends/base/features.py", >> >> line 3, in <module> >> >> from django.contrib.gis.db.models import aggregates >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/db/models/__init__.py", >> >> line 3, in <module> >> >> import django.contrib.gis.db.models.functions # NOQA >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/db/models/functions.py", >> >> line 4, in <module> >> >> from django.contrib.gis.db.models.fields import BaseSpatialField, >> GeometryField >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/db/models/fields.py", >> >> line 3, in <module> >> >> from django.contrib.gis import forms, gdal >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/forms/__init__.py", >> >> line 3, in <module> >> >> from .fields import ( # NOQA >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/forms/fields.py", >> >> line 2, in <module> >> >> from django.contrib.gis.gdal import GDALException >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/gdal/__init__.py", >> >> line 28, in <module> >> >> from django.contrib.gis.gdal.datasource import DataSource >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/gdal/datasource.py", >> >> line 39, in <module> >> >> from django.contrib.gis.gdal.driver import Driver >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/gdal/driver.py", >> >> line 5, in <module> >> >> from django.contrib.gis.gdal.prototypes import ds as vcapi, raster as >> rcapi >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/gdal/prototypes/ds.py", >> >> line 9, in <module> >> >> from django.contrib.gis.gdal.libgdal import GDAL_VERSION, lgdal >> >> File >> "/Users/hiennguyen/Desktop/elasticsearch-7.4.0/bin/Projects/ENV/lib/python3.8/site-packages/django/contrib/gis/gdal/libgdal.py", >> >> line 40, in <module> >> >> raise ImproperlyConfigured( >> >> django.core.exceptions.ImproperlyConfigured: Could not find the GDAL >> library (tried "gdal", "GDAL", "gdal2.3.0", "gdal2.2.0", "gdal2.1.0", >> "gdal2.0.0", "gdal1.11.0"). Is GDAL installed? If it is, try setting >> GDAL_LIBRARY_PATH in your settings. >> >> >> -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/8f3db819-121a-443f-8a39-1a2b6610848fn%40googlegroups.com.
