# paraview python conflicts with my local python

**URL:** https://discourse.paraview.org/t/paraview-python-conflicts-with-my-local-python/10657
**Category:** ParaView Support
**Created:** [November 2, 2022, 1:44pm UTC](https://discourse.paraview.org/t/paraview-python-conflicts-with-my-local-python/10657 "2022-11-02T13:44:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bigfooted](https://discourse.paraview.org/user_avatar/discourse.paraview.org/bigfooted/32/6347_2.png) [@bigfooted](https://discourse.paraview.org/u/bigfooted)
#### Post date: [November 2, 2022, 1:44pm UTC](https://discourse.paraview.org/t/paraview-python-conflicts-with-my-local-python/10657/1 "2022-11-02T13:44:18Z")

</div>

Hi everyone,

I downloaded the newest paraview on my ubuntu machine (ParaView-5.11.0-RC2-MPI-Linux-Python3.9-x86\_64.tar.gz)  
I start paraview and do ‘start trace’  
or: I start pvpython

I then get a bunch of errors, the last 4 lines looking like this:

> 3 0x7f223e92033b /home/user/Codes/ParaView-5.11.0-RC2-MPI-Linux-Python3.9-x86\_64/bin/…/lib/libpython3.9.so.1.0(+0x12033b) [0x7f223e92033b]  
> 2 0x7f21efe9486f /home/user/.local/lib/python3.9/site-packages/vtkmodules/vtkCommonCore.cpython-39-x86\_64-linux-gnu.so(+0x14586f) [0x7f21efe9486f]  
> 1 0x7f2206225b72 /home/user/Codes/ParaView-5.11.0-RC2-MPI-Linux-Python3.9-x86\_64/bin/…/lib/libvtkWrappingPythonCore3.9-pv5.11.so.1(+0x25b72) [0x7f2206225b72]  
> 0 0x7f2243e01520 /lib/x86\_64-linux-gnu/libc.so.6(+0x42520) [0x7f2243e01520]  
> ( 0.314s) [paraview] :0 FATL| Signal: SIGSEGV

Note that line (2) is using my local python 3.9 site packages in .local/python3.9. If I rename this folder so it cannot be found, everything seems to work. But how can I make paraview not use this folder? I am not even sure how paraview knows that this folder exists, because when I do `python -m site` I get references to only the newer python 3.10 version (and paraview has no problem with that folder existing):

> sys.path = [  
> ‘/usr/lib/python310.zip’,  
> ‘/usr/lib/python3.10’,  
> ‘/usr/lib/python3.10/lib-dynload’,  
> ‘/home/user/.local/lib/python3.10/site-packages’,  
> ‘/usr/local/lib/python3.10/dist-packages’,  
> ‘/usr/lib/python3/dist-packages’,  
> ‘/usr/lib/python3.10/dist-packages’,  
> ]  
> USER\_BASE: ‘/home/user/.local’ (exists)  
> USER\_SITE: ‘/home/user/.local/lib/python3.10/site-packages’ (exists)  
> ENABLE\_USER\_SITE: True

So my question is basically: why does paraview look into .local and how can I prevent it (assuming that it is not necessary)?

---

<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 2, 2022, 3:32pm UTC](https://discourse.paraview.org/t/paraview-python-conflicts-with-my-local-python/10657/2 "2022-11-02T15:32:35Z")

</div>

It’s probably just what Python does by default. We’d need to figure out what flag(s) to pass to Python’s build to skip that (if it even exists).
