<div dir="ltr">Is Jupyter installed in the same environment?</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, May 13, 2025 at 3:35 PM Kenneth Jacob via pdal <<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><div dir="ltr"><div><blockquote type="cite"><div style="line-height:1.5"><div style="line-height:1.5"><div style="line-height:1.5"><div dir="ltr" style="line-height:1.5"><b>I'm a newbie to PDAL...</b></div><div dir="ltr" style="line-height:1.5"><b><br clear="none"></b></div><div dir="ltr" style="line-height:1.5"><b>My environment:</b></div><div dir="ltr" style="line-height:1.5">MacOS Sequoia 15.41</div><div dir="ltr" style="line-height:1.5">Running Anaconda and Jupyter Notebook</div><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5"><b>Question:</b></div><div dir="ltr" style="line-height:1.5">I've been successful getting PDAL up and running through the Terminal App.</div><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">But now I'd like to run PDAL commands if possible from a Jupyter notebook.<br clear="none"></div><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">Running the following command from Jupyter produces the expected output:</div><blockquote style="margin-left:40px;padding:0px;border-width:medium;border-style:none;border-color:currentcolor"><div dir="ltr" style="line-height:1.5"><div style="line-height:1.5"><div style="line-height:1.5">conda create --yes --name PDALenv --channel conda-forge python-pdal</div></div></div></blockquote><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">However, when I follow this with the command to activate the area I created with this command:</div><blockquote style="margin-left:40px;padding:0px;border-width:medium;border-style:none;border-color:currentcolor"><div dir="ltr" style="line-height:1.5"><div style="line-height:1.5"><div style="line-height:1.5">conda activate PDALenv</div></div></div></blockquote><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">I get following error from Jupyter:</div><blockquote style="margin-left:40px;padding:0px;border-width:medium;border-style:none;border-color:currentcolor"><div dir="ltr" style="line-height:1.5"><div style="line-height:1.5"><div style="line-height:1.5">CondaError: Run 'conda init' before 'conda activate'</div></div></div></blockquote><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">I can run the suggested command of 'conda init' and get expected output.<br clear="none"></div><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">But if I re-try to run 'conda activate PDALenv' I get the same error.</div><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">Any thoughts about how I might work through this?</div><div dir="ltr" style="line-height:1.5"><div style="line-height:1.5"><div style="line-height:1.5"><br clear="none"></div></div><div dir="ltr" style="line-height:1.5">Sincerely,</div><div dir="ltr" style="line-height:1.5"><br clear="none"></div><div dir="ltr" style="line-height:1.5">Ken</div></div></div></div></div></blockquote></div></div></div></div>_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a><br>
</blockquote></div>