Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Shapeworks for Python without Conda #2313

Open
ricardopizarro opened this issue Aug 21, 2024 · 3 comments
Open

Installing Shapeworks for Python without Conda #2313

ricardopizarro opened this issue Aug 21, 2024 · 3 comments

Comments

@ricardopizarro
Copy link

Hello,
We do not have access to Anaconda (or conda or miniconda, etc). Is it possible to install Shapeworks for Python without using conda? Any guidance will be appreciated. Thank you in advance,

-Ricardo

@akenmorris
Copy link
Contributor

It should be possible. You may need to have Python 3.9 (perhaps 3.9.13), but you should be able to install the required packages from python_requirements.txt and then to pip install the shapeworks package.

It would be good to follow the recipe in install_shapeworks.sh

https://raw.githubusercontent.com/SCIInstitute/ShapeWorks/master/install_shapeworks.sh

@ricardopizarro
Copy link
Author

Thank you for the feedback. I have tried installing shapeworks for Python a couple of times. I followed the instructions in install_shapeworks.bat line by line but in the end I keep getting the same error No module named shapeworks_py:

shapeworks_py not found

We have a successful Shapeworks installation for the GUI but we need the Python module to progress with developing our project. Comparing the file structures by following these suggestions:

https://shapeworks.discourse.group/t/shapeworks-installation-problem/102

I see the file shapeworks_py.cp39-win_amd64 in the Shapeworks\bin folder. But in the Python installation that I am trying to complete, the Shapeworks\bin folder is empty! Where in the installation process does this bin folder get populated with the necessary scripts?

I see the install_python_module.bat refer to the Shapeworks\bin folder. Am I missing something? Any feedback will be welcome. Thank you!

@akenmorris
Copy link
Contributor

Normally on Windows, the shapeworks_py dll is in C:\Program Files\ShapeWorks\bin. It would just get added to the PYTHON_PATH via conda. You can either copy it to somewhere that will be in your PATH or refer to it in its current location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants