# Slicer pip package installation error

**URL:** <https://discourse.slicer.org/t/slicer-pip-package-installation-error/19453>\
**Category:** Support\
**Created:** [September 1, 2021, 6:04am UTC](https://discourse.slicer.org/t/slicer-pip-package-installation-error/19453 "2021-09-01T06:04:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [September 1, 2021, 6:04am UTC](https://discourse.slicer.org/t/slicer-pip-package-installation-error/19453/1 "2021-09-01T06:04:08Z")

</div>

When I am tryin to install packagers in python-interactor in Slicer, it giving AttributeError.

 ![Screenshot from 2021-09-01 11-33-47](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/3/c3d725962a7056ac5153529097839d79b1bd17f2.png)

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [September 1, 2021, 11:35am UTC](https://discourse.slicer.org/t/slicer-pip-package-installation-error/19453/2 "2021-09-01T11:35:48Z")

</div>

It appears you are using a version of Slicer that is over a year old and also using an outdated method install python packages.

Please use the latest Slicer stable or preview and follow the following instructions for how to install a python package.

[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository/gui.html?highlight=Installing%20python#install-a-python-package](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository/gui.html?highlight=Installing%20python#install-a-python-package)
