# Import PyPDF2

**URL:** <https://discourse.mcneel.com/t/import-pypdf2/188029>\
**Category:** Grasshopper\
**Tags:** windows, ghpython, python, module\
**Created:** [July 15, 2024, 1:48am UTC](https://discourse.mcneel.com/t/import-pypdf2/188029 "2024-07-15T01:48:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shank](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/shank/32/430356_2.png) [@Shank](https://discourse.mcneel.com/u/Shank)\
**Post date:** [July 15, 2024, 1:48am UTC](https://discourse.mcneel.com/t/import-pypdf2/188029/1 "2024-07-15T01:48:43Z")

</div>

Hi,  
I have problem with import PyPDF2, I download file “pypdf2-3.0.1-py3-none-any.whl” from [PyPDF2 · PyPI](https://pypi.org/project/PyPDF2/)  
and copy to C:\Program Files\Rhino 7\Plug-ins\IronPython\Lib\PyPDF2.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/7/c/e7c92555dbc5578cc166f93ff837d6b60dcd9c65.png)  
I want call import PyPDF2 and it show like this.  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/c/6/fc67115d2f2552df3c67f515ce41e0d35f2cbf81.png)  
How can I import module PyPDF2

---

<div class="post-metadata">

**Author:** ![James\_Parrott](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/james_parrott/32/713265_2.png) [@James\_Parrott](https://discourse.mcneel.com/u/James_Parrott)\
**Post date:** [July 15, 2024, 9:29am UTC](https://discourse.mcneel.com/t/import-pypdf2/188029/2 "2024-07-15T09:29:03Z")

</div>

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](https://developer.rhino3d.com/guides/scripting/scripting-gh-python/#pypi-packages)

---

<div class="post-metadata">

**Author:** ![Shank](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/shank/32/430356_2.png) [@Shank](https://discourse.mcneel.com/u/Shank)\
**Post date:** [July 16, 2024, 2:49pm UTC](https://discourse.mcneel.com/t/import-pypdf2/188029/3 "2024-07-16T14:49:05Z")

</div>

Thank you, So I have to update to Rhino8 now.
