Hi Azadeh - 

If you haven't already, you might try adding gdal to the settings.py file 
in your project like this:

GDAL_LIBRARY_PATH = “C:/OSGeo4W/bin/gdalxxx.dll” 

Make sure this path is correct and points to the actual dll (it could be 
different on your system), and be sure to use forward slashes.

Cheers,

Cyrus


On Wednesday, May 20, 2015 at 7:09:18 AM UTC-7, Azadeh Vafadari wrote:
>
> Hello all,
>
> First, a big congrats to the Arches team for the release of V.3! 
>
> I am trying to download the V.3 and have a problem with ElasticSearch 
> (step 6 in the installation guide) installation.
>
> Below is a copy of the error message I get (last line) after running this 
> command:  (ENV)$ python manage.py packages -o setup_elasticsearch
>
> (ENV) C:\Projects\my_hip_app> python manage.py packages -o 
> setup_elasticsearch
> Traceback (most recent call last):
>   File "manage.py", line 28, in <module>
>     execute_from_command_line(sys.argv)
>   File 
> "C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py", l
> ine 399, in execute_from_command_line
>     utility.execute()
>   File 
> "C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py", l
> ine 392, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py", l
> ine 272, in fetch_command
>     klass = load_command_class(app_name, subcommand)
>   File 
> "C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py", l
> ine 75, in load_command_class
>     module = import_module('%s.management.commands.%s' % (app_name, name))
>   File "C:\Projects\ENV\lib\site-packages\django\utils\importlib.py", line 
> 40, i
> n import_module
>     __import__(name)
>   File 
> "C:\Projects\ENV\lib\site-packages\arches\management\commands\packages.py
> ", line 28, in <module>
>     from arches.app.utils.data_management.resources.importer import 
> ResourceLoad
> er
>   File 
> "C:\Projects\ENV\lib\site-packages\arches\app\utils\data_management\resou
> rces\importer.py", line 20, in <module>
>     from formats.shpfile import ShapeReader
>   File 
> "C:\Projects\ENV\lib\site-packages\arches\app\utils\data_management\resou
> rces\formats\shpfile.py", line 5, in <module>
>     from django.contrib.gis.gdal import DataSource
> ImportError: cannot import name DataSource
>
>
> I appreciate any thoughts/solutions. Sorry that I'm back with questions on 
> the installation again! 
>
> Thanks,
> Azadeh
>
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to