Comments (10)
@EdwardMa12593 I downloaded the code from here and ran python setup.py install
instead.
from pylibtiff.
I know this thread has been closed but I'm new to libtiff and have problems installing it. I keep getting the error:
ImportError: Failed to find TIFF library. Make sure that libtiff is installed and its location is listed in PATH|LD_LIBRARY_PATH|..
I tried the installation 2 ways and neither worked. Thanks in advance for your help.
[1] pip3 install libtiff
Collecting libtiff
Downloading libtiff-0.4.1.tar.gz (129kB)
...
Successfully installed libtiff-0.4.1
[2] Download the tarball from https://pypi.python.org/pypi/libtiff
tar -zxvf libtiff-0.4.1.tar.gz
cd libtiff-0.4.1/libtiff
python3 setup.py install
from pylibtiff.
What worked for me after trying everything:
- Download the libtiff pre-compiled wheel from here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pylibtiff
and the bitarray pre-compiled wheel from here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#bitarray - Open command prompt:
cd C:\path\to\where\your-wheels-are
pip3 install bitarray-x.y.z.whl
pip3 install libtiff-t.u.v.whl
from pylibtiff.
I have the same problem.
Do you solve this issue?
from pylibtiff.
There is no release on PyPI with Python 3 support. It only exists in master
.
IMHO this should be closed as unsupported until a Python 3 release makes its way to PyPI, at which point a new bug report should be opened if an issue occurs.
from pylibtiff.
This repo doesn't have any tags or releases.python setup.py --version
from master outputs 0.0.0
. Is there a roadmap to releases?
from pylibtiff.
I don't think that is an issue with this library, @jason-su. It is either numpy
is not installed and/or MSVC 14.0 is missing. Have you installed both of these?
from pylibtiff.
PyLibTiff 0.4.1 has been released and I just checked, pip3 install libtiff works.
from pylibtiff.
@hanchec Ditto...
from pylibtiff.
I've downloaded the latest version windows 10. Do I need to get the dll as well?
From where do I get it?
from pylibtiff.
Related Issues (20)
- Missing numpy dependency when installing via pip HOT 4
- Clean up loading of libtiff.dll's HOT 2
- libtiff4 vs libtiff5 & finding header. HOT 5
- Update existing tiff: add new tag HOT 1
- Add debug logging which libtiff.dll is actually used
- Tiled multi-page tiff corrupted?
- Bundled bitarray appears to not be Python 3.11 compatible HOT 8
- Use of deprecate `np.bool`
- Looking for maintainers? HOT 7
- Proposed updates to CI testing and release creation HOT 5
- Possible to specify RGB and YCbCr colorspaces?
- simple tiff files operations
- Failed to install pylibtiff using conda-forge HOT 9
- Unable to open image with Chinese path using TIFF.open HOT 46
- optparse_gui cannot be imported correctly on Windows HOT 6
- Libtiff.info CLI : "ValueError: 'gtkagg' is not a valid value for backend" . HOT 1
- Python >=3.11.5 ImportError: Failed to find TIFF library HOT 8
- The 'ascii' encoding cannot open images whose file names contain special characters HOT 13
- SegFault on Mac OSX with M2 chip / Ventura 13.4 trying to open TIFF Files HOT 10
- Failure to install with pip on Windows HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylibtiff.