quick-flag-69355
01/10/2024, 10:16 PM--debug-adapter
flag set. If I run without that then the script fails (with no error, even if I set --print-stacktrace -ldebug
) on the line import open_clip
. I guess its due to something weird that this library is doing but the fact that it works in debug mode is really screwing with me. Has anyone else encountered anything like this before?silly-queen-7197
01/10/2024, 10:37 PMdebug.pex
contains all of your resolve. When running with debug-adapter you might be importing a library that's not included otherwise.
Is it possible open_clip
(or some other library) depends on something you need to manually set?happy-kitchen-89482
01/11/2024, 2:48 PMhappy-kitchen-89482
01/11/2024, 2:49 PMhappy-kitchen-89482
01/11/2024, 3:39 PMpants dependencies --from=path/to/main.py --to=3rdparty/python#open_clip
or whatever the open_clip target isquick-flag-69355
01/11/2024, 9:43 PMhappy-kitchen-89482
01/11/2024, 10:56 PM