# Slicer-Python Packages Use and Install

**URL:** <https://discourse.slicer.org/t/slicer-python-packages-use-and-install/984>\
**Category:** Support\
**Created:** [August 31, 2017, 9:27pm UTC](https://discourse.slicer.org/t/slicer-python-packages-use-and-install/984 "2017-08-31T21:27:14Z")\
**Posts on this page:** 1\
**Showing post:** 55

<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:** [July 22, 2019, 11:40am UTC](https://discourse.slicer.org/t/slicer-python-packages-use-and-install/984/55 "2019-07-22T11:40:42Z")

</div>

For Slicer 4.10 I would probably suggest opening a terminal window to the location of PythonSlicer and doing `PythonSlicer.exe -m pip install scipy`. The error you are getting is because the “pip” package was updated and “main” was moved out. You could try some work around as was suggested earlier in this discussion such as

```auto
from pip._internal import main as pipmain
pipmain(['install','scipy'])

```

If using Slicer 4.11, Slicer is now using Python3. You could also use a helper function within Slicer’s python interactor. Try `slicer.util.pip_install('scipy')`.  
Reference: [Use full power of Python in Slicer](https://discourse.slicer.org/t/use-full-power-of-python-in-slicer/7162)

Note: If you install scipy in Slicer 4.10, which is using python2, you will **not** be using the latest version of scipy (1.3.0). Scipy 1.3.0 is only available for Python3.

---

_[View the full topic](https://discourse.slicer.org/t/slicer-python-packages-use-and-install/984)._
