<div dir="ltr">Chris, you need to use pip. Im not sure how the virtualenvironment is setup. Alessio, can you give us some insight here?<div><br></div><div><a href="https://pip.pypa.io/en/stable/user_guide/#installing-from-wheels">https://pip.pypa.io/en/stable/user_guide/#installing-from-wheels</a> (on windows you need to use the command prompt)<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 5, 2016 at 9:19 PM, Franklin, Chris <span dir="ltr"><<a href="mailto:CFranklin@anglogoldashanti.com" target="_blank">CFranklin@anglogoldashanti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-AU" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks dan,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Have been trying to see how I can install the .whl file but can’t find any info on it, can someone out there help?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Chris Franklin<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">GIS and Database Co-ordinator<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Exploration Australia
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><img width="185" height="82" style="width:1.927in;min-height:.8541in" src="cid:image001.jpg@01D20838.E2195EF0"></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Tel: <a href="tel:%2B61%2008%209425%204719" value="+61894254719" target="_blank">+61 08 9425 4719</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Mob: +61 04 4818 2351<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Fax: <a href="tel:%2B61%2008%209425%204650" value="+61894254650" target="_blank">+61 08 9425 4650</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Email:
</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#0d0d0d"><a href="http://cfranklin@anglogoldashanti.com" target="_blank"><span style="color:#0563c1">cfranklin@anglogoldashanti.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.0pt;font-family:"Arial",sans-serif;color:green">Consider the environment. Think before you print.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Daniel Berry [mailto:<a href="mailto:dberry@boundlessgeo.com" target="_blank">dberry@boundlessgeo.<wbr>com</a>]
<br>
<b>Sent:</b> Wednesday, 31 August 2016 8:29 PM<br>
<b>To:</b> Franklin, Chris <CFranklin@AngloGoldAshanti.<wbr>com><br>
<b>Cc:</b> Jeffrey Johnson <<a href="mailto:ortelius@gmail.com" target="_blank">ortelius@gmail.com</a>>; <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-users] LDAP on windows<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Chris,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">It looks like for windows you could use one of these wheel files to install python-ldap. Just match the wheel to your OS.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap" target="_blank">http://www.lfd.uci.edu/~<wbr>gohlke/pythonlibs/#python-ldap</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">These have already been pre built and include the `.pyd` file, which is a `.dll` file - <a href="https://docs.python.org/3/faq/windows.html#is-a-pyd-file-the-same-as-a-dll" target="_blank">https://docs.python.org/3/<wbr>faq/windows.html#is-a-pyd-<wbr>file-the-same-as-a-dll</a>.
This should alleviate you having to install devel libs and compile the source from pypi using pip.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Good luck!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Dan<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Aug 31, 2016 at 1:57 AM, Franklin, Chris <<a href="mailto:CFranklin@anglogoldashanti.com" target="_blank">CFranklin@anglogoldashanti.<wbr>com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ok I added this to my local setting file :</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">import ldap</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">from django_auth_ldap.config import LDAPSearch</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">AUTHENTICATION_BACKENDS = (</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> 'django_auth_ldap.backend.<wbr>LDAPBackend',</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> 'django.contrib.auth.backends.<wbr>ModelBackend',</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> 'guardian.backends.<wbr>ObjectPermissionBackend',</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">AUTH_LDAP_SERVER_URI = ‘ldap://ag.ad.local'
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">LDAP_SEARCH_DN = 'OU=AUSTRALIA,OU=AUSTRALASIA,<wbr>DC=ag,DC=ad,DC=local'
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">AUTH_LDAP_USER = '(uid=%(user)s)'</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">AUTH_LDAP_BIND_DN = '{ADD_BIND_DN_IF_REQUIRED}'</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">AUTH_LDAP_BIND_PASSWORD = '{ADD_BIND_PASSWORD_IF_<wbr>REQUIRED}'</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">AUTH_LDAP_USER_ATTR_MAP = {</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> 'first_name': 'givenName', 'last_name': 'sn', 'email': 'mail',</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">}</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">AUTH_LDAP_USER_SEARCH = LDAPSearch(LDAP_SEARCH_DN,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> <wbr> ldap.SCOPE_SUBTREE, AUTH_LDAP_USER)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">But was unsure on installing the ldap devel lib – who do I do that on windows?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="http://docs.geonode.org/en/master/tutorials/admin/ldap/" target="_blank">http://docs.geonode.org/en/<wbr>master/tutorials/admin/ldap/</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Cheers</span><u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Chris Franklin</span></b><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">GIS and Database Co-ordinator</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Exploration Australia
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><img border="0" width="185" height="82" style="width:1.927in;min-height:.8541in" src="cid:image004.jpg@01D20838.E2134470"></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Tel:
<a href="tel:%2B61%2008%209425%204719" target="_blank">+61 08 9425 4719</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Fax:
<a href="tel:%2B61%2008%209425%204650" target="_blank">+61 08 9425 4650</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Email:
</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#0d0d0d"><a href="mailto:cfranklin@anglogoldashanti.com" target="_blank">cfranklin@anglogoldashanti.com</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:green">Consider the environment. Think before you print.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Jeffrey
Johnson [mailto:<a href="mailto:ortelius@gmail.com" target="_blank">ortelius@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, 25 August 2016 2:24 PM<br>
<b>To:</b> Franklin, Chris<br>
<b>Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [GeoNode-users] LDAP on windows</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">I dont think there should be any difference in how it works on windows. Let us know how it goes.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Thu, Aug 25, 2016 at 6:45 AM, Franklin, Chris <<a href="mailto:CFranklin@anglogoldashanti.com" target="_blank">CFranklin@anglogoldashanti.<wbr>com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Im looking to link my Geonode 2.4 windows into the corp LDAP, is this possible in windows?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><a href="http://docs.geonode.org/en/master/tutorials/admin/ldap/index.html" target="_blank">http://docs.geonode.org/en/<wbr>master/tutorials/admin/ldap/<wbr>index.html</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Regards<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-ZA" style="font-family:"Arial",sans-serif">Chris Franklin</span></b><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-family:"Arial",sans-serif">GIS and Database Co-ordinator</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-family:"Arial",sans-serif">Exploration Australia
</span><u></u><u></u></p>
<p class="MsoNormal"><img border="0" width="185" height="82" style="width:1.927in;min-height:.8541in" src="cid:image005.jpg@01D20838.E2134470"><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif">Tel:
<a href="tel:%2B61%2008%209425%204719" target="_blank">+61 08 9425 4719</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif">Fax:
<a href="tel:%2B61%2008%209425%204650" target="_blank">+61 08 9425 4650</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Arial",sans-serif">Email:
</span><span style="font-family:"Arial",sans-serif;color:#0d0d0d"><a href="mailto:cfranklin@anglogoldashanti.com" target="_blank">cfranklin@anglogoldashanti.com</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-ZA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:green">Consider the environment. Think before you print.</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">This email, and its attachments, is subject to important warnings and disclaimers which are legally incorporated into this email in terms of Section 11(3) of the South African Electronic
Communications and Transactions Act, 25 of 2002. The full text of the warnings and disclaimers, together with the company details and directors is available by clicking on
<a href="http://www.anglogoldashanti.com/en/Pages/legal.aspx" target="_blank">http://www.anglogoldashanti.<wbr>com/en/Pages/legal.aspx</a>
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">This email, and its attachments, is subject to important warnings and disclaimers which are legally incorporated into this email in terms of Section 11(3) of the South African Electronic Communications and Transactions Act, 25 of 2002.
The full text of the warnings and disclaimers, together with the company details and directors is available by clicking on
<a href="http://www.anglogoldashanti.com/en/Pages/legal.aspx" target="_blank">http://www.anglogoldashanti.<wbr>com/en/Pages/legal.aspx</a>
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-family:"Tahoma",sans-serif">Daniel Berry</span></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">Senior Software Engineer | Boundless</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:dberry@boundlessgeo.com" target="_blank"><span style="font-family:"Tahoma",sans-serif">dberry</span><span style="font-family:"Tahoma",sans-serif;color:#1155cc">@boundlessgeo.com</span></a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif"><a href="tel:512-468-3946" value="+15124683946" target="_blank">512-468-3946</a> (cell)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma",sans-serif">@boundlessgeo</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt"><br>
</span><img border="0" src="https://docs.google.com/a/boundlessgeo.com/uc?id=0B_qVH4CJ8mXOa3E1YUNySzN2d00&export=download"><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
This email, and its attachments, is subject to important warnings and disclaimers which are legally incorporated into this email in terms of Section 11(3) of the South African Electronic Communications and Transactions Act, 25 of 2002. The full text of the warnings and disclaimers, together with the company details and directors is available by clicking on <a href="http://www.anglogoldashanti.com/en/Pages/legal.aspx" target="_blank">http://www.anglogoldashanti.<wbr>com/en/Pages/legal.aspx</a>
</div>
</blockquote></div><br></div>