# pvpython question

**URL:** https://discourse.paraview.org/t/pvpython-question/8951
**Category:** ParaView Support
**Tags:** python
**Created:** [February 10, 2022, 1:19pm UTC](https://discourse.paraview.org/t/pvpython-question/8951 "2022-02-10T13:19:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![callista](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@callista](https://discourse.paraview.org/u/callista)
#### Post date: [February 10, 2022, 1:19pm UTC](https://discourse.paraview.org/t/pvpython-question/8951/1 "2022-02-10T13:19:41Z")

</div>

Hello,  
I am trying to generalize some paraview script and I got this error. Does this mean  
that pvpython does not recognize my config file, is it possible at all to make something like this meaning to combine pvpython with some configuration files and so on?

> Blockqu  
> [aaaaaa@master bin]$ ./pvpython /home/aaaaaaa/interpolation/paraview/scripts/paraview\_general.py -c config.yaml  
> Traceback (most recent call last):  
> File “/home/aaaaaaa/interpolation/paraview/scripts/paraview\_general.py”, line 7, in   
> import yaml  
> ModuleNotFoundError: No module named ‘yaml’

Thank you.

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [February 11, 2022, 8:28am UTC](https://discourse.paraview.org/t/pvpython-question/8951/2 "2022-02-11T08:28:16Z")

</div>

It may work if you copy the PyYAML directory in the Python installed on your system into the Python library in ParaView.

> (System Python installation directory)/Lib/site-packages/yaml  
> →   
> (ParaView installation directory)/lib/python3.9/site-packages

If possible, it would be better to make the Python version the same as the Python version of ParaView.

---

<div class="post-metadata">

### Author: ![callista](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@callista](https://discourse.paraview.org/u/callista)
#### Post date: [February 11, 2022, 9:55am UTC](https://discourse.paraview.org/t/pvpython-question/8951/3 "2022-02-11T09:55:05Z")

</div>

Hello,  
Thank you for the suggestion, I’ll try to proceed with that.
