Jedi by default seems to require the python executable to owned by the root user for safety reasons. It appears without setting the safe parameter in create_environment to False, you will be unable to use a virtual environment for your projects.
The relevant line is
|
environment = jedi.create_environment(environmentPath) |
CoatiSoftware/Sourcetrail/issues/697