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

Installation issue #5

Open
haesleinhuepf opened this issue Jun 8, 2022 · 3 comments
Open

Installation issue #5

haesleinhuepf opened this issue Jun 8, 2022 · 3 comments

Comments

@haesleinhuepf
Copy link

Hi @jhennies ,

I'm having some installation issues on my Windows machine. This command

pip install amst_bin_win-0.1.2-cp36-cp36m-win_amd64

Produces this error message:

ERROR: Could not find a version that satisfies the requirement amst_bin_win-0.1.2-cp36-cp36m-win_amd64 (from versions: none)
ERROR: No matching distribution found for amst_bin_win-0.1.2-cp36-cp36m-win_amd64

I'm running on Windows 10 64-bit with Python 3.6.15 installed in a conda environment.

When upacking the wheel I noticed that inside are not soo many files. But I failed installing them separately using pip because there is no setup.py inside. I was just wondering how you made that wheel? Can you point me to the source code repository and build pipeline for it? I might then be able to install it myself.

Thanks!

Best,
Robert

@jhennies
Copy link
Owner

jhennies commented Jun 8, 2022

Hi Robert,

you can try installing it manually with conda instead:

conda create -n amst-env -c conda-forge tifffile scikit-image=0.17.2 vigra silx[full] pyopencl
conda activate amst-env

Pyelastix was a bit of an issue for me, so I ended up installing it afterwards

conda install -c conda-forge pyelastix

If it causes trouble, there is also the pip version

pip install pyelastix

Last but not least, to make the GPU accessible

conda install -c conda-forge ocl-icd-system

Or instead to run SIFT components on the CPU instead

conda install -c conda-forge pocl

I hope this works for you!

If you specifically want the wheel to work, I would have to forward this issue to @josemiserra

Best,
Julian

@haesleinhuepf
Copy link
Author

Hi @jhennies ,

thanks for the fast feedback. It works like a charm! Just one question: Is there any particular reason why you're using scikit-image=0.17.2? I would like to combine amst with another project which needs scikit-image==0.18.3. Might it amst also work with the recent scikit-image? Or are there any known issues? I would love to hear what you think!

Thanks again,
Robert

@jhennies
Copy link
Owner

jhennies commented Jun 9, 2022

Hi Robert,

great that it works now!

I am very sure that there was a reason to use the older version of scikit-image, I think I was using some deprecated function and didn't have the time to change that yet.

I can look into it. I'll keep you posted.

Cheers,
Julian

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