import issue
sanjivjha opened this issue ยท 9 comments
Hi I install the package as given in the guide.
ImportError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from segment_lidar import samlidar
ImportError: cannot import name 'samlidar' from 'segment_lidar' (/Users/sanjij/anaconda3/envs/geospatial_demo/lib/python3.9/site-packages/segment_lidar/init.py)
please help
Hello, how did you install segment-lidar in your environment?
first created the env and then pip install on Mac Pro m1 laptop;followed instruction as given in document
https://yarroudh.gitbook.io/segment-lidar/installation
Hi @Yarroudh,
I have the same issue as @sanjivjha. I followed the instructions mentioned here. However, the statement python -c "import segment_lidar; print(segment_lidar.__version__)"
did not return a version number.
Systems Specs:
Running MacOS Ventura ARM
@sanjivjha @mashnoon1234
I see that the problem only occurs on MacOS. Did you try to use the package on another OS?
Hi! Unfortunately having the same issue on a mac M1 running Ventura as well. Any ideas on a workaround?
Hello @aaorsi,
I see that there is a problem on MacOS but I do not understand why. I need to run my tests on Mac to figure it out. Otherwise, you can still use the docker image, or try to install it on another machine with Linux/Windows. This is a bug right now.
Hello @Yarroudh,
I tried to install segment-lidar on my windows OS, I got this error, with both pip and cloning the repository locally and then running setup.py.
Hey @tanujpareek-94, just install the following:
winget install Microsoft.VisualStudio.2022.BuildTools --force --override "--wait --passive --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows11SDK.22000"
Everything will be okay after that
Thank you for the response. I was able to do it easily in Linux though. Probably, it's trying to compile some C++Wrappers. Same issues when installing KPConv on windows.