[pdal] OSGeo4W64 PDAL 1.5 - Python problems

GUIMMARA, Sébastien (External) sebastien.guimmara.external at airbus.com
Tue May 23 08:37:41 PDT 2017


Thanks, this worked.

The python program executed correctly as well.

Sébastien




Please consider the environment before printing this email message.
________________________________

Ce courriel (incluant ses éventuelles pièces jointes) peut contenir des informations confidentielles et/ou protégées ou dont la diffusion est restreinte. Si vous avez reçu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu à quiconque. Merci d'en avertir immédiatement l'expéditeur et d'effacer ce courriel de votre système. Airbus DS Geo décline toute responsabilité en cas de corruption par virus, d'altération ou de falsification de ce courriel lors de sa transmission par voie électronique.

This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus DS Geo disclaims any and all liability if this email transmission was virus corrupted, altered or falsified.
________________________________

Airbus DS Geo SA (325 089 589 RCS Toulouse) - Siege social: 5, rue des Satellites, 31400 Toulouse, France.


-----Message d'origine-----
De : Howard Butler [mailto:howard at hobu.co]
Envoyé : mardi 23 mai 2017 16:38
À : GUIMMARA, Sébastien (External)
Cc : pdal at lists.osgeo.org
Objet : Re: [pdal] OSGeo4W64 PDAL 1.5 - Python problems


> On May 23, 2017, at 9:05 AM, GUIMMARA, Sébastien (External) <sebastien.guimmara.external at airbus.com> wrote:
>
>
> Hi,
>
> First of all, thanks for releasing PDAL 1.5 through OSGeo4W. That helps a lot.
>
> When using the filters.programmable plugin, I get:
>
> Fatal Python error: Py_Initialize: unable to load the file system codec
>    File “C:\OSGeo4W64\apps\Python27\Lib\encodings\__init__.py”, line 123
>
> It looks like there is a missing environment variable somewhere. I tried setting PYTHONHOME and PYTHONPATH to C:\OSGeo4W64\apps\Python27\Lib, but that didn’t help.
>
> I have Python 3.6 installed via the normal MSI installer, and Python 2.x via OSGeo4W and OSGeo4W64.
>
> $ where python
> C:\OSGeo4W64\bin\python.exe
> C:\Users\sguimmara\AppData\Local\Programs\Python\Python36-32\python.exe
>
> Is there something missing in my setup ?
>
> Does PDAL use/initialize Python in a singular way ?

The PDAL 1.5 on OSGeo4W64 uses the Python3 build that is also included in OSGeo4W64. You will need to enable the py3_env.bat in c:\OSGeo4W64\bin\ in your OSGeo4W Shell.

Even then, things might not work as it hasn't been tested so much. Please report back any success or failure you might have.

Howard



This mail has originated outside your organization, either from an external partner or the Global Internet.
Keep this in mind if you answer this message.




More information about the pdal mailing list