# SuperBuild: SciPy for Windows

**URL:** https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154
**Category:** ParaView Support
**Created:** [July 2, 2019, 6:28pm UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154 "2019-07-02T18:28:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![HollowSun0](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hollowsun0/32/431_2.png) [@HollowSun0](https://discourse.paraview.org/u/HollowSun0)
#### Post date: [July 2, 2019, 6:28pm UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/1 "2019-07-02T18:28:58Z")

</div>

Greetings,

It seems that SciPy does not get appended in the list of projects when building on Windows. Are there any plans to include it?.. or am I wrong? I believe the logic is found here: [https://gitlab.kitware.com/paraview/paraview-superbuild/blob/022257566f11c97522ed507db191800972e44e7f/CMakeLists.txt#L100](https://gitlab.kitware.com/paraview/paraview-superbuild/blob/022257566f11c97522ed507db191800972e44e7f/CMakeLists.txt#L100)

Thank you,

Patrick

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [July 8, 2019, 10:56am UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/2 "2019-07-08T10:56:30Z")

</div>

We don’t have logic which supports building `scipy` on Windows right now (mainly due to Fortran compiler availability on the build machine(s)). With the Python3 binaries, support will be provided by expecting Python3 to be provided externally where `pip` should work as it does in normal Python distributions.

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [November 17, 2020, 8:29pm UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/3 "2020-11-17T20:29:34Z")

</div>

It looks like this plan changed somewhere along the line (as of 5.8)? Is there a reasonable way to add scipy to the python that Paraview’s using on Windows?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [November 17, 2020, 11:50pm UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/4 "2020-11-17T23:50:27Z")

</div>

Yes, external Python is a hairy endeavor (essentially, it is very confusing for users because there’s no simple way to just double click on the app anymore). There’s been no movement on scipy on Windows so far, sorry.

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [November 18, 2020, 5:51pm UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/5 "2020-11-18T17:51:52Z")

</div>

Is there a way to hack a solution for this? I suppose I could probably do it using $PYTHONPATH, but I would also be fine using the built-in pip (if it’s built-in), or something like that.

Would it make sense to include a Fortran dependency for the MS-MPI version, since that’s already requiring users to install special software?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [November 18, 2020, 8:33pm UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/6 "2020-11-18T20:33:13Z")

</div>

Not right now, sorry. We avoid shipping OpenSSL (due to getting chased about updating it whenever a CVE comes out), so `pip` isn’t really useful since the shipped Python can’t talk with PyPI. You might be able to install a stack of wheels directly though?

The Fortran dependency doesn’t really affect the binaries (as I think we can redistribute those libraries). I don’t think we can redistribute the MSMPI libraries, though it is now on Github…). I suspect even if the licensing allows us, there are some registry and/or environment shenanigans which need done.

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [November 18, 2020, 8:41pm UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/7 "2020-11-18T20:41:52Z")

</div>

Have I misunderstood something? I thought that the reason that SciPy wasn’t included was because of a reluctance to package the Fortran libraries or include a dependency on an external compiler installation (which made sense to me). Is the problem really that it is hard to install gfortran onto the build machines and package scipy in directly?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [November 19, 2020, 3:38am UTC](https://discourse.paraview.org/t/superbuild-scipy-for-windows/2154/8 "2020-11-19T03:38:18Z")

</div>

It’s something we haven’t investigated much, honestly. We can look at it for 5.10 with the gitlab-ci migration.

Cc: @utkarsh.ayachit
