porteratzo / TreeTool

MIT License
43 stars 9 forks source link

Setup.py "Open3d is not defined" #5

Closed carboncode67 closed 1 year ago

carboncode67 commented 1 year ago

Hello, Forgive my ignorance if this is a simple issue, I am relatively new to python and have previously only installed packages with pip. I was able to follow your instructions in setting up the environment but when I tried to use setuptools and setup.py I get errors that state either "no such file or directory" or "open3 is not defined" which I believe is referring to the first "install_requires" package in the setup.py script. Do you have any instructions on installing the code itself?

porteratzo commented 1 year ago

Hi, actually the setup.py is not actually ready yet, it's something I was working on but didn't conclude. Sorry for the confusion.

carboncode67 commented 1 year ago

Thanks for your fast response! is there any way to get the code running as is?

porteratzo commented 1 year ago

Hi, sorry for the late reply. The best way to run the code is to install as mentioned in the README and then start a session of jupyter notebook. You can then open the QuickDemo notebook and load your point cloud and follow the steps along with visualizations of what the software is doing.


From: carboncode67 @.> Sent: Friday, December 9, 2022 07:57 To: porteratzo/TreeTool @.> Cc: porteratzo @.>; State change @.> Subject: Re: [porteratzo/TreeTool] Setup.py "Open3d is not defined" (Issue #5)

Thanks for your fast response! is there any way to get the code running as is?

— Reply to this email directly, view it on GitHubhttps://github.com/porteratzo/TreeTool/issues/5#issuecomment-1344339493, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKQIWSKKLAFPNHBVH5ENJJDWMM3ERANCNFSM6AAAAAASYKUAIQ. You are receiving this because you modified the open/close state.Message ID: @.***>

carboncode67 commented 1 year ago

I may be missing something but I do not see any instructions in the Readme that describe how to install treetool other than the required packages which I installed.

porteratzo commented 1 year ago

Oh okay, currently we have no script to install TreeTool , if you want to use it outside the TreeTool directory you would need to add it to your path. You can use something like import sys sys.path.append('/path to treetool dir/TreeTool') you should then be able to import TreeTool funtions like below. import TreeTool.seg_tree as seg_tree import TreeTool.utils as utils


From: carboncode67 @.> Sent: Monday, December 19, 2022 10:59 To: porteratzo/TreeTool @.> Cc: porteratzo @.>; State change @.> Subject: Re: [porteratzo/TreeTool] Setup.py "Open3d is not defined" (Issue #5)

I may be missing something but I do not see any instructions in the Readme that describe how to install treetool other than the required packages which I installed.

— Reply to this email directly, view it on GitHubhttps://github.com/porteratzo/TreeTool/issues/5#issuecomment-1357958609, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKQIWSP4JHANP3ONWSM3NYTWOCH6DANCNFSM6AAAAAASYKUAIQ. You are receiving this because you modified the open/close state.Message ID: @.***>