How to correct Path in Python

Hello,

On my windows 11 PC, I installed an official application using Delphy language. It modified the path and environment variables. I had problem with “encodings” : Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named ‘encodings’

I Uninstalled this application, and Python, in order to solve the problem, hoping that this will modify path and env variables.

But it didn’t work, and the path is : sys.path = [
‘C:\Users\guytr\AppData\Roaming\SoftOrbits\Py’,
‘C:\Users\guytr\AppData\Roaming\SoftOrbits\Py\DLLs’,
‘C:\Users\guytr\AppData\Roaming\SoftOrbits\Py\Lib’]

PYTHONHOME = ‘C:\Users\guytr\AppData\Roaming\SoftOrbits\Py’
PYTHONPATH = ‘C:\Users\guytr\AppData\Roaming\SoftOrbits\Py’

Many variables looks like : sys.base_prefix = ‘C:\\Users\\guytr\\AppData\\Roaming\\SoftOrbits\\Py’

I would need help to correct Paths and variables.

I don’t know what they should contain.

I’m pretty sure you can just delete those two env vars (press the windows key, search for “env”, click on edit the environment variables)

Presumably the original application or its author was SoftOrbits? If you uninstalled it, the app doesn’t need them any more, and neither should anything else.