# Failing to properly connect prman plugin

**URL:** <https://forum.aousd.org/t/failing-to-properly-connect-prman-plugin/1176>\
**Category:** Build and Deployment\
**Tags:** rendering, python, beginner\
**Created:** [January 26, 2024, 10:19pm UTC](https://forum.aousd.org/t/failing-to-properly-connect-prman-plugin/1176 "2024-01-26T22:19:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaigg](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@kaigg](https://forum.aousd.org/u/kaigg)\
**Post date:** [January 26, 2024, 10:19pm UTC](https://forum.aousd.org/t/failing-to-properly-connect-prman-plugin/1176/1 "2024-01-26T22:19:39Z")

</div>

I’m attempting to build USD with Prman and it’s successfully building, but when I attempt to open the viewer using Prman renderer it fails to connect.

My system:  
Windows 10  
OpenUSD v23.08  
Python 3.9.13  
Prman 25.2

I’ve setup RMANTREE env variable to the correct location, and paths to RenderManProServer-25.2\bin, but it’s still not being recognized for some reason.

Here’s my build call (finishes without errors), run fromx64 Native Command Prompt 2017 :

> python %USD\_REPO\_DIR%\build\_scripts\build\_usd.py --build-monolithic --no-examples --no-tests --no-docs --no-python-docs --debug-python --ptex --openvdb --embree --prman --prman-location “C:\Program Files\Pixar\RenderManProServer-25.2” --openimageio --alembic --hdf5 --no-draco --materialx %USD\_BUILD\_ROOT%

Here’s the error log from usdview. The view panel stays black, while this prints to the terminal:

> PS path\to\USD-Render\> usdview --renderer Prman .\test\_scene.usda  
> Warning: in Load at line 112 of path\to\USD\OpenUSD\pxr\imaging\plugin\hdPrmanLoader\rendererPlugin.cpp – Could not load versioned hdPrman backend: The specified module could not be found.
> 
> ERROR: Usdview encountered an error while updating selection.  
> Error in ‘pxrInternal\_v0\_23\_\_pxrReserved\_\_::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’  
> Error in ‘pxrInternal\_v0\_23\_\_pxrReserved\_\_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’  
> Traceback (most recent call last):  
> File “path\to\USD\usd\_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL  
> renderer = self._getRenderer()  
> File “path\to\USD\usd\_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer  
> self.renderer = UsdImagingGL.Engine()  
> pxr.Tf.ErrorException:  
> Error in 'pxrInternal\_v0\_23\_\_pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’  
> Error in 'pxrInternal\_v0\_23\_\_pxrReserved_\_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’  
> Traceback (most recent call last):  
> File “path\to\USD\usd\_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL  
> renderer = self._getRenderer()  
> File “path\to\USD\usd\_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer  
> self.renderer = UsdImagingGL.Engine()  
> pxr.Tf.ErrorException:  
> Error in 'pxrInternal\_v0\_23\_\_pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’  
> Error in 'pxrInternal\_v0\_23\_\_pxrReserved_\_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’  
> Traceback (most recent call last):  
> File “path\to\USD\usd\_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL  
> renderer = self._getRenderer()  
> File “path\to\USD\usd\_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer  
> self.renderer = UsdImagingGL.Engine()  
> pxr.Tf.ErrorException:  
> Error in 'pxrInternal\_v0\_23\_\_pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’  
> Error in 'pxrInternal\_v0\_23\_\_pxrReserved_\_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’
