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 of large_image on Linux #916

Open
naveenagorre opened this issue Nov 16, 2021 · 4 comments
Open

Installation of large_image on Linux #916

naveenagorre opened this issue Nov 16, 2021 · 4 comments

Comments

@naveenagorre
Copy link

Hi I'm working on installing and running large_image on a Linux, Conda environment using pip install, I have also installed other dependencies - tifftools, large-image-source-tiff but still it's throwing tilesource error (attached).

I tried searching online for any dll's I'm missing but no luck so far:

File "/opt/conda/lib/python3.8/site-packages/libtiff/libtiff_ctypes.py", line 46, in
raise ImportError('Failed to find TIFF library. Make sure that libtiff '
ImportError: Failed to find TIFF library. Make sure that libtiff is installed and its location is listed in PATH|LD_LIBRARY_PATH|

Please let me know of any solutions.

@manthey
Copy link
Contributor

manthey commented Nov 16, 2021

As the error says, you need to install libtiff. As described in the README, you can do this with a python wheel that we publish (e.g., pip install --find-links https://girder.github.io/large_image_wheels large-image-source-tiff), or you can install libtiff with a package manager.

@naveenagorre
Copy link
Author

Hi Manthey, thank you for the response. I have already installed libtiff using pip install but even then it's throwing me the tile source issue. Please let me know of any ambiguities

@manthey
Copy link
Contributor

manthey commented Nov 16, 2021

If you didn't use the wheels to install it initially, then pip will use the cached version and not the wheels. You'll need to tell pip to reinstall it without using the cache (maybe pip install --no-cache-dir --force-reinstall ...)

@naveenagorre
Copy link
Author

Hello Manthey, I have tried doing the force-reinstall as well but still doesn't solve the issue. Please let me know of any alternatives.

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