pyenv('Version', '/Users/username/.pyenv/versions/3.8.10/bin/python', 'ExecutionMode', 'OutOfProcess'); pyenv ans = PythonEnvironment with properties: Version: "3.8" Executable: "/Users/aliaaafify/.pyenv/versions/3.8.10/bin/python" Library: "/Users/aliaaafify/.pyenv/versions/3.8.10/lib/libpython3.8.dylib" Home: "/Users/aliaaafify/.pyenv/versions/3.8.10" Status: NotLoaded ExecutionMode: OutOfProcess I tried everything but nothing workout, if someone had this issue before and solve it, could you share your solution? pyenv('Version', '/Users/username/.pyenv/versions/3.8.10/bin/python', 'ExecutionMode', 'OutOfProcess'); pyenv PythonEnvironment with properties: Version: "3.8" Executable: "/Users/aliaaafify/.pyenv/versions/3.8.10/bin/python" Library: "/Users/aliaaafify/.pyenv/versions/3.8.10/lib/libpython3.8.dylib" Home: "/Users/aliaaafify/.pyenv/versions/3.8.10" Status: NotLoaded ExecutionMode: OutOfProcess py.importlib.import_module('sys') Unable to resolve the name py.importlib.import_module. Continue reading...