# superbuild error

**URL:** https://discourse.paraview.org/t/superbuild-error/936
**Category:** ParaView Support
**Created:** [November 20, 2018, 4:09pm UTC](https://discourse.paraview.org/t/superbuild-error/936 "2018-11-20T16:09:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [November 20, 2018, 4:09pm UTC](https://discourse.paraview.org/t/superbuild-error/936/1 "2018-11-20T16:09:09Z")

</div>

I am getting an install error when building v5.6.0 with superbuild (see below) as if there is a prefix missing in front of ‘/lib/python2.7’

my command is:

`cmake -DCMAKE_INSTALL_PREFIX=/scratch/leone/jfavre/ParaView/5.6 -DPARAVIEW_CATALYST_PYTHON:BOOL=OFF -DENABLE_mpi:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DENABLE_catalyst:BOOL=OFF -DENABLE_hdf5:BOOL=ON -DENABLE_numpy:BOOL=ON -DENABLE_png:BOOL=ON -DENABLE_python:BOOL=ON -DENABLE_qt5:BOOL=ON ../paraview-superbuild`

Error is:

```
running install_egg_info
Removing /apps/leone/UES/ParaView/src/paraview-superbuildBuild/install/lib/python2.7/lib-dynload/Python-2.7.15-py2.7.egg-info
Writing /apps/leone/UES/ParaView/src/paraview-superbuildBuild/install/lib/python2.7/lib-dynload/Python-2.7.15-py2.7.egg-info
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Exception:
Traceback (most recent call last):
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/wheel.py", line 287, in clobber
    ensure_dir(dest) # common for the 'include' path
  File "/tmp/tmpkQyWTn/pip-9.0.3-py2.py3-none-any.whl/pip/utils/ __init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/apps/leone/UES/ParaView/src/paraview-superbuildBuild/superbuild/python/src/Lib/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/apps/leone/UES/ParaView/src/paraview-superbuildBuild/superbuild/python/src/Lib/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/lib/python2.7'
```

---

<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 21, 2018, 7:01pm UTC](https://discourse.paraview.org/t/superbuild-error/936/2 "2018-11-21T19:01:04Z")

</div>

What package is failing to build?
