File .deepsource.toml
not found in the default branch of the repository root. Please refer to the docs.
9sp_path = [s for s in sys.path if "site-package" in s][0]
10sys.path.insert(0, sp_path)
11del sys.modules["lotus"]
12import lotus13
14sys.modules["lotus_python"] = lotus
15import lotus_python
A module or an import name is reimported multiple times. This can be confusing and should be fixed. Please refer to the occurrence message to see the reimported name and the line number where it was imported for the first time.
import os
from os import path
from sys import path
import os
Here, the import name path
from the module os
has been imported twice.
import os
from os import path