Closed its-me-ghost closed 2 years ago
how do i solve and compile this? i'm using vs code 😅
Hi there, it seems like your PYTHONPATH environment variable does not include the root directory, so Python can't find the pdfinvert module. In your case, you could run $env:PYTHONPATH='C:\fakepath\invert-pdf-master'
in Powershell before running Python. You should also be able to set that as a run config for VS Code in launch.json file (see here).
That being said, I have not tried running the app on Windows, so you might run into issues with the external binaries used by invert-pdf, namely ImageMagick and ghostscript. It might be easier to use the docker build.