-
Notifications
You must be signed in to change notification settings - Fork 930
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
'chardet' not appended to requirements #213
Comments
Hi @rmiller-sgntr. Have you tried adding |
Yes, it works with python3.6
|
I'm also getting this error on Python 3.6 and 3.7 (WSL), issue referenced above. I'm not sure why this is happening. When I install pdfminer.six from source using pip (18.1) ( |
I seems to be a mismatch between the global |
I'm not using |
@ganeshtata I checked the wheel available on the pdfminer.six PyPI page. The $ pip -version pip 18.1 from /home/vinayak/.local/share/virtualenvs/camelot-3.6/lib/python3.6/site-packages/pip (python 3.6) |
I'm not able to figure out the part where Travis is able to install pdfminer.six correctly using pip but I'm not able to do the same on my local machine. |
So I figured this out. Looked through the logs of this Travis job (which installs |
As @rmiller-sgntr suggested in the first comment:
I'm adding chardet to |
The wheel is universal (2 or 3), but the requirements are not; they differ depending on what ran |
I can confirm I got this error, and it was fixed by manually installing chardet, for Python 3.7. |
Fixed by #219 |
now that pdfminer/pdfminer.six#213 is fixed.
Hi,
chardet
is required in some parts of the code and is supposed to be appended to requirements with this code insetup.py
:Which does not work as I am getting the following error using python 3.6:
I suggest using the following fix, add
chardet
in required array like so:And remove the other two lines. Setup-tools supports the python_version<"x.x" syntax.
Until fixed,
chardet
has to be added manually to requirements on each project.The text was updated successfully, but these errors were encountered: