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 on macOS #10

Open
waingram opened this issue Mar 12, 2021 · 0 comments
Open

Installation on macOS #10

waingram opened this issue Mar 12, 2021 · 0 comments

Comments

@waingram
Copy link

Hi — is this able to be installed on a mac? I'm getting errors when I try to pip install pdflib.

Collecting pdflib
  Using cached pdflib-0.1.2.tar.gz (49 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/local/anaconda3/envs/chapter-extraction/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/kp/03rd6_8x1835gg33z1lg18vm0000gp/T/pip-install-hx2shit4/pdflib_6966299fddf3403c86746bcd924e7ff7/setup.py'"'"'; __file__='"'"'/private/var/folders/kp/03rd6_8x1835gg33z1lg18vm0000gp/T/pip-install-hx2shit4/pdflib_6966299fddf3403c86746bcd924e7ff7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/kp/03rd6_8x1835gg33z1lg18vm0000gp/T/pip-pip-egg-info-a9e9_nrp
         cwd: /private/var/folders/kp/03rd6_8x1835gg33z1lg18vm0000gp/T/pip-install-hx2shit4/pdflib_6966299fddf3403c86746bcd924e7ff7/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/kp/03rd6_8x1835gg33z1lg18vm0000gp/T/pip-install-hx2shit4/pdflib_6966299fddf3403c86746bcd924e7ff7/setup.py", line 54, in <module>
        ext_modules=cythonize([poppler_ext]),
      File "/usr/local/anaconda3/envs/chapter-extraction/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 965, in cythonize
        module_list, module_metadata = create_extension_list(
      File "/usr/local/anaconda3/envs/chapter-extraction/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 815, in create_extension_list
        for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
      File "/usr/local/anaconda3/envs/chapter-extraction/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 114, in nonempty
        raise ValueError(error_msg)
    ValueError: 'pdflib/poppler.pyx' doesn't match any files

I have poppler installed and $POPPLER_ROOT exported.

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

1 participant