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
No module named 'PyPDF2' #456
Comments
Still cannot get it work with python 3.6, using python 2.7 works like a charm. |
On Ubuntu 18.04 with Python 3.6.7 there seems to be no issue.
|
Not a "proper" fix for your problem, but you can clone the PyPDF2 github repo into your working directory for whichever python script you're working on, then do an import. Project Directory:
In yourScript.py: If you have things organized like this, it should work perfectly. |
Hm, I wonder if it is related to PyPDF2 using distutils? |
Can anybody confirm issues / that it works on Mac? |
I just installed PyPDF2 on a mac via pip. Works fine. |
I am getting the same issue on Mac OS. I have tried installing PyPDF2 using pip and pip3 both its showing requirements are satisfied still when i am trying to run the app.py via streamlit, It throws the error " Model not found: PyPDF2" |
pypdf2 is deprecated, replaced by pypdf. |
Is there any other pip command to install pypdf as pip install pypdf is not working at my end. |
pypdf is available on pypi.org so you should not meet an issue to install it if your python/network configuration is correct. as an alternative you should download manually the whl file from https://pypi.org/project/pypdf/#files and then pass the whl file as argument : |
Hi there,
I tried to install PyPDF2 via pip using python 3.6 on MacOS with the command:
pip3 install PyPDF2
Unfortunately when trying to import PyPDF2, it get a ModuleNotFoundError.
Through my search, I also stumbled over some dependency to pdfmerge, but installing it just threw another error. Regarding to other people who had the same problem, setuptools has to be updated.
But running
pip3 install --upgrade setuptools
did not help. I hope this is the right place to report/ask for help.
Thanks!
The text was updated successfully, but these errors were encountered: