maxpmaxp / pdfreader

Python API for PDF documents
MIT License
113 stars 26 forks source link

Help with issue 42? #103

Closed MikeTheGreat closed 1 year ago

MikeTheGreat commented 1 year ago

Hello!

I'm running into Issue #42 - I'm trying to install PDFReader into a venv on Windows 11 / Python 3.11 and running into this issue.

I seem to recall that previously the "Microsoft Visual C++ Build Tools" were a separate thing that one installed by itself (but I could be wrong).

Currently, the links to "Microsoft Visual C++ Build Tools" actually link to the full Visual Studio Installer. This part is fine, but I'm having trouble finding the exact option that will install the Microsoft Visual C++ Build Tools.

Can anyone clarify which option(s) one should select in the Visual Studio installer, in order to compile the bitarray package on Windows?

MikeTheGreat commented 1 year ago

FWIW I eventually fixed this on my own by finding pre-built wheel files for bitarray and manually installing those. Once that was in place pdfreader installed without a problem but I don't know how stable/reliable that is (specifically, I don't know how fussy pdfreader and bitarray are about version compatibility - the version of bitarray that I installed worked with whatever version of pdfreader was most recent when I did all this, but I have no idea if that's normally the case or not).

Also, there were no pre-built wheel files for bitarray for Python 3.11 so I switched to 3.10.