-
Notifications
You must be signed in to change notification settings - Fork 30
backports/lzma/_lzmamodule.c(115) : fatal error C1083: Cannot open include file: 'lzma.h': No such file or directory #22
Comments
I do not currently have access to a Windows development machine to try this on. However, in somewhat lucky timing, yesterday and today I have been experimenting with AppVeyor, and while I'm currently stuck I know how to solve the current issue. By default the Assuming you didn't compile liblzma yourself, you will likely also need to move the DLLs from the platform specific files to
Or for 64 bit:
At this point I began to run into trouble with linking, and am currently stuck. See https://ci.appveyor.com/project/peterjc/backports-lzma/build/ and my AppVeyor configuration file on this branch https://github.com/peterjc/backports.lzma/blob/appveyor/.appveyor.yml Over on #14 it was reported that |
There is an AppVeyor build proposed in PR ( #25 ). |
This is still an issue. I tried to place
I have no idea where to get this Is there any other way to install it on Windows? The wheel version in #14 (0.0.3) seems to work, but very outdated. |
You can use conda, the conda-forge packages include Windows builds and cover Python 2.7, 3.5 and 3.6 at the time of writing: https://anaconda.org/conda-forge/backports.lzma |
Up-to-date wheels for Python 2.7, 3.4, 3.5, 3.6, and 3.7 are at https://www.lfd.uci.edu/~gohlke/pythonlibs/#backports.lzma |
Thank you! |
I think I've said this in other contexts, but once again, thank you @cgohlke for your efforts supporting Python on Windows 🥇 If you have no objection, I would be happy to add a link to these wheels from the README file |
I'm about to archive this repository, and so am closing the outstanding issues and pull requests. Thank you for your efforts though. |
I have a Windows 7 PC with Visual Studio 2015 upgrade 3 installed on it and I would like to install backports.lzma library for Python with pip.
I have downloaded and extracted XZ Utils in Program Files folder. (XZ Utils is mandatory for install backports library as specified from Pypi site )
This is the pip output:
However in
Program Files\xz\include
there is thelzma.h
file.How to link the header to be recognized?
The text was updated successfully, but these errors were encountered: