Shank
(Shank)
July 15, 2024, 1:48am
1
Hi,
I have problem with import PyPDF2, I download file “pypdf2-3.0.1-py3-none-any.whl” from PyPDF2 · PyPI
and copy to C:\Program Files\Rhino 7\Plug-ins\IronPython\Lib\PyPDF2.
I want call import PyPDF2 and it show like this.
How can I import module PyPDF2
In general, you need to install Wheels with pip, not just copy and paste them.
But even if it was installed correctly, PyPDF2 requires Python 3.6 so it most likely will not work in Rhino 7 (Iron Python 2).
Upgrade to Rhino 8, and you can use #r: PyPDF2
in a CPython3 component.
https://developer.rhino3d.com/guides/scripting/scripting-gh-python/#pypi-packages
1 Like
Shank
(Shank)
July 16, 2024, 2:49pm
3
Thank you, So I have to update to Rhino8 now.