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

when i try to compile in ubuntu i get this error #28

Open
balasid1404 opened this issue Dec 31, 2020 · 2 comments
Open

when i try to compile in ubuntu i get this error #28

balasid1404 opened this issue Dec 31, 2020 · 2 comments

Comments

@balasid1404
Copy link

Running pdftotext-2.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-viqui05x/pdftotext-2.1.5/egg-dist-tmp-gwl5jj4i
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
pdftotext.cpp:1:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

can someone please help me when i try to use python3 install setup.py it runs and always stops at this place can anyone please help me with this

@balasid1404
Copy link
Author

and also i use lubuntu 18 and python3.7 and also i tried both with virtual environment and dirsct compilation none works please help me

@JohnHammond
Copy link
Owner

JohnHammond commented Jan 3, 2021 via email

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

2 participants