Unable to load py3 dlls/methods on v2021

Hi, using the environment variable RV_PYTHON3 to switch to python3, the right version of python loads up, but does not seem to be loading required methods or DLLs. Can you please suggest if I’m missing something? Im sharing error log for your reference. Thank you.

Regards,
Tharun

C:\Users\tharuns>set RV_PYTHON3=1
C:\Users\tharuns>“C:\Program Files\ShotGrid\RV-2021.1.0\bin\rv”
C:\Users\tharuns>INFO: Using ‘C:\Users\tharuns’ for $HOME.
C:\Program Files\ShotGrid\RV-2021.1.0\bin\rv
Version 2021.1.0, built on Jun 19 2021 at 01:26:33 (HEAD=cd9559af5). (L)
Copyright (c) 2021 Autodesk, Inc. All rights reserved.
WARNING: missing doc directory in bundle
WARNING: missing html directory in bundle

3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)]
[‘doc’, ‘loader’, ‘name’, ‘package’, ‘spec’, ‘bind’, ‘bindRegex’, ‘data’,
‘defineModeMenu’, ‘insertCreatePixelBlock’, ‘javascriptExport’, ‘popupMenu’, ‘popupMenuAtPoint’, ‘readSettings’, ‘sessionBottomToolBar’, ‘sessionGLView’, ‘sessionTopToolBar’, ‘sessionWindow’, ‘writeSettings’]

Traceback (most recent call last):
File “C:\Users\tharuns\AppData\Roaming\RV\Python\bot_rv_customization.py”, line 34, in createMode
return BotStuff()
File “C:\Users\tharuns\AppData\Roaming\RV\Python\bot_rv_customization.py”, line 19, in init
[(“BOTVFX”, [(“TEST”, self.test, “”, None)]) ],
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\rv\rvtypes.py”, line 141, in init
rv.commands.defineMinorMode(name, sortKey, ordering)
AttributeError: module ‘rv.commands’ has no attribute ‘defineMinorMode’
+++ calling local bbase \192.168.0.241\Scripts\bot_pipeline\bbase
Traceback (most recent call last):
File “C:\Users\tharuns\AppData\Roaming\RV\Python\update.py”, line 55, in createMode
return Update()
File “C:\Users\tharuns\AppData\Roaming\RV\Python\update.py”, line 22, in init
[ (“Update”, self.updateData, “”, None)
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\rv\rvtypes.py”, line 141, in init
rv.commands.defineMinorMode(name, sortKey, ordering)
AttributeError: module ‘rv.commands’ has no attribute ‘defineMinorMode’
Traceback (most recent call last):
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\source_setup.py”, line 565, in createMode
return SourceSetupMode()
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\source_setup.py”, line 559, in init
0,
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\rv\rvtypes.py”, line 141, in init
rv.commands.defineMinorMode(name, sortKey, ordering)
AttributeError: module ‘rv.commands’ has no attribute ‘defineMinorMode’
Traceback (most recent call last):
File “C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature_.py”, line 142, in import
return original_import(name, *args, **kwargs)
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\saml2_sso.py”, line 38, in
import rv.qtutils as rvqt
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import
return original_import(name, *args, **kwargs)
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\rv\qtutils.py”, line 6, in
from PySide2 import QtGui, QtWidgets
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import
return original_import(name, *args, **kwargs)
ImportError: DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import
return original_import(name, *args, **kwargs)
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\sgtk_bootstrap.py”, line 23, in
from PySide2 import QtCore, QtGui
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import
return original_import(name, *args, **kwargs)
ImportError: DLL load failed: The specified procedure could not be found.
Traceback (most recent call last):
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import
return original_import(name, *args, **kwargs)
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\live_review_inactive_helper.py”, line 12, in
from rv.commands import NeutralMenuState
ImportError: cannot import name ‘NeutralMenuState’ from ‘rv.commands’ (unknown location)
Traceback (most recent call last):
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import
return original_import(name, *args, **kwargs)
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\live_review.py”, line 11, in
from rv import commands, extra_commands, rvtypes, runtime, qtutils
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import
return original_import(name, *args, **kwargs)
File “C:\Program Files\ShotGrid\RV-2021.1.0\plugins\Python\rv\runtime.py”, line 14, in
from PySide2.QtWebEngineWidgets import QWebEngineProfile
File "C:\Users\tharuns\AppData\Roaming\Python\Python37\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in _import
return original_import(name, *args, **kwargs)
ImportError: DLL load failed: The specified procedure could not be found.
ERROR: python module saml2_sso could not be imported
INFO: loaded ShotGrid config module ‘shotgrid_fields_config_standard’ (C:/Program Files/ShotGrid/RV-2021.1.0/plugins/Mu/shotgrid_fields_config_standard.mu)
ERROR: python module sgtk_bootstrap could not be imported
ERROR: python module live_review_inactive_helper could not be imported
ERROR: python module live_review could not be imported

noticed a system based pythonpath was overriding RVs pythonpath. Removing it resolved the issue.