[pdal] PDAL install
Samantha Lee
slee63 at ncsu.edu
Fri Apr 24 08:28:49 PDT 2020
Thank you, Mike, Howard and Adam for all your help.
I will explain more the complexity that went on with all the softwares
involved: Anaconda comes with 2, one with Python 2.7, and one with Python
3.7. I used to use Anaconda with Python2, and then with the addition of
Python3, I tried to create virtual env for both with the Anaconda.
Researched and tried various methods, but none works with the Anaconda
setup. But ArcGIS still uses python2.7 so I uninstall Anaconda with
Python2. REinstall ArcGIS which imports Python2 in the backdrop. I
reinstall Anaconda with 3.7. To upgrade to Python3.8 via conda, need to
upgrade conda, then use it to import 3.8. Processed but nothing happen.
REad others with similar issues. Uninstall Anaconda and install Python3.8
on its own. Everything works fine. Now I'm using GRASS GIS for project. Can
use ArcGIS but GRASS is efficient for Lidar processing but its libLAS that
it bases on doesn't support minor version higher than 1.2 and the LAS file
I import for project has minor version greater than that. Read two tools
that can help: LAStools and PDAL. Know one PDAL module can be run in GRASS,
but PDAL cannot be imported using pip, just conda.
I look at Adam's Anaconda link, if you look at the files section, you
cannot find a windows python3.8 edition. I understand Mike's way of
importing PDAL over Python3, but Python doesn't come with conda installed
and I am back to square one. Here's what I will do rather than poke around
as this is getting way too long: I will uninstall python3.8 and reinstall
Anaconda. Once the project is over, I can research and reconfigure.
I completely understand why PDAL has to install over conda base off Adam's
email. This conversation provides great insight and I thank you for your
time.
Have a great day!
On Fri, Apr 24, 2020 at 9:32 AM Howard Butler <howard at hobu.co> wrote:
> A few additional points:
>
> * If you don't need Anaconda, use the Miniconda installer.
> * ArcGIS has a Conda environment that can be used
> * Adam's advice is spot-on. Create new environments for different
> activities or projects and don't use pip unless you have to.
>
> If PDAL can only be installed with conda, and there's no alternative, then
> I will uninstall Python3.8 and try conda all over again.
>
>
> There are plenty of alternatives, it's just that they're all likely to be
> much harder than installing and using PDAL via Conda, especially on Windows.
>
>
> On Apr 24, 2020, at 8:18 AM, Michael Smith <michael.smith.erdc at gmail.com>
> wrote:
>
> Samantha,
>
> Conda is just one method. But you can install pdal under python 3.8 on
> conda
>
>
> conda create –name pdal3.8
>
> conda config --add channels conda-forge
> conda install python=3.8 pdal -y
>
>
>
> Each conda environment is separate so you can have python3.7 or 3.8 or
> whatever environment.
>
>
>
> Mike
>
>
>
> --
> Michael Smith
> US Army Corps of Engineers
> Remote Sensing/GIS Center
>
>
>
>
> *From: *pdal <pdal-bounces at lists.osgeo.org> on behalf of Samantha Lee <
> slee63 at ncsu.edu>
> *Date: *Friday, April 24, 2020 at 8:54 AM
> *To: *adam steer <adam.d.steer at gmail.com>
> *Cc: *pdal <pdal at lists.osgeo.org>
> *Subject: *Re: [pdal] PDAL install
>
> Yes, it is there. One can use it, it processes but Python is not updated.
> If you check the github or overstack on conda and Python 3.8.2, there are
> others with issues as well.
> If PDAL can only be installed with conda, and there's no alternative, then
> I will uninstall Python3.8 and try conda all over again.
> It's just that I'm in a time crunch for my project and I'm really trying
> to get these installs issues over with.
> Thanks for hearing me out.
>
> Samantha
>
> On Fri, Apr 24, 2020 at 6:26 AM adam steer <adam.d.steer at gmail.com> wrote:
>
> Hi Samantha
>
> …it seems odd that there would be issues with py3.8.2 and conda. It’s
> there as a package: https://anaconda.org/anaconda/python
>
> Using virtual environments is really key to managing python on machines
> you want to do more than one thing with (for example your laptop/desktop
> machine).
>
> If you’re in a conda virtual environment, try really hard to avoid using
> pip.
>
> There’s a few extra words about PDAL installation with conda here:
> https://pdal.io/workshop/conda.html#
> <https://pdal.io/workshop/conda.html#what-is-conda>
>
> Hope that helps,
>
> Adam
>
>
>
>
> On Fri, 24 Apr 2020 at 19:25, Samantha Lee <slee63 at ncsu.edu> wrote:
>
> I am new to this.
> I have a project where I need to use PDAL.
> However, PDAL website states that the only way to install PDAL in Windows
> is through Conda. I have Python 3.8.2 installed without using Anaconda. I
> can't install conda using pip install and I don't want to use Anaconda as
> it doesn't come with Python 3.8 and upgrading to that version using conda
> has issues.
> I cannot install PDAL using pip install either.
> I am using Windows 10 and am wondering if there are other ways to resolve
> the install?
>
> Thanks in advance for your help.
>
> Samantha
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
>
>
> --
> Dr. Adam Steer
> http://spatialised.net
> https://www.researchgate.net/profile/Adam_Steer
> http://au.linkedin.com/in/adamsteer
> http://orcid.org/0000-0003-0046-7236
> +61 427 091 712 :: @adamdsteer
>
> Suits are bad for business: http://www.spatialised.net/business-penguins/
>
> _______________________________________________ pdal mailing list
> pdal at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/pdal
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20200424/4b44f0a3/attachment-0001.html>
More information about the pdal
mailing list