SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
103 stars 32 forks source link

Cant import shapeworks_py #1990

Closed an99990 closed 1 year ago

an99990 commented 1 year ago

Hi, I am trying to install the shape works repo but I am encountering issues even tho the installation seemed to be successful. I saw these issues #1529 and #1280, and its exactly the same issue. However, it was said to be fixed in master....

OS: Linux Steps : $ git clone repo $ source install_dependencies.sh $python image

If i search for where the installation is, i can find anything. However, if i do pip list i see shapeworks ... image

image

Please help

akenmorris commented 1 year ago

It is recommended that unless you need to build ShapeWorks from source, that you instead download a pre-built binary. Instructions to use are here:

http://sciinstitute.github.io/ShapeWorks/latest/users/install.html#installing-shapeworks-on-linux

You are welcome to build from source, instructions are provided here:

http://sciinstitute.github.io/ShapeWorks/latest/dev/build.html

an99990 commented 1 year ago

Hi @akenmorris , Thank you for your reply. I have just tried with the pre built binaries and I am able to import the library. However I notice a lot of deprecated messages image

is it normal? Thank you

akenmorris commented 1 year ago

Yes, the deprecation messages are normal. This is coming from a dependent python library, sklearn. In the upcoming ShapeWorks release, dependencies and python have been upgraded.

akenmorris commented 1 year ago

The Python code, yes. The C++ source code doesn’t ship in the binary distribution as most users have no need for it.

Alan

On Tue, Jan 31, 2023 at 5:36 AM an99990 @.***> wrote:

Hi Alan, Thank you for your reply. Would installing the pre built give me access to the code ?

I need to import the library in python and use the different tools you guys have on my data. Thank you


From: Alan Morris @.> Sent: Tuesday, January 31, 2023 1:31:08 AM To: SCIInstitute/ShapeWorks @.> Cc: an99990 @.>; Author @.> Subject: Re: [SCIInstitute/ShapeWorks] Cant import shapeworks_py (Issue

1990)

It is recommended that unless you need to build ShapeWorks from source, that you instead download a pre-built binary. Instructions to use are here:

http://sciinstitute.github.io/ShapeWorks/latest/users/install.html#installing-shapeworks-on-linux

You are welcome to build from source, instructions are provided here:

http://sciinstitute.github.io/ShapeWorks/latest/dev/build.html

— Reply to this email directly, view it on GitHub< https://github.com/SCIInstitute/ShapeWorks/issues/1990#issuecomment-1409839072>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AUX7UXMYEIPERS7RS4PUIGTWVCWSZANCNFSM6AAAAAAUL4SYPQ

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/SCIInstitute/ShapeWorks/issues/1990#issuecomment-1410270657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM5NJPIOJN4BR3CXACOCMLWVEBLNANCNFSM6AAAAAAUL4SYPQ . You are receiving this because you commented.Message ID: @.***>