# pvpython macOS no rendering

**URL:** https://discourse.paraview.org/t/pvpython-macos-no-rendering/8020
**Category:** ParaView Support
**Tags:** python
**Created:** [September 17, 2021, 11:32am UTC](https://discourse.paraview.org/t/pvpython-macos-no-rendering/8020 "2021-09-17T11:32:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![massisenergy](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massisenergy/32/6229_2.png) [@massisenergy](https://discourse.paraview.org/u/massisenergy)
#### Post date: [September 17, 2021, 11:32am UTC](https://discourse.paraview.org/t/pvpython-macos-no-rendering/8020/1 "2021-09-17T11:32:41Z")

</div>

Dear,

I wish to batch process using `pvpython` but in my system (`MacOS, 13' MBP, ParaView 5.9.1`) no rendering window pops up when I try to reproduce [the sphere example](https://docs.paraview.org/en/latest/UsersGuide/introduction.html?highlight=pvpython#id4). I believe this might be due to the issue already mentioned here: [macOS: pvbatch/pvpython raise PYTHONHOME errors](https://gitlab.kitware.com/paraview/paraview/-/issues/20335). If that is the case, is there any workaround for the moment (until the bug is fixed)?

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 17, 2021, 12:28pm UTC](https://discourse.paraview.org/t/pvpython-macos-no-rendering/8020/2 "2021-09-17T12:28:27Z")

</div>

I doubt it has anything to do with the PYTHONHOME errors. If you’re see no other errors and you’re using `pvpython` (and not `pvbatch`) most likely the window has popped up behind your active windows. Try using `Expose` to locate the window.

---

<div class="post-metadata">

### Author: ![massisenergy](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massisenergy/32/6229_2.png) [@massisenergy](https://discourse.paraview.org/u/massisenergy)
#### Post date: [September 17, 2021, 1:38pm UTC](https://discourse.paraview.org/t/pvpython-macos-no-rendering/8020/3 "2021-09-17T13:38:19Z")

</div>

Hi Utkarsh,

thanks for your response. I’m afraid I don’t understand what you meant by `Expose`. I use the App Exposé offered by MacOS [Show or move all open windows](https://support.apple.com/en-in/guide/mac-help/mh35798/mac), and I’m sure there are no windows popping up. I am providing what I did:

```auto
$ ./pvpython
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 3.8.8 (default, May 17 2021, 13:00:49)
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from paraview.simple import *
>>> Sphere()
<paraview.servermanager.Sphere object at 0x10e523730>
>>> Show()
<paraview.servermanager.GeometryRepresentation object at 0x1180b4cd0>
>>> Render()
<paraview.servermanager.RenderView object at 0x1180b4dc0>
>>>

```

Looks like MacOS is not returning any window, but why?!! 🤔

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [September 17, 2021, 4:46pm UTC](https://discourse.paraview.org/t/pvpython-macos-no-rendering/8020/4 "2021-09-17T16:46:54Z")

</div>

With regards to “Expose”, I’m pretty sure Utkarsh means [What is Expose? - Switch To A Mac Guides](https://switchtoamac.com/guides/mac-os-x/expose/what-is-expose.html). On my Mac, using a generic keyboard, the magic commands are CTRL-UpArrow. On my MacBook, use four fingers, and slide up.

---

<div class="post-metadata">

### Author: ![massisenergy](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massisenergy/32/6229_2.png) [@massisenergy](https://discourse.paraview.org/u/massisenergy)
#### Post date: [September 20, 2021, 2:38pm UTC](https://discourse.paraview.org/t/pvpython-macos-no-rendering/8020/5 "2021-09-20T14:38:51Z")

</div>

Okay, I am sure it’s not an hidden window issue. No windows is popping up at all. Anyone isn’t using `pvpython` in a Mac, having such issue?
