Pylidar installation

511 views
Skip to first unread message

Covadonga

unread,
Jan 22, 2018, 3:38:18 AM1/22/18
to pylidar

Hi to everyone!


My name is Covadonga, and I am a PhD student from Spain. I am a forest engineer who works with LiDAR  and TLS data, but until know I hadn´t use Phyton before so I am a beginner in the world of programming. I have trying to install Pylidar installing Anaconda, and running the commands which appear in the instructions I found on the internet as shown below: 


conda config --add channels conda-forge

conda config --add channels rios

conda create -n myenv pylidar

source activate myenv # omit 'source' on Windows


However when I try to execute line 3 to create the pylidar environment I always get the same error message “pylidar is not available from current channels”(see image attached) and I don´t understand why this happens. It seems both channels RIOS and conda-forge are added but pylidar is not in there. Could you help me? Thanks in advance!

channels.jpg

gilling...@gmail.com

unread,
Jan 22, 2018, 9:27:12 PM1/22/18
to pylidar
Currently we don't provide packages for win-32. Can you try again with a win-64 install of conda?

Cheers,
Sam.

Covadonga

unread,
Jan 31, 2018, 6:28:32 AM1/31/18
to pylidar
Thank you very much for your idea Sam, I tried a win-64 install of conda and I was able to install pylidar in my computer. 

However  another problem has came up. I would like to work with PyCharm to create my scripts, so I have  to add Pylidar to PyCharm in order to use the tools contained in it. However when I try to do it from PyCharm, I get the error you can see in the image attached. I tried to run the command "pip install pylidar" in the python.exe as requested but it doesn´t work (see pip_error.png). Do you know what I am doing wrong?

Thanks in advance :)

                         Cova
problema_pylidar.png
pip_error.png

gilling...@gmail.com

unread,
Jan 31, 2018, 9:01:49 PM1/31/18
to pylidar
I don't know much about PyCharm so not sure how much I can help. PyLidar is not available via pip (only on conda-forge) so whatever it is doing is incorrect...

Covadonga

unread,
Feb 1, 2018, 6:27:54 AM2/1/18
to pylidar
Could you please tell me how do you work with Pylidar? I mean, do you use any specific IDLE which works with Pylidar? As I have already explained I am a beginner so I am open to any advice which can help me.

Thanks in advance.

Joe McGlinchy

unread,
Mar 20, 2018, 11:58:35 AM3/20/18
to pylidar
if you installed pylidar successfully with conda, just have PyCharm use that environment's python.exe and you should be able to `import pylidar` no problem.
Reply all
Reply to author
Forward
0 new messages