You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running sk it activates the virtual env for surfkit but that can cause the agent to be missing packages since they are in the agent's venv
This could maybe be fixed by adding the site packages to the sys.path like:
importsysimportsiteimportos# Path to the first virtual environmentvenv1_path="/path/to/first/venv"# Path to the second virtual environmentvenv2_path="/path/to/second/venv"# Add the site-packages of the first virtual environmentsite.addsitedir(os.path.join(venv1_path, "lib/pythonX.X/site-packages"))
# Add the site-packages of the second virtual environmentsite.addsitedir(os.path.join(venv2_path, "lib/pythonX.X/site-packages"))
The text was updated successfully, but these errors were encountered:
When running
sk
it activates the virtual env forsurfkit
but that can cause the agent to be missing packages since they are in the agent'svenv
This could maybe be fixed by adding the site packages to the sys.path like:
The text was updated successfully, but these errors were encountered: