Changes between Initial Version and Version 1 of Ticket #30933, comment 2


Ignore:
Timestamp:
Oct 31, 2019, 7:17:53 AM (5 years ago)
Author:
Nick Pope

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30933, comment 2

    initial v1  
    1010According to the documentation, we will also need the latest version of psycopg2 from http://www.stickpeople.com/projects/python/win-psycopg/. Unfortunately that page no longer seems to work for me and times out. The Internet Archive Wayback Machine gives [http://web.archive.org/web/20190326183249/http://www.stickpeople.com/projects/python/win-psycopg/index.html this version] of the page, but the latest version there is only built for Python 3.6 and is psycopg2 2.6.2 when 2.8.4 is available. ''I would suggest that this documentation is updated to point to https://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg or, better yet, recommend installing [https://pypi.org/project/psycopg2-binary/#files psycopg2-binary from PyPI] which wasn't available when this was written."
    1111
    12 Next we come to !OSGeo4W. The instructions point us to https://trac.osgeo.org/osgeo4w/ and using the 64-bit link we get an installer. I note the following restrictions under the "Notes" heading:
     12Next we come to OSGeo4W. The instructions point us to https://trac.osgeo.org/osgeo4w/ and using the 64-bit link we get an installer. I note the following restrictions under the "Notes" heading:
    1313- "32bit/64bit don't contain the same set of packages/versions ​(compare) (purple is 32 bit only)"
    1414- "Don't blindly do a full install in Advanced mode. Some components require third party additions that need to be installed manually (see the wiki page of the package). Without the additions the components might renderer the installation unuseable."
     
    2121- http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe
    2222
    23 For !OSGeo4W I presume that you are using "Express Install" as instructed and not "Advanced mode". I don't know if that could cause any problems. There is also a problem that you have stumbled into that !OSGeo4W installs a newer version of GDAL than Django 2.2 officially supports. This does make me wonder whether we'd be better off documenting installation of the actual dependencies of !GeoDjango - that is GDAL, GEOS and Proj - although some of those just point back to !OSGeo4W :(
     23For OSGeo4W I presume that you are using "Express Install" as instructed and not "Advanced mode". I don't know if that could cause any problems. There is also a problem that you have stumbled into that OSGeo4W installs a newer version of GDAL than Django 2.2 officially supports. This does make me wonder whether we'd be better off documenting installation of the actual dependencies of !GeoDjango - that is GDAL, GEOS and Proj - although some of those just point back to OSGeo4W :(
    2424
    2525We may also be bumping into issues with some packages compiled with MSVC and others with MinGW64. Do you have a specific error message or traceback, by the way?
Back to Top